layout/feat/chore: use card-like layout instead, lastplayed design changes (it fits better with new design), add donation section, bump deps
This commit is contained in:
parent
06ffdd7925
commit
8ca18ee2ae
5 changed files with 108 additions and 40 deletions
|
@ -5,13 +5,15 @@ interface ButtonProps {
|
|||
href: string;
|
||||
label: string;
|
||||
icon?: React.ElementType;
|
||||
target?: string;
|
||||
}
|
||||
|
||||
const Button: React.FC<ButtonProps> = ({ href, label, icon }) => {
|
||||
const Button: React.FC<ButtonProps> = ({ href, label, icon, target }) => {
|
||||
return (
|
||||
<Link
|
||||
href={href}
|
||||
className="inline-flex items-center bg-gray-800 text-white font-bold py-2 px-4 rounded-sm shadow-md transition-all duration-300 ease-in-out hover:bg-gray-700 hover:shadow-lg hover:-translate-y-0.5 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"
|
||||
target={target}
|
||||
>
|
||||
{icon && React.createElement(icon, { size: 20, className: "mr-2" })}
|
||||
{label}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue