mirror of
https://github.com/wah-su/wahs.wah.su.git
synced 2025-09-14 18:33:50 +05:00
Create Render HTML Function
This commit is contained in:
parent
8cb19f4ec8
commit
a31c71ef7e
4 changed files with 146 additions and 87 deletions
11
src/templates/Components/AllLink.tsx
Normal file
11
src/templates/Components/AllLink.tsx
Normal 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>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue