Files
dyagilev/src/components/pages/Hero.tsx
T
2026-05-12 16:19:46 +05:00

25 lines
743 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* eslint-disable @next/next/no-img-element */
import Section from "../ui/Section";
export default function Hero() {
return (
<Section
id="hero"
className="bg-[url('/img/bg/sky.png')]"
headerColorScheme="Light"
>
<h1 className="text-[7.778vw] leading-[0.7] w-full font-light flex flex-col gap-[0.556vw] select-none text-white">
<span className="block">Жизнь на высоте</span>
<span className="block ml-auto">с видом на залив</span>
</h1>
<img
src="/img/mocks/building.png"
alt="Hero"
draggable={false}
className="object-cover absolute bottom-0 left-1/2 -translate-x-1/2 w-[75%] select-none"
/>
</Section>
);
}