From ca238bd91984279a65cba2227cbef5ff1ceae5f1 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 2 Dec 2024 23:35:15 -0500 Subject: [PATCH] added icons to posts page --- frontend/routes/posts/index.tsx | 45 +++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/frontend/routes/posts/index.tsx b/frontend/routes/posts/index.tsx index a9a3e83..ee2d345 100644 --- a/frontend/routes/posts/index.tsx +++ b/frontend/routes/posts/index.tsx @@ -2,6 +2,7 @@ import { PostCarousel } from "../../components/PostCarousel.tsx"; import { Handlers, PageProps } from "$fresh/server.ts"; import { Post } from "../../components/PostCard.tsx"; +import * as hi from "jsr:@preact-icons/hi2"; interface PageData { featuredPosts: Post[]; @@ -45,37 +46,49 @@ export default function PostPage({ data }: PageProps) {

Blog

-

- Featured Posts -

-
+
+ +

+ Featured Posts +

+
+
Ignite the impossible
-

- Recent Posts -

-
+
+ +

+ Recent Posts +

+
+
Now with 100% fresh perspective
-

- Hot Posts -

-
+
+ +

+ Hot Posts +

+
+
Making chaos look cool since forever
-

- Popular Posts -

-
+
+ +

+ Popular Posts +

+
+
Content may cause uncontrollable reading