Create Render HTML Function

This commit is contained in:
Kentai Radiquum 2025-01-31 22:35:24 +05:00
parent 8cb19f4ec8
commit a31c71ef7e
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 146 additions and 87 deletions

View file

@ -0,0 +1,11 @@
export default function AllLink(props: { location: string; text: string }) {
return (
<a
href={props.location}
className="text-[#f9ebeb] hover:bg-orange-600 rounded-sm overflow-hidden transition-colors aspect-square bg-yellow-950 min-w-48 sm:min-w-auto flex items-center justify-center flex-col"
>
<span className="material-symbols--arrow-forward-rounded w-16 h-16"></span>
<p className="text-xl">{props.text}</p>
</a>
);
}