From dee931f3a872e08b23160deebbbd7ab407768ea9 Mon Sep 17 00:00:00 2001 From: Aidan Date: Sat, 23 Aug 2025 23:39:05 -0400 Subject: [PATCH] better padding, bump p-4 will now be the default for small screens (mobile devices), and p-8 for sm+ sized devices. this does not apply everywhere, like in the TopPick.tsx component --- app/about/page.tsx | 16 ++++++++-------- app/ai/components/AIStack.tsx | 8 ++++---- app/ai/components/FavoriteModels.tsx | 4 ++-- app/ai/components/ToolReviews.tsx | 4 ++-- app/ai/components/TopPick.tsx | 4 ++-- app/page.tsx | 8 ++++---- components/Header.tsx | 13 +++++++++---- components/widgets/NowPlaying.tsx | 4 ++-- package.json | 6 +++--- 9 files changed, 36 insertions(+), 31 deletions(-) diff --git a/app/about/page.tsx b/app/about/page.tsx index 05f223c..1414c4c 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -45,7 +45,7 @@ export default function About() { {mainStrings.map((section, index) => { if (mainSections[index] === t('about.sections.featuredProjects')) { return ( -
+

{mainSections[index]}

{section.map((text, index) => (

@@ -57,7 +57,7 @@ export default function About() { ) } else if (mainSections[index] === t('about.sections.contributions')) { return ( -

+

{mainSections[index]}

{section.map((text, index) => (

@@ -78,7 +78,7 @@ export default function About() { {!imageError && (

ihatenodejs's Stats ihatenodejs's Top Languages +

{mainSections[index]}

{Object.entries(section).map(([key, value], index) => (
@@ -160,7 +160,7 @@ export default function About() { ) } else if (mainSections[index] === t('about.sections.hobbies')) { return ( -
+

{mainSections[index]}

{section.map((text, index) => (

@@ -185,7 +185,7 @@ export default function About() { ) } else if (mainSections[index] === t('about.sections.projects')) { return ( -

+

{mainSections[index]}

{section.map((text, index) => (

@@ -213,7 +213,7 @@ export default function About() { ) } else { return ( -

+

{mainSections[index]}

{section.map((text, index) => (

diff --git a/app/ai/components/AIStack.tsx b/app/ai/components/AIStack.tsx index c24cd91..7bf51d5 100644 --- a/app/ai/components/AIStack.tsx +++ b/app/ai/components/AIStack.tsx @@ -8,7 +8,7 @@ interface AIStackProps { export default function AIStack({ tools }: AIStackProps) { const getStatusColor = (status: string) => { - switch(status) { + switch (status) { case 'primary': return 'text-green-400 border-green-400 bg-green-400/10' case 'active': return 'text-blue-400 border-blue-400 bg-blue-400/10' case 'occasional': return 'text-yellow-400 border-yellow-400 bg-yellow-400/10' @@ -17,7 +17,7 @@ export default function AIStack({ tools }: AIStackProps) { } const getStatusLabel = (status: string) => { - switch(status) { + switch (status) { case 'primary': return 'Primary' case 'active': return 'Active Use' case 'occasional': return 'Occasional Use' @@ -26,7 +26,7 @@ export default function AIStack({ tools }: AIStackProps) { } return ( -

+

My AI Stack @@ -70,4 +70,4 @@ export default function AIStack({ tools }: AIStackProps) {

) -} \ No newline at end of file +} diff --git a/app/ai/components/FavoriteModels.tsx b/app/ai/components/FavoriteModels.tsx index 9212d0d..12ea967 100644 --- a/app/ai/components/FavoriteModels.tsx +++ b/app/ai/components/FavoriteModels.tsx @@ -7,7 +7,7 @@ interface FavoriteModelsProps { export default function FavoriteModels({ models }: FavoriteModelsProps) { return ( -
+

Favorite Models @@ -36,4 +36,4 @@ export default function FavoriteModels({ models }: FavoriteModelsProps) {

) -} \ No newline at end of file +} diff --git a/app/ai/components/ToolReviews.tsx b/app/ai/components/ToolReviews.tsx index 2dff2f4..88d77a5 100644 --- a/app/ai/components/ToolReviews.tsx +++ b/app/ai/components/ToolReviews.tsx @@ -7,7 +7,7 @@ interface ToolReviewsProps { export default function ToolReviews({ reviews }: ToolReviewsProps) { return ( -
+

Tool Reviews @@ -51,4 +51,4 @@ export default function ToolReviews({ reviews }: ToolReviewsProps) {

) -} \ No newline at end of file +} diff --git a/app/ai/components/TopPick.tsx b/app/ai/components/TopPick.tsx index 0ec8dd2..2faccd3 100644 --- a/app/ai/components/TopPick.tsx +++ b/app/ai/components/TopPick.tsx @@ -9,7 +9,7 @@ export default function TopPick() { Top Pick of 2025 -
+
@@ -46,4 +46,4 @@ export default function TopPick() {
) -} \ No newline at end of file +} diff --git a/app/page.tsx b/app/page.tsx index 1942c84..f40b23e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -57,7 +57,7 @@ export default function Home() {
{mainSections.map((section, secIndex) => ( -
+

{section}

{mainStrings[secIndex].map((text: string, index: number) => (

@@ -67,7 +67,7 @@ export default function Home() {

))} -
+

{t('home.contact.title')}

{t('home.contact.description')}

-
+

{t('home.donation.title')}

{t('home.donation.description')}

{t('home.donation.charities.title')}

@@ -129,4 +129,4 @@ export default function Home() {
); -} \ No newline at end of file +} diff --git a/components/Header.tsx b/components/Header.tsx index 7898fd5..69b35df 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -134,15 +134,21 @@ export default function Header() { const toggleMenu = () => setIsOpen(!isOpen); return ( -
-