change button to be universal template (not just for music info), replace button on home with unified button design

This commit is contained in:
Aidan 2025-01-08 14:59:43 -05:00
parent 40b7793606
commit ca67eb3a2c
3 changed files with 7 additions and 5 deletions

View File

@ -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 = () => {
<section key={period.slug} className="mb-12">
<h2 className="text-2xl font-semibold mb-4">{period.title}</h2>
<div className="flex justify-center">
<MusicInfoButton
<Button
href={`/time-periods/${period.slug}/what-was-going-on`}
label="WHAT WAS GOING ON"
/>

View File

@ -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() {
<section id="contact">
<h2 className="text-2xl font-semibold mb-4 text-gray-200">Send me a message</h2>
<p className="text-gray-300 mb-6">Feel free to reach out for collaborations or just a hello :)</p>
<a href="/contact" className="bg-gray-700 text-white px-8 py-3 rounded-full hover:bg-gray-600 transition-colors text-lg font-medium">
Contact Me
</a>
<Button
href={'/contact'}
label="Contact Me"
/>
</section>
</div>
)