mirror of
https://github.com/Radiquum/radiquum.github.io.git
synced 2025-09-08 15:33:54 +05:00
feat: add detailed character page
This commit is contained in:
parent
2e734f3cb8
commit
8440465230
15 changed files with 224 additions and 24 deletions
10
app/components/CharacterColor.tsx
Normal file
10
app/components/CharacterColor.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
export const CharacterColor = ({ color }: { color: string }) => {
|
||||
return (
|
||||
<div
|
||||
className="bg-[var(--bg-color)] px-8 py-4 text-2xl rounded-xl border-1 border-white/5"
|
||||
style={{ "--bg-color": color } as React.CSSProperties}
|
||||
>
|
||||
<p className="text-transparent">{color}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue