From ca67eb3a2cc7417dd4b8c0f4b5ef5049fd42d59d Mon Sep 17 00:00:00 2001 From: Aidan Date: Wed, 8 Jan 2025 14:59:43 -0500 Subject: [PATCH] change button to be universal template (not just for music info), replace button on home with unified button design --- .../objects/{MusicInfoButton.tsx => Button.tsx} | 0 app/components/objects/MusicInfo.tsx | 4 ++-- app/components/pages/Home.tsx | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) rename app/components/objects/{MusicInfoButton.tsx => Button.tsx} (100%) diff --git a/app/components/objects/MusicInfoButton.tsx b/app/components/objects/Button.tsx similarity index 100% rename from app/components/objects/MusicInfoButton.tsx rename to app/components/objects/Button.tsx diff --git a/app/components/objects/MusicInfo.tsx b/app/components/objects/MusicInfo.tsx index 2ffd98b..eb1e9ca 100644 --- a/app/components/objects/MusicInfo.tsx +++ b/app/components/objects/MusicInfo.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import MusicInfoButton from './MusicInfoButton'; +import Button from './Button'; interface TimePeriod { title: string; @@ -18,7 +18,7 @@ const MusicInfo: React.FC = () => {

{period.title}

- diff --git a/app/components/pages/Home.tsx b/app/components/pages/Home.tsx index f516399..4427e6c 100644 --- a/app/components/pages/Home.tsx +++ b/app/components/pages/Home.tsx @@ -1,4 +1,5 @@ import Image from 'next/image' +import Button from '../objects/Button' export default function Home() { return ( @@ -31,9 +32,10 @@ export default function Home() {

Send me a message

Feel free to reach out for collaborations or just a hello :)

- - Contact Me - +
)