-
+
{extraButton}
-
diff --git a/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/layout.tsx b/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/layout.tsx
index 517c871..ef73ecb 100644
--- a/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/layout.tsx
+++ b/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/layout.tsx
@@ -29,7 +29,7 @@ export default async function Post(props: {
}
return (
-
+
}) {
return (
<>
+
+ {/*
}) {
/>
))}
+ */}
+
+ {params.postAuthor === "syui.ai" && (post.title.includes("live") || post.title.includes("video")) && (
+
+
+
+
+
+ {comments.map((comment) => (
+
+ ))}
+
+
+ )}
+
+ {post.status === "live" ? (
+
+ ) : (
+
+ This post has been deleted
+
+ Deleted posts cannot receive new comments.
+
+
+ )}
+
+ {comments.map((comment) => (
+
+ ))}
+
+
+
>
);
}
diff --git a/packages/frontpage/app/(auth)/login/page.tsx b/packages/frontpage/app/(auth)/login/page.tsx
index e3165f9..4d661ce 100644
--- a/packages/frontpage/app/(auth)/login/page.tsx
+++ b/packages/frontpage/app/(auth)/login/page.tsx
@@ -14,17 +14,15 @@ export default async function LoginPage() {
- Sign in to Frontpage
+ Login with atproto
- Don't have an account?{" "}
- Sign up on Bluesky
-
- , then return here to login.
+ Bluesky
+ oauth login
diff --git a/packages/frontpage/app/globals.css b/packages/frontpage/app/globals.css
index 9abc86b..464377c 100644
--- a/packages/frontpage/app/globals.css
+++ b/packages/frontpage/app/globals.css
@@ -13,8 +13,12 @@
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
+ /*
--primary: 222.2 47.4% 11.2%;
- --primary-foreground: 210 40% 98%;
+ --primary-foreground: 210 40% 98%; */
+
+ --primary: 210 100% 50%; /* HSLカラーで青色を定義 */
+ --primary-foreground: 0 0% 100%; /* 白色のテキスト */
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
@@ -67,8 +71,12 @@
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
- --primary: 210 40% 98%;
- --primary-foreground: 222.2 47.4% 11.2%;
+ /*--primary: 210 40% 98%;
+ *--primary-foreground: 222.2 47.4% 11.2%;*/
+
+ /* ダークモード用に少し明るい青 */
+ --primary: 210 100% 60%;
+ --primary-foreground: 0 0% 100%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
@@ -89,3 +97,7 @@
--input: 217.2 32.6% 17.5%;
--ring: 215.4 16.3% 46.9%;
}
diff --git a/packages/frontpage/app/layout.tsx b/packages/frontpage/app/layout.tsx
index e8b5a39..a9fa945 100644
--- a/packages/frontpage/app/layout.tsx
+++ b/packages/frontpage/app/layout.tsx
@@ -22,13 +22,13 @@ const sourceSans = Source_Sans_3({
});
export const metadata: Metadata = {
- title: "Frontpage",
+ title: "o.syui.ai",
description: "A federated link aggregator. Your frontpage to the internet.",
openGraph: {
title: "Frontpage",
description: "Your frontpage to the internet.",
type: "website",
- siteName: "frontpage.fyi",
+ siteName: "o.syui.ai",
},
};
@@ -53,11 +53,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
-
+ {/* */}