1
Fork 0
This commit is contained in:
Hadeed 2024-07-05 05:31:54 +05:00
parent 705d37ca1f
commit 9f1a1065b0
2 changed files with 7 additions and 7 deletions

View file

@ -16,7 +16,7 @@
</head> </head>
<body class="flex min-h-dvh items-center justify-center bg-cream p-4"> <body class="flex min-h-dvh items-center justify-center bg-cream p-4">
<main <main
class="overflow-hidden rounded-xl bg-white p-6 text-metal-400 sm:flex sm:p-8" class="flex max-w-[600px] flex-col overflow-hidden rounded-xl bg-white text-metal-400 sm:flex-row"
> >
<picture> <picture>
<source <source
@ -24,14 +24,14 @@
media="(min-width: 640px)" media="(min-width: 640px)"
/> />
<img <img
class="-ml-6 -mt-6 w-[calc(100%+3rem)] max-w-none" class="h-full object-cover"
src="/images/image-product-mobile.jpg" src="/images/image-product-mobile.jpg"
alt="Gabrielle Essence Eau De Parfum" alt="Gabrielle Essence Eau De Parfum"
/> />
</picture> </picture>
<div> <div class="p-6 sm:p-8">
<p class="mt-6 text-category uppercase">Perfume</p> <p class="text-category uppercase">Perfume</p>
<h1 class="mt-3 font-serif text-heading text-metal-700"> <h1 class="mt-3 font-serif text-heading text-metal-700">
Gabrielle Essence Eau De Parfum Gabrielle Essence Eau De Parfum
@ -48,9 +48,9 @@
</div> </div>
<button <button
class="mt-5 flex w-full items-center justify-center gap-3 rounded-lg bg-aquamarine-400 p-4 hover:bg-aquamarine-700" class="mt-5 inline-flex w-full items-center justify-center gap-3 rounded-lg bg-aquamarine-400 p-4 hover:bg-aquamarine-700"
> >
<img src="./public/images/icon-cart.svg" width="15" height="16" /> <img src="/images/icon-cart.svg" width="15" height="16" />
<span class="text-body font-bold text-white"> Add to Cart </span> <span class="text-body font-bold text-white"> Add to Cart </span>
</button> </button>
</div> </div>

View file

@ -36,7 +36,7 @@ export default {
"0.875rem", "0.875rem",
{ {
fontWeight: 500, fontWeight: 500,
lineHeight: "1.438rem", lineHeight: "1.5rem",
}, },
], ],
}, },