From ec8243ec0306516f70ab9a1f0bfd899c904dea47 Mon Sep 17 00:00:00 2001 From: Elifnurdeniz Date: Mon, 25 Nov 2024 17:03:32 +0300 Subject: [PATCH] feat(frontend): last touches --- frontend/src/components/auth/login.tsx | 3 ++- frontend/src/components/auth/register.tsx | 2 ++ frontend/src/components/post/post-card.tsx | 2 +- frontend/src/components/quiz/quiz-card.tsx | 4 ++-- frontend/src/pages/home.tsx | 4 ++-- frontend/src/pages/post.tsx | 3 +-- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/auth/login.tsx b/frontend/src/components/auth/login.tsx index 0533eddf..9dc0ab96 100644 --- a/frontend/src/components/auth/login.tsx +++ b/frontend/src/components/auth/login.tsx @@ -65,6 +65,7 @@ export default function Login({ setUsername(e.target.value)} @@ -118,7 +119,7 @@ export default function Login({
- Need to create an account? + Need to create an account?
-

+

{title}

diff --git a/frontend/src/components/quiz/quiz-card.tsx b/frontend/src/components/quiz/quiz-card.tsx index 358f4d20..65b454a2 100644 --- a/frontend/src/components/quiz/quiz-card.tsx +++ b/frontend/src/components/quiz/quiz-card.tsx @@ -111,8 +111,8 @@ export default function PostCard({
-

- +

+ {title}

diff --git a/frontend/src/pages/home.tsx b/frontend/src/pages/home.tsx index 702792df..8f83a685 100644 --- a/frontend/src/pages/home.tsx +++ b/frontend/src/pages/home.tsx @@ -11,7 +11,7 @@ export default function Home() { usePageTitle(isRegister ? "Register" : "Login"); return ( -
+
{/* Logo Section */}
@@ -23,7 +23,7 @@ export default function Home() {
{/* Auth Section */} -
+
{isRegister ? ( diff --git a/frontend/src/pages/post.tsx b/frontend/src/pages/post.tsx index f56aec26..61da19d9 100644 --- a/frontend/src/pages/post.tsx +++ b/frontend/src/pages/post.tsx @@ -93,7 +93,7 @@ export default function Post() { }); }; return ( -
+
{isLoading ? ( @@ -147,7 +147,6 @@ export default function Post() { .fill(0) .map((_, index) => ) : comments.map((comment) => ( - console.log(comment), }>