-
-
+
-
- +
@@ -46,20 +34,7 @@ export default function Layout({ Component, url }: PageProps) {
class={currentPath.startsWith("/posts") ? "menu-active" : ""}
>
-
+
@@ -69,20 +44,7 @@ export default function Layout({ Component, url }: PageProps) {
class={currentPath.startsWith("/projects") ? "menu-active" : ""}
>
-
+
diff --git a/routes/index.tsx b/routes/index.tsx
index e8b7cd9..4372a74 100644
--- a/routes/index.tsx
+++ b/routes/index.tsx
@@ -1,4 +1,5 @@
import SocialLinks from "../components/SocialLinks.tsx";
+import TechLinks from "../components/TechLinks.tsx";
export default function Home() {
return (
@@ -14,7 +15,13 @@ export default function Home() {
Atridad Lahiji
+ Places I Exist:
+Stuff I Use:
+ +
+
+ >
+ );
+}
diff --git a/routes/posts.tsx b/routes/posts.tsx
index 856aa9c..1c107fc 100644
--- a/routes/posts.tsx
+++ b/routes/posts.tsx
@@ -1,6 +1,24 @@
-// import { useSignal } from "@preact/signals";
-// import Counter from "../islands/Counter.tsx";
+import { Handlers, PageProps } from "$fresh/server.ts";
+import { getPosts, Post } from "../lib/posts.ts";
+import PostCard from "../components/PostCard.tsx";
-export default function Home() {
- return
+
+
+ {/* Header section */}
+
+ + {post.title} +
+ +
+ {/* Date with clock icon */}
+
+
+ {/* Divider line */}
+
+
+ {/* Content section */}
+
+
+
+
+
+
+ {/* Back button */}
+
+
+ Back
+
+ Posts Page
; +export const handler: Handlers
+
+ );
}
diff --git a/routes/projects.tsx b/routes/projects.tsx
index df14dc7..54ad610 100644
--- a/routes/projects.tsx
+++ b/routes/projects.tsx
@@ -1,6 +1,3 @@
-// import { useSignal } from "@preact/signals";
-// import Counter from "../islands/Counter.tsx";
-
-export default function Home() {
+export default function Projects() {
return + Posts +
+
+ {posts.map((post) => )}
+
+