This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/components/banner.tsx
2025-02-02 16:08:03 +03:00

44 lines
1.5 KiB
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.

"use client"
import { Button } from "./ui/button"
import Wave from "react-wavify"
export function Banner() {
return (
<div className="relative w-full h-[300px] rounded-lg overflow-hidden banner-container hidden md:block">
<div className="absolute inset-0 bg-gradient-to-r from-blue-600 via-purple-600 to-blue-600">
<Wave
fill="url(#gradient)"
options={{
height: 50,
amplitude: 40,
speed: 0.15,
points: 3,
}}
className="absolute bottom-0"
>
<defs>
<linearGradient id="gradient" gradientTransform="rotate(90)">
<stop offset="0%" stopColor="rgba(59, 130, 246, 0.5)" /> {/* blue-600 with opacity */}
<stop offset="50%" stopColor="rgba(139, 92, 246, 0.5)" /> {/* purple-600 with opacity */}
<stop offset="100%" stopColor="rgba(59, 130, 246, 0.5)" /> {/* blue-600 with opacity */}
</linearGradient>
</defs>
</Wave>
</div>
<div className="relative z-10 h-full flex items-center">
<div className="container mx-auto px-4">
<div className="max-w-lg text-white">
<h1 className="text-4xl font-bold mb-4">САМОЕ ЗАВЕТНОЕ!</h1>
<p className="text-xl mb-6">Исполняйте мечты с Eternos</p>
<Button variant="secondary" size="lg">
Подробнее
</Button>
</div>
</div>
</div>
</div>
)
}