2026-03-04 11:59:22 +09:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
|
|
import { ArrowRight } from "lucide-react";
|
2026-03-04 13:42:03 +09:00
|
|
|
import { Button } from "@/components/atoms/button";
|
|
|
|
|
import { cn } from "@/shared/utils";
|
2026-03-04 11:59:22 +09:00
|
|
|
import { useInView } from "@/features/landing-page/hooks";
|
|
|
|
|
|
|
|
|
|
interface HeroSectionProps {
|
|
|
|
|
heroCTARef: React.RefObject<HTMLDivElement | null>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function HeroSection({ heroCTARef }: HeroSectionProps) {
|
|
|
|
|
const [heroRef, heroInView] = useInView();
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<section
|
2026-03-04 17:13:07 +09:00
|
|
|
ref={heroRef}
|
2026-03-04 13:42:03 +09:00
|
|
|
className={cn(
|
2026-03-05 10:05:30 +09:00
|
|
|
"full-bleed py-16 sm:py-20 lg:py-24 overflow-hidden transition-all duration-700",
|
2026-03-04 11:59:22 +09:00
|
|
|
heroInView ? "opacity-100 translate-y-0" : "opacity-0 translate-y-8"
|
2026-03-04 13:42:03 +09:00
|
|
|
)}
|
2026-03-04 11:59:22 +09:00
|
|
|
>
|
|
|
|
|
{/* Gradient Background */}
|
|
|
|
|
<div className="absolute inset-0 bg-gradient-to-br from-surface-sunken via-background to-info-bg/80" />
|
|
|
|
|
|
|
|
|
|
{/* Dot Grid Pattern Overlay */}
|
|
|
|
|
<div
|
|
|
|
|
className="absolute inset-0 pointer-events-none"
|
2026-03-04 13:42:03 +09:00
|
|
|
aria-hidden="true"
|
2026-03-04 11:59:22 +09:00
|
|
|
style={{
|
2026-03-04 17:13:07 +09:00
|
|
|
backgroundImage: `radial-gradient(circle at center, color-mix(in oklch, var(--primary) 15%, transparent) 1px, transparent 1px)`,
|
2026-03-04 11:59:22 +09:00
|
|
|
backgroundSize: "24px 24px",
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
{/* Subtle gradient accent in corner */}
|
|
|
|
|
<div
|
|
|
|
|
className="absolute -top-32 -right-32 w-96 h-96 rounded-full pointer-events-none"
|
2026-03-04 13:42:03 +09:00
|
|
|
aria-hidden="true"
|
2026-03-04 11:59:22 +09:00
|
|
|
style={{
|
2026-03-04 17:13:07 +09:00
|
|
|
background:
|
|
|
|
|
"radial-gradient(circle, color-mix(in oklch, var(--info) 25%, transparent) 0%, transparent 70%)",
|
2026-03-04 11:59:22 +09:00
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
|
2026-03-04 13:11:20 +09:00
|
|
|
<div className="relative mx-auto max-w-3xl px-6 sm:px-10 lg:px-14 text-center">
|
|
|
|
|
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-extrabold leading-tight text-foreground">
|
2026-03-04 16:16:14 +09:00
|
|
|
<span className="block">A One Stop Solution</span>
|
|
|
|
|
<span className="block text-primary mt-2">for Your IT Needs</span>
|
2026-03-04 13:11:20 +09:00
|
|
|
</h1>
|
|
|
|
|
<p className="mt-6 text-base sm:text-lg text-muted-foreground leading-relaxed font-semibold max-w-2xl mx-auto">
|
2026-03-04 16:16:14 +09:00
|
|
|
Internet, phone, VPN and IT support — all in one place, with full English support in
|
|
|
|
|
Japan.
|
2026-03-04 13:11:20 +09:00
|
|
|
</p>
|
|
|
|
|
<div
|
|
|
|
|
ref={heroCTARef}
|
|
|
|
|
className="mt-8 flex flex-col sm:flex-row items-center justify-center gap-3 sm:gap-4"
|
|
|
|
|
>
|
2026-03-04 13:42:03 +09:00
|
|
|
<Button
|
|
|
|
|
as="a"
|
2026-03-04 13:11:20 +09:00
|
|
|
href="/services"
|
2026-03-04 13:42:03 +09:00
|
|
|
variant="pill"
|
|
|
|
|
size="lg"
|
|
|
|
|
rightIcon={<ArrowRight className="h-5 w-5" />}
|
2026-03-04 11:59:22 +09:00
|
|
|
>
|
2026-03-04 14:50:45 +09:00
|
|
|
Find Your Plan
|
2026-03-04 13:42:03 +09:00
|
|
|
</Button>
|
2026-03-04 14:50:45 +09:00
|
|
|
<Button as="a" href="#contact" variant="pillOutline" size="lg">
|
|
|
|
|
Talk to Us
|
2026-03-04 13:42:03 +09:00
|
|
|
</Button>
|
2026-03-04 11:59:22 +09:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
);
|
|
|
|
|
}
|