reorganize, package upgrades

This commit is contained in:
Aidan 2025-01-08 13:12:01 -05:00
parent cfc83010a0
commit c13e6285a8
13 changed files with 16 additions and 16 deletions

View file

@ -0,0 +1,33 @@
import React from 'react';
import MusicInfoButton from './MusicInfoButton';
interface TimePeriod {
title: string;
slug: string;
}
const timePeriods: TimePeriod[] = [
{ title: 'Late Summer 2024', slug: 'late-summer-2024' },
{ title: 'Early Summer 2024', slug: 'early-summer-2024' },
];
const MusicInfo: React.FC = () => {
return (
<div className="max-w-2xl mx-auto text-center text-gray-200">
{timePeriods.map((period) => (
<section key={period.slug} className="mb-12">
<h2 className="text-2xl font-semibold mb-4">{period.title}</h2>
<div className="flex justify-center">
<MusicInfoButton
href={`/time-periods/${period.slug}/what-was-going-on`}
label="WHAT WAS GOING ON"
/>
</div>
</section>
))}
</div>
);
};
export default MusicInfo;