Update src/app/page.tsx
This commit is contained in:
@@ -1,5 +1,89 @@
|
||||
import { redirect } from 'next/navigation';
|
||||
"use client";
|
||||
import { ThemeProvider } from "next-themes";
|
||||
import { NavbarStyleCentered } from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
|
||||
import { HeroBillboardRotatedCarousel } from "@/components/sections/hero/HeroBillboardRotatedCarousel";
|
||||
import { FooterBase } from "@/components/sections/footer/FooterBase";
|
||||
import { Sparkles } from "lucide-react";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
const navbarLinks = [
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Features", id: "/features" },
|
||||
{ name: "About", id: "/about" }
|
||||
];
|
||||
|
||||
export default function Home() {
|
||||
redirect('/components');
|
||||
const [isClient, setIsClient] = useState(false);
|
||||
useEffect(() => {
|
||||
setIsClient(true);
|
||||
}, []);
|
||||
|
||||
if (!isClient) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="light"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="none"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<NavbarStyleCentered
|
||||
navItems={navbarLinks}
|
||||
brandName="Webild"
|
||||
logoSrc="/logo.svg"
|
||||
logoAlt="Webild Logo"
|
||||
button={{ text: "Get Started", href: "https://webild.com" }}
|
||||
/>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardRotatedCarousel
|
||||
title="Innovate Your Recruitment Process"
|
||||
description="Transform your hiring with our cutting-edge talent acquisition platform."
|
||||
buttons={[
|
||||
{ text: "Learn More", href: "/features" },
|
||||
{ text: "Contact Us", href: "https://webild.com/contact" }
|
||||
]}
|
||||
carouselItems={[
|
||||
{ id: "1", imageSrc: "https://picsum.photos/id/237/800/600", imageAlt: "Applicant tracking dashboard" },
|
||||
{ id: "2", imageSrc: "https://picsum.photos/id/238/800/600", imageAlt: "Interview scheduling interface" },
|
||||
{ id: "3", imageSrc: "https://picsum.photos/id/239/800/600", imageAlt: "Candidate communication tools" },
|
||||
{ id: "4", imageSrc: "https://picsum.photos/id/240/800/600", imageAlt: "Analytics and reporting" },
|
||||
{ id: "5", imageSrc: "https://picsum.photos/id/241/800/600", imageAlt: "Team collaboration features" },
|
||||
{ id: "6", imageSrc: "https://picsum.photos/id/242/800/600", imageAlt: "Customizable workflows" }
|
||||
]}
|
||||
background={{ variant: "radial-gradient" }}
|
||||
animationType="slide-up"
|
||||
/>
|
||||
</div>
|
||||
<FooterBase
|
||||
columns={[
|
||||
{
|
||||
title: "Product", items: [
|
||||
{ label: "Features", href: "/features" },
|
||||
{ label: "Pricing", href: "/pricing" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Careers", href: "#careers" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
logoText="Webild"
|
||||
copyrightText="© 2024 Webild. All rights reserved."
|
||||
/>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user