Merge version_2_1781383004212 into main #1

Merged
bender merged 2 commits from version_2_1781383004212 into main 2026-06-13 20:38:39 +00:00
4 changed files with 30 additions and 1 deletions

View File

@@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom';
import Layout from './components/Layout';
import HomePage from './pages/HomePage';
import MinecraftPage from "@/pages/MinecraftPage";
export default function App() {
return (
<Routes>
<Route element={<Layout />}>
<Route path="/" element={<HomePage />} />
<Route path="/minecraft" element={<MinecraftPage />} />
</Route>
</Routes>
);

View File

@@ -34,7 +34,9 @@ export default function Layout() {
{
"name": "Faq",
"href": "#faq"
}
},
{ name: "Minecraft", href: "/minecraft" },
];
return (

View File

@@ -0,0 +1,24 @@
import Button from "@/components/ui/Button";
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
import TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import AvatarGroup from "@/components/ui/AvatarGroup";
import FeaturesIconCards from "@/components/sections/features/FeaturesIconCards";
import ScrollReveal from "@/components/ui/ScrollReveal";
export default function MinecraftPage() {
return (
<>
<div data-webild-section="HeroOverlay"><section aria-label="Hero section" className="relative w-full h-svh overflow-hidden flex flex-col justify-end mb-20"><HeroBackgroundSlot /><ImageOrVideo imageSrc="https://img.freepik.com/premium-photo/pixel-art-landscape-with-trees-mountains_900396-3456.jpg" className="absolute inset-0 w-full h-full object-cover rounded-none" /><div className="absolute z-10 w-[150vw] h-[150vw] left-0 bottom-0 -translate-x-1/2 translate-y-1/2 backdrop-blur mask-[radial-gradient(circle,black_20%,transparent_70%)]" aria-hidden="true" /><div className="relative z-10 w-content-width mx-auto pb-10 md:pb-25"><div className="flex flex-col gap-3 w-full md:w-6/10 lg:w-1/2 xl:w-45/100 2xl:w-4/10"><div className="w-fit px-3 py-1 mb-1 text-sm card rounded"><p>Minecraft Survival</p></div><TextAnimation text="Build, Survive, and Thrive Together" variant="slide-up" gradientText={true} tag="h1" className="text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-white text-balance" /><TextAnimation text="Join our lag-free Minecraft survival server. Explore endless worlds, build epic structures, and become part of a welcoming community." variant="slide-up" gradientText={false} tag="p" className="text-lg md:text-xl text-white leading-snug text-balance" /><div className="flex flex-wrap gap-3 mt-2 md:mt-3"><Button text="Join Server" href="#join" variant="primary" /><Button text="Discord Community" href="#discord" variant="secondary" animationDelay={0.1} /></div><div className="mt-3 md:mt-4"><AvatarGroup avatarsSrc={["https://img.freepik.com/free-photo/young-man-playing-video-games-home_23-2148993132.jpg","https://img.freepik.com/free-photo/excited-gamer-playing-video-games-computer_23-2148993141.jpg","https://img.freepik.com/free-photo/woman-playing-video-games-home_23-2148993128.jpg"]} size="lg" label="Join our growing community of players" labelClassName="text-primary-cta-text" /></div></div></div></section></div>
<div data-webild-section="FeaturesIconCards"><FeaturesIconCards
tag="Server Features"
title="Why Play on CraftServer?"
description="Experience the ultimate Minecraft survival server with custom plugins, a friendly community, and zero lag."
primaryButton={{"text":"Join Now","href":"/join"}}
secondaryButton={{"text":"View Map","href":"/map"}}
features={[{"icon":"Zap","title":"Lag-Free Gameplay","description":"Our dedicated hardware ensures smooth 20 TPS, even during massive raids."},{"icon":"Users","title":"Friendly Community","description":"Join our growing community of active players. Make friends, form towns, and build together."},{"icon":"Shield","title":"Grief Protection","description":"Claim your land and protect your epic builds from griefers and creepers."},{"icon":"Swords","title":"Custom Events","description":"Participate in weekly PvP tournaments, build battles, and treasure hunts."},{"icon":"Hammer","title":"Economy & Shops","description":"Trade with players, set up your own shop, and become the richest on the server."},{"icon":"Globe","title":"Massive World","description":"Explore a limitless, pre-generated world with custom biomes and structures."}]}
/></div>
<div data-webild-section="ContactCta"><section aria-label="Contact section" className="py-20"><div className="w-content-width mx-auto"><ScrollReveal variant="fade-blur"><div className="flex flex-col items-center gap-8 md:gap-10 py-20 px-8 rounded card"><div className="flex flex-col items-center gap-2"><div className="px-3 py-1 mb-1 text-sm card rounded w-fit"><p>Join the Server</p></div><TextAnimation text="Ready to start your survival adventure?" variant="fade" gradientText={true} tag="h2" className="md:max-w-8/10 text-5xl 2xl:text-6xl leading-[1.15] font-semibold text-center text-balance" /><div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3"><Button text="Play Now" href="/join" variant="primary" /><Button text="Join Discord" href="/discord" variant="secondary" animationDelay={0.1} /></div></div></div></ScrollReveal></div></section></div>
</>
);
}

View File

@@ -6,4 +6,5 @@ export interface Route {
export const routes: Route[] = [
{ path: '/', label: 'Home', pageFile: 'HomePage' },
{ path: '/minecraft', label: 'Minecraft', pageFile: 'MinecraftPage' },
];