reorganize, package upgrades
This commit is contained in:
parent
cfc83010a0
commit
c13e6285a8
13 changed files with 16 additions and 16 deletions
20
app/components/objects/MusicInfoButton.tsx
Normal file
20
app/components/objects/MusicInfoButton.tsx
Normal file
|
@ -0,0 +1,20 @@
|
|||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
|
||||
interface MusicInfoButtonProps {
|
||||
href: string;
|
||||
label: string;
|
||||
}
|
||||
|
||||
const MusicInfoButton: React.FC<MusicInfoButtonProps> = ({ href, label }) => {
|
||||
return (
|
||||
<Link
|
||||
href={href}
|
||||
className="inline-block bg-gray-800 text-white font-bold py-2 px-4 rounded shadow-md transition-all duration-300 ease-in-out hover:bg-gray-700 hover:shadow-lg hover:-translate-y-0.5 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"
|
||||
>
|
||||
{label}
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
||||
export default MusicInfoButton;
|
Loading…
Add table
Add a link
Reference in a new issue