diff --git a/app/in/page.tsx b/app/in/page.tsx index 81f1ef8..cd37483 100644 --- a/app/in/page.tsx +++ b/app/in/page.tsx @@ -19,10 +19,10 @@ const Page = async () => { const user = await checkUser(sess.user._id.toString()); const { posts } = (await req.json()) as responseJSON; return ( -
+
-
+ ); }; diff --git a/components/FileUpload/index.tsx b/components/FileUpload/index.tsx index c914fce..3eb9cd2 100644 --- a/components/FileUpload/index.tsx +++ b/components/FileUpload/index.tsx @@ -50,6 +50,7 @@ export default function FileUploader(props: { return ( void onImageFileChange} className="rounded-md bg-secondary-800 p-8 text-xl text-white shadow-inner shadow-secondary-500" /> diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 20f534b..d46a9fb 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -16,9 +16,11 @@ export const Header = ({ user }: { user?: UserID }) => { id="menu" className="top-0 flex w-full scale-y-100 flex-col items-center gap-2 bg-white p-2 shadow-2xl peer-checked:max-sm:hidden sm:flex-row sm:items-baseline" > - - WordBook - +

+ + WordBook + +

About @@ -30,7 +32,7 @@ export const Header = ({ user }: { user?: UserID }) => { {user ? (
-

{user.name}

+

{user.name}

{ d="M3.66 17.52A5 5 0 0 1 8 15h8a5 5 0 0 1 4.34 2.52 10 10 0 0 1-16.68 0zM12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8z" /> - +