refactor header to sticky with scroll-based background blur

This commit is contained in:
2025-12-05 13:47:42 +01:00
parent cbeb1cb153
commit fad1ed7895
5 changed files with 48 additions and 17 deletions

View File

@@ -1,14 +1,18 @@
import Image from 'next/image'
import clsx from 'clsx'
import { Button } from '@/components/Button'
import { Container } from '@/components/Container'
import { Logo_hero } from '@/components/Logo_hero'
type HeroProps = {
className?: string
}
export function Hero() {
export function Hero({ className }: HeroProps) {
return (
<div className="relative overflow-hidden min-h-screen">
<div className={clsx('relative overflow-hidden min-h-screen', className)}>
{/* Video Background */}
<video
autoPlay