From eab84bfee9f5dc492e0f9d5cd0886ad62edb0425 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Thu, 8 May 2025 10:07:40 -0400 Subject: [PATCH] correct some flex/grid spacings --- app/layout.tsx | 7 ++--- app/notes/[slug]/page.tsx | 10 +++---- app/notes/page.tsx | 4 +-- app/page.tsx | 6 ++-- app/previously/page.mdx | 7 ++++- app/projects/page.tsx | 10 +++---- components/activity-calendar.tsx | 2 +- components/code-block.tsx | 49 +++++++++++--------------------- components/heading-anchor.tsx | 2 +- components/layout/footer.tsx | 4 +-- components/layout/header.tsx | 2 +- components/layout/menu.tsx | 2 +- components/layout/skip-nav.tsx | 10 ++----- components/ui/tooltip.tsx | 4 +-- mdx-components.tsx | 26 +++++++++++------ next.config.ts | 9 ------ package.json | 10 ++----- pnpm-lock.yaml | 47 ++++++------------------------ renovate.json | 9 ++---- 19 files changed, 84 insertions(+), 136 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 5dc7a210..b21fdae7 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -4,7 +4,7 @@ import { Analytics } from "@vercel/analytics/next"; import { ThemeProvider, ThemeScript } from "@/components/layout/theme-context"; import Header from "@/components/layout/header"; import Footer from "@/components/layout/footer"; -import { SkipNavLink, SkipNavTarget } from "@/components/layout/skip-nav"; +import SkipNavButton, { SKIP_NAV_ID } from "@/components/layout/skip-nav"; import { defaultMetadata } from "@/lib/metadata"; import { GeistMono, GeistSans } from "@/lib/fonts"; import siteConfig from "@/lib/config/site"; @@ -64,13 +64,12 @@ const RootLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => { - +
-
- +
{children}
diff --git a/app/notes/[slug]/page.tsx b/app/notes/[slug]/page.tsx index 556022fc..d2d17e79 100644 --- a/app/notes/[slug]/page.tsx +++ b/app/notes/[slug]/page.tsx @@ -85,17 +85,17 @@ const Page = async ({ params }: { params: Promise<{ slug: string }> }) => { }} /> -
+