diff --git a/src/app/cases/page.tsx b/src/app/cases/page.tsx index 8a9414c..2a20f35 100644 --- a/src/app/cases/page.tsx +++ b/src/app/cases/page.tsx @@ -1,5 +1,18 @@ -import Cases from "$components/cases"; +import Link from "next/link"; +import { getCases } from "$lib/content"; -const CasesPage = () => +const CasesPage = () => +
+ {getCases().filter(c => !c.data.draft).sort((a, b) => Number(b.data.z) - Number(a.data.z)).map((c) => c.data).map((d) => +
+
+ + {d.title} + {d.date} + +
+
+ )} +
export default CasesPage diff --git a/src/app/components/cases.tsx b/src/app/components/cases.tsx deleted file mode 100644 index 94227ca..0000000 --- a/src/app/components/cases.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import Link from "next/link"; -import { getCases } from "$lib/content"; - -const Cases = () => -
- {getCases().filter(c => !c.data.draft).sort((a, b) => Number(b.data.z) - Number(a.data.z)).map((c) => c.data).map((d) => -
-
- - {d.title} - {d.date} - -
-
- )} -
-export default Cases; diff --git a/src/app/components/links.tsx b/src/app/components/links.tsx deleted file mode 100644 index 08f69fa..0000000 --- a/src/app/components/links.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { faGithub, faGitlab } from "@fortawesome/free-brands-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import Link from "next/link"; - -const Links = () => -
-
- - - - - - -
-
- -export default Links diff --git a/src/app/page.tsx b/src/app/page.tsx index 5fa9fb6..e1b965a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,5 +1,17 @@ -import Links from "$components/links"; +import { faGithub, faGitlab } from "@fortawesome/free-brands-svg-icons"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import Link from "next/link"; -const Home = () => +const Home = () => +
+
+ + + + + + +
+
export default Home;