links/src/components/Item.astro

15 lines
386 B
Text
Raw Normal View History

2023-01-06 21:40:10 +01:00
---
2023-04-01 11:21:00 +02:00
import { BUTTONS } from "../config";
2023-01-06 21:40:10 +01:00
---
{
2023-04-01 11:21:00 +02:00
BUTTONS.map((button) => (
<a
href={button.href}
class={`${button.background} w-full rounded-xl border-2 border-black py-4 text-center text-xl font-bold text-white drop-shadow-[4px_5px_0_rgba(0,0,0,1)] duration-75 hover:translate-x-1 hover:translate-y-1 hover:drop-shadow-none`}
>
{button.name}
</a>
))
2023-01-06 21:40:10 +01:00
}