diff --git a/packages/frontpage/app/(app)/layout.tsx b/packages/frontpage/app/(app)/layout.tsx index 232502d..8340a9f 100644 --- a/packages/frontpage/app/(app)/layout.tsx +++ b/packages/frontpage/app/(app)/layout.tsx @@ -31,7 +31,8 @@ export default async function Layout({ }) { const session = await getSession(); return ( -
+
+ {/*
*/}
{/* eslint-disable-next-line @next/next/no-img-element */} @@ -52,6 +53,8 @@ export default async function Layout({
{children}
+ + {/*

Made by{" "} @@ -59,10 +62,11 @@ export default async function Layout({ href={`https://bsky.app/profile/${FRONTPAGE_ATPROTO_HANDLE}`} className="font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300" > - @frontpage.fyi + @o.syui.ai

+ */}
); } @@ -141,8 +145,8 @@ async function LoginOrLogout() { } return ( - ); } diff --git a/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/_lib/comment-client.tsx b/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/_lib/comment-client.tsx index 71dd664..46ab83a 100644 --- a/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/_lib/comment-client.tsx +++ b/packages/frontpage/app/(app)/post/[postAuthor]/[postRkey]/_lib/comment-client.tsx @@ -283,16 +283,16 @@ export function NewComment({ ref={textAreaRef} placeholder="Write a comment..." disabled={isPending} - className="resize-y flex-1" + className="" />
-
+
{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 }) { -