From 9bfed65f40f1719445711b6d36f4958a41f0024b Mon Sep 17 00:00:00 2001 From: Alvalen Date: Fri, 18 Jul 2025 05:23:06 +0700 Subject: [PATCH] feat: add redirect archive to project detail --- app/projects/archive/page.jsx | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/app/projects/archive/page.jsx b/app/projects/archive/page.jsx index 3e889be..3cbe685 100644 --- a/app/projects/archive/page.jsx +++ b/app/projects/archive/page.jsx @@ -1,4 +1,4 @@ -"use client" +"use client"; import { motion } from "framer-motion"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; @@ -6,18 +6,16 @@ import { faGithub } from "@fortawesome/free-brands-svg-icons"; import { faArrowUpRightFromSquare } from "@fortawesome/free-solid-svg-icons"; import FixedButon from "@/components/FixedButton"; import { faChevronLeft } from "@fortawesome/free-solid-svg-icons"; -import Projects from "@/json/data.json" +import Projects from "@/json/data.json"; +import Link from "next/link"; -export default function Page () { - const projects = Projects.Projects - return ( +export default function Page() { + const projects = Projects.Projects; + return ( <>
- +
@@ -87,16 +85,16 @@ export default function Page () { key={index} className="hover:shadow-md transition-all ease duration-500"> {project.year} - {project.title} - {project.tech.map((t) => `${t}, `)} + + {project.title} + + {project.tech.map((t) => `${t}, `)}
{project.code && ( - + @@ -125,5 +121,5 @@ export default function Page () {
- ); -} \ No newline at end of file + ); +}