From 84702aeab1b131847e3ac0c4893813d594a8296f Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Tue, 8 Apr 2025 19:52:54 -0400 Subject: [PATCH] remove css reset as a dependency --- .../Header/selfie.jpg => app/avatar.jpg | Bin app/contact/form.tsx | 2 +- app/contact/page.tsx | 1 - app/global.css | 64 +++ app/layout.module.css | 1 - app/layout.tsx | 2 +- app/manifest.ts | 2 - app/notes/[slug]/opengraph-image.tsx | 1 - app/notes/[slug]/page.module.css | 2 +- app/notes/page.module.css | 2 +- app/notes/page.tsx | 2 +- app/page.module.css | 16 +- app/page.tsx | 9 +- app/previously/page.mdx | 2 +- app/robots.ts | 2 - app/sitemap.ts | 2 - app/zip/page.tsx | 1 - components/Header/Header.module.css | 14 +- components/Header/Header.tsx | 8 +- components/Menu/Menu.module.css | 6 +- components/Menu/Menu.tsx | 4 +- lib/config/constants.ts | 2 +- package.json | 9 +- pnpm-lock.yaml | 397 +++++++++--------- 24 files changed, 297 insertions(+), 254 deletions(-) rename components/Header/selfie.jpg => app/avatar.jpg (100%) create mode 100644 app/global.css diff --git a/components/Header/selfie.jpg b/app/avatar.jpg similarity index 100% rename from components/Header/selfie.jpg rename to app/avatar.jpg diff --git a/app/contact/form.tsx b/app/contact/form.tsx index 7329656e..fb6bd9e2 100644 --- a/app/contact/form.tsx +++ b/app/contact/form.tsx @@ -100,7 +100,7 @@ const ContactForm = () => { links - ](https://jarv.is), and `code`. + ](https://jarv.is), and `code`.
diff --git a/app/contact/page.tsx b/app/contact/page.tsx index d04ec94b..1983279c 100644 --- a/app/contact/page.tsx +++ b/app/contact/page.tsx @@ -32,7 +32,6 @@ const Page = () => { { return { name: config.siteName, diff --git a/app/notes/[slug]/opengraph-image.tsx b/app/notes/[slug]/opengraph-image.tsx index 690335fc..07f8540e 100644 --- a/app/notes/[slug]/opengraph-image.tsx +++ b/app/notes/[slug]/opengraph-image.tsx @@ -14,7 +14,6 @@ export const size = { }; // generate and cache these images at build-time for each slug, since doing this on-demand is mega slow... -export const dynamic = "force-static"; export const dynamicParams = false; export const generateStaticParams = async () => { diff --git a/app/notes/[slug]/page.module.css b/app/notes/[slug]/page.module.css index 51d79303..6a4e1d04 100644 --- a/app/notes/[slug]/page.module.css +++ b/app/notes/[slug]/page.module.css @@ -20,7 +20,7 @@ display: inline-block; width: 1.2em; height: 1.2em; - vertical-align: -0.25em; + vertical-align: -0.225em; margin-right: 0.6em; } diff --git a/app/notes/page.module.css b/app/notes/page.module.css index 934bd04c..6b7270dc 100644 --- a/app/notes/page.module.css +++ b/app/notes/page.module.css @@ -35,7 +35,7 @@ margin-bottom: 0; } -.postDate { +.date { width: 5.25em; flex-shrink: 0; color: var(--colors-medium); diff --git a/app/notes/page.tsx b/app/notes/page.tsx index 7d19ae8c..c0ccac52 100644 --- a/app/notes/page.tsx +++ b/app/notes/page.tsx @@ -38,7 +38,7 @@ const Page = async () => {