diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx index 166a1d38..a0fc2a86 100644 --- a/frontend/src/pages/Home.tsx +++ b/frontend/src/pages/Home.tsx @@ -1,9 +1,9 @@ import { Link } from "react-router-dom"; -const Home = () => { +function Home() { return (
-
+

Welcome to Style Share

@@ -14,12 +14,13 @@ const Home = () => { Explore

+ {/*
*/}
- {/* Code */} + Code
); -}; +} export default Home; diff --git a/frontend/src/pages/Posts.tsx b/frontend/src/pages/Posts.tsx index a2ea6335..42136c1a 100644 --- a/frontend/src/pages/Posts.tsx +++ b/frontend/src/pages/Posts.tsx @@ -129,7 +129,7 @@ const Posts = () => {
{filteredPosts.map((post) => ( -
+

{post.title}

{post.description.length > 100 ? `${post.description.slice(0, 100)}...` : post.description}

By: {post.author.username}