Files
klz-cables.com/components/home/VideoSection.tsx
2026-01-17 00:06:30 +01:00

29 lines
1010 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.
import React from 'react';
import Scribble from '@/components/Scribble';
export default function VideoSection() {
return (
<section className="relative h-[60vh] overflow-hidden">
<video
className="w-full h-full object-cover"
autoPlay
muted
loop
playsInline
>
<source src="/uploads/2024/12/making-of-metal-cable-on-factory-2023-11-27-04-55-16-utc-2.webm" type="video/mp4" />
</video>
<div className="absolute inset-0 bg-black/50 flex items-center justify-center">
<h2 className="text-3xl md:text-5xl font-bold text-white text-center max-w-4xl px-4 leading-tight">
From a single strand to infinite power the
<span className="relative inline-block mx-2">
<span className="relative z-10 italic">future</span>
<Scribble variant="underline" className="w-full h-full top-full left-0" />
</span>
starts here.
</h2>
</div>
</section>
);
}