This repository has been archived on 2025-03-08. You can view files and clone it, but cannot push or open issues or pull requests.
aidxnCC/components/objects/MusicInfo.tsx

32 lines
713 B
TypeScript
Raw Normal View History

2025-01-08 09:14:02 -05:00
import React from 'react';
import Button from './Button';
2025-01-08 09:33:27 -05:00
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' },
];
2025-01-08 09:14:02 -05:00
const MusicInfo: React.FC = () => {
return (
2025-02-27 17:39:22 -05:00
<div>
2025-01-08 09:33:27 -05:00
{timePeriods.map((period) => (
<section key={period.slug} className="mb-12">
<h2 className="text-2xl font-semibold mb-4">{period.title}</h2>
2025-02-27 17:39:22 -05:00
<Button
href={`/time-periods/${period.slug}/what-was-going-on`}
label="WHAT WAS GOING ON"
/>
2025-01-08 09:33:27 -05:00
</section>
))}
2025-01-08 09:14:02 -05:00
</div>
);
};
2025-01-08 09:33:27 -05:00
export default MusicInfo;