mirror of
https://github.com/Radiquum/radiquum.github.io.git
synced 2025-09-08 15:33:54 +05:00
feat: add animations
This commit is contained in:
parent
364f65d49f
commit
a2a120e05e
5 changed files with 123 additions and 21 deletions
|
@ -14,8 +14,8 @@ export const CharacterImage = ({
|
|||
}: CharacterImageProps) => {
|
||||
return (
|
||||
<div className="relative rounded-4xl overflow-hidden">
|
||||
<img src={image} alt="" className="rounded-4xl md:w-[288px] aspect-square" />
|
||||
<div className="absolute left-0 right-0 bottom-0 from-[#131314] to-[#131314]/0 bg-gradient-to-t md:hidden">
|
||||
<img src={image} alt="" className="rounded-4xl w-full md:w-[288px] aspect-square" />
|
||||
<div className="absolute left-0 right-0 bottom-0 z-10 from-[#131314] to-[#131314]/0 bg-gradient-to-t md:hidden">
|
||||
<div className="p-4 flex gap-2 justify-between items-end">
|
||||
<p className="text-5xl">{name}</p>
|
||||
<p className="flex-1 text-right text-3xl">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue