change button to be universal template (not just for music info), replace button on home with unified button design
This commit is contained in:
parent
40b7793606
commit
ca67eb3a2c
3 changed files with 7 additions and 5 deletions
|
@ -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"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue