feat: add tablet styles (768-1023px)

This commit is contained in:
Kentai Radiquum 2025-07-23 11:52:12 +05:00
parent 5981db3626
commit e63a3126ae
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
10 changed files with 67 additions and 24 deletions

View file

@ -21,8 +21,8 @@ const links = [
export const Characters = () => {
return (
<Section>
<div className="flex flex-col gap-2">
<h2 className="text-4xl">Characters</h2>
<div className="flex flex-col gap-2 mt-2 md:flex-row md:justify-between md:items-center">
<h2 className="text-4xl md:text-5xl">Characters</h2>
<div className="flex items-center gap-4">
{links.map((item) => (
<Link href={item.url} key={`photos.link.${item.text}`}>
@ -35,7 +35,7 @@ export const Characters = () => {
))}
</div>
</div>
<div className="flex flex-col gap-4 mt-2">
<div className="flex flex-col gap-4 mt-2 md:hidden">
<CharacterImage
name="Kentai"
species="Red Panda"
@ -49,6 +49,37 @@ export const Characters = () => {
image="/images/protogen.png"
/>
</div>
<div className="flex-col gap-8 mt-2 hidden md:flex">
<div className="flex gap-4">
<CharacterImage
name="Kentai"
species="Red Panda"
gender="Male"
image="/images/red_panda.png"
/>
<div className="flex flex-col">
<p className="text-5xl">Kentai</p>
<p className="mt-2 text-3xl">Red Panda</p>
<p className="text-3xl">Male</p>
<div className="flex-1"></div>
<button className="rounded-full bg-[#491f1f] px-4 py-2 text-3xl">
about
</button>
</div>
</div>
<div className="flex gap-4">
<CharacterImage
name=""
species="Protogen"
gender="Male"
image="/images/protogen.png"
/>
<div className="flex flex-col">
<p className="mt-2 text-3xl">Protogen</p>
<p className="text-3xl">Male</p>
</div>
</div>
</div>
</Section>
);
};