From 6fd7c9fc4add8baae680fae9a28302484bc40348 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Wed, 7 May 2025 12:51:02 -0400 Subject: [PATCH] clean up /projects styles --- app/projects/page.tsx | 56 ++++++++++++++------------------ components/activity-calendar.tsx | 2 +- components/layout/skip-nav.tsx | 2 +- components/ui/button.tsx | 2 +- components/ui/input.tsx | 2 +- components/ui/textarea.tsx | 2 +- components/ui/tooltip.tsx | 4 +-- 7 files changed, 31 insertions(+), 39 deletions(-) diff --git a/app/projects/page.tsx b/app/projects/page.tsx index aa46d1bc..0bd6fd0a 100644 --- a/app/projects/page.tsx +++ b/app/projects/page.tsx @@ -57,20 +57,20 @@ const Page = async () => {
{repos?.map((repo) => ( -
- +
+ {repo!.name} - {repo!.description &&

{repo!.description}

} + {repo!.description &&

{repo!.description}

} -
+
{repo!.primaryLanguage && ( -
+
{repo!.primaryLanguage.color && ( )} {repo!.primaryLanguage.name} @@ -78,36 +78,28 @@ const Page = async () => { )} {repo!.stargazerCount > 0 && ( -
- - - {Intl.NumberFormat(env.NEXT_PUBLIC_SITE_LOCALE).format(repo!.stargazerCount)} - -
+ + + {Intl.NumberFormat(env.NEXT_PUBLIC_SITE_LOCALE).format(repo!.stargazerCount)} + )} {repo!.forkCount > 0 && ( -
- - - {Intl.NumberFormat(env.NEXT_PUBLIC_SITE_LOCALE).format(repo!.forkCount)} - -
+ + + {Intl.NumberFormat(env.NEXT_PUBLIC_SITE_LOCALE).format(repo!.forkCount)} + )} -
- +
Updated diff --git a/components/activity-calendar.tsx b/components/activity-calendar.tsx index f6798e67..3605a07c 100644 --- a/components/activity-calendar.tsx +++ b/components/activity-calendar.tsx @@ -48,7 +48,7 @@ const Calendar = ({ {block} - {`${activity.count === 0 ? "No" : activity.count} ${noun}${activity.count === 1 ? "" : "s"} on ${format(activity.date, "MMMM do")}`} + {`${activity.count === 0 ? "No" : activity.count} ${noun}${activity.count === 1 ? "" : "s"} on ${format(activity.date, "MMMM do")}`} )} diff --git a/components/layout/skip-nav.tsx b/components/layout/skip-nav.tsx index 9408a86b..d3fed507 100644 --- a/components/layout/skip-nav.tsx +++ b/components/layout/skip-nav.tsx @@ -6,7 +6,7 @@ export const SkipNavLink = () => { return (