fix(front) Отредактировал главную страницу
This commit is contained in:
@@ -19,7 +19,7 @@ export default function Arrow({
|
|||||||
<svg
|
<svg
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
viewBox="0 0 84 40"
|
viewBox={`0 0 ${width} ${height}`}
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -14,20 +14,20 @@ export default function Dashboard() {
|
|||||||
return (
|
return (
|
||||||
<PageLayout>
|
<PageLayout>
|
||||||
<main
|
<main
|
||||||
className="px-16 grow w-full gap-4 bg-cover bg-center bg-no-repeat h-screen overflow-hidden"
|
className="px-5 md:px-16 grow w-full bg-cover bg-center bg-no-repeat h-screen overflow-hidden"
|
||||||
style={{ backgroundImage: `url(${bgLayout})` }}
|
style={{ backgroundImage: `url(${bgLayout})` }}
|
||||||
>
|
>
|
||||||
<div className="mt-37.5 leading-[1.3] text-6xl font-bold text-white flex flex-col">
|
<div className="mt-10 md:mt-37.5 leading-[1.3] text-2xl md:text-6xl font-bold text-white flex flex-col">
|
||||||
<div
|
<div
|
||||||
className={`transition-all duration-1000 ease-out ${isLoaded
|
className={`transition-all duration-1000 ease-out ${isLoaded
|
||||||
? "translate-x-0 opacity-100"
|
? "translate-x-0 opacity-100"
|
||||||
: "-transition-x-full opacity-0"
|
: "-transition-x-full opacity-0"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div>Свежие морепродукты</div>
|
Свежие морепродукты <br />
|
||||||
<div>На любой вкус</div>
|
на любой вкус
|
||||||
<div className="pl-10 py-6.5 font-normal text-2xl flex flex-row">
|
<div className="pl-4.5 md:pl-10 py-1.5 md:py-6.5 font-normal text-base md:text-2xl flex flex-row items-center">
|
||||||
<div className="mr-10">Смотреть товары</div>
|
<div className="mr-5 md:mr-10">Смотреть товары</div>
|
||||||
<Arrow link="/shop" />
|
<Arrow link="/shop" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user