diff --git a/src/app/components/cases.tsx b/src/app/components/cases.tsx index c99909a..ad72a4b 100644 --- a/src/app/components/cases.tsx +++ b/src/app/components/cases.tsx @@ -2,13 +2,15 @@ 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} - +
+ + {d.title} + {d.date} + +
)}
diff --git a/src/app/components/links.tsx b/src/app/components/links.tsx index c3834d4..a34344f 100644 --- a/src/app/components/links.tsx +++ b/src/app/components/links.tsx @@ -6,10 +6,10 @@ const Links = () =>
- + - +
diff --git a/src/app/components/navbar.tsx b/src/app/components/navbar.tsx index 247c5d9..822cd42 100644 --- a/src/app/components/navbar.tsx +++ b/src/app/components/navbar.tsx @@ -6,8 +6,10 @@ const Navbar = () => { const path = usePathname() const link = (text: string, href: string) => { return ( - - {text} + +
+ {text} +
) } diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index bfd3c70..b78fca9 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -6,7 +6,7 @@ const mailto = `mailto:${email}` const Contact = () =>
- +
diff --git a/src/app/globals.css b/src/app/globals.css index ceb3c52..355d937 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -2,22 +2,23 @@ @tailwind components; @tailwind utilities; +@layer components { + .btn { + @apply bg-gray-900 transition ease-in duration-200 text-gray-300 hover:bg-gray-700/60 rounded-md px-3 py-2 text-sm + } +} + +@layer utilities { + .gradient { + @apply bg-gradient-to-br from-slate-950 via-red-700 to-yellow-400 + } +} + body { - @apply bg-slate-950 text-slate-50 w-screen h-screen + @apply gradient text-slate-50 w-screen h-screen } main { - @apply flex flex-col w-full h-full + @apply flex flex-col w-full h-full bg-slate-950/95 } -svg { - @apply hover:text-cyan-500 -} - -.svg-link { - @apply w-14 h-14 -} - -.btn { - @apply bg-gray-900 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium data-[selected=true]:bg-gray-600 -}