Merge version_2 into main #4

Merged
bender merged 2 commits from version_2 into main 2026-03-05 16:41:22 +00:00
2 changed files with 66 additions and 63 deletions

View File

@@ -1,59 +1,24 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Manrope } from "next/font/google";
import { DM_Sans } from "next/font/google";
import "./styles/base.css";
import "./styles/variables.css";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const manrope = Manrope({
variable: "--font-manrope", subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "WildCraft - Free Online Nature Survival Game", description: "Play WildCraft, the ultimate free online survival game. Chop trees, build forts, fish, craft weapons, and hunt. Start your wilderness adventure today!", keywords: "survival game, nature game, crafting, building, free online game, wilderness, hunting, fishing", openGraph: {
title: "WildCraft - Free Online Nature Survival Game", description: "Experience unlimited wilderness exploration, crafting, building, and survival in WildCraft.", siteName: "WildCraft", type: "website", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-breathtaking-wilderness-landscape-with-1772728275589-5233e3eb.png", alt: "WildCraft Wilderness Adventure"},
],
},
twitter: {
card: "summary_large_image", title: "WildCraft - Free Survival Adventure", description: "Build, hunt, craft, and survive in the ultimate online nature game.", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-breathtaking-wilderness-landscape-with-1772728275589-5233e3eb.png"],
},
robots: {
index: true,
follow: true,
},
};
title: "WildCraft - Free Online Survival Game", description: "Experience ultimate survival in WildCraft: explore wilderness, build shelters, craft weapons, hunt with crossbows, and survive in our free online nature survival game."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${manrope.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1421,7 +1386,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}

View File

@@ -8,7 +8,7 @@ import AboutMetric from '@/components/sections/about/AboutMetric';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Axe, Flame, Fish, Hammer, Leaf, Gamepad2, Users } from 'lucide-react';
import { Axe, Flame, Fish, Hammer, Leaf, Gamepad2, Users, Boat, Window, Door, Rope, Rifle, Zap } from 'lucide-react';
export default function LandingPage() {
return (
@@ -30,6 +30,7 @@ export default function LandingPage() {
navItems={[
{ name: "Play Now", id: "hero" },
{ name: "Features", id: "features" },
{ name: "Building", id: "building" },
{ name: "Activities", id: "activities" },
{ name: "Community", id: "testimonials" },
{ name: "FAQ", id: "faq" },
@@ -42,7 +43,7 @@ export default function LandingPage() {
<div id="hero" data-section="hero">
<HeroBillboardCarousel
title="Welcome to WildCraft: Your Ultimate Survival Adventure"
description="Explore infinite wilderness, build shelters, craft weapons, and survive in a completely free online nature survival game. Chop trees, start campfires, fish in pristine waters, construct forts, and hunt with custom-built crossbows. Everything is possible in your outdoor adventure."
description="Explore infinite wilderness, build shelters, craft weapons, hunt with shotguns, sail boats, construct houses with windows and doors, build rope bridges between trees, encounter wildlife, and survive in a completely free online nature survival game. Everything is possible in your outdoor adventure."
tag="Free to Play"
tagIcon={Leaf}
background={{ variant: "sparkles-gradient" }}
@@ -70,7 +71,7 @@ export default function LandingPage() {
<div id="features" data-section="features">
<FeatureCardNine
title="Core Gameplay Features"
description="Master the wilderness with diverse survival mechanics and endless creative possibilities."
description="Master the wilderness with diverse survival mechanics and endless creative possibilities including advanced weaponry and exploration tools."
tag="Survival Mechanics"
tagIcon={Gamepad2}
features={[
@@ -83,17 +84,53 @@ export default function LandingPage() {
},
{
id: 2,
title: "Build & Customize", description: "Design and construct elaborate forts, cabins, and bases using your harvested materials. Express your creativity with unlimited building possibilities.", phoneOne: {
title: "Hunt & Combat", description: "Craft advanced weapons including shotguns, crossbows, and more to hunt wildlife and creatures. Stay fed and protected in the unpredictable wilderness with multiple combat options.", phoneOne: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-dramatic-game-scene-showing-a-player-f-1772728277120-2f8ad843.png"},
phoneTwo: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-detailed-inventory-screen-showing-a-cr-1772728276461-3985e33b.png?_wi=3"},
},
{
id: 3,
title: "Explore & Navigate", description: "Build boats to sail across lakes and rivers, construct rope bridges to traverse between trees, and explore vast wilderness territories with unprecedented freedom.", phoneOne: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-player-built-wooden-fort-or-cabin-in-a-1772728277150-a7fba8f9.png?_wi=2"},
phoneTwo: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-breathtaking-wilderness-landscape-with-1772728275589-5233e3eb.png?_wi=2"},
},
]}
showStepNumbers={true}
textboxLayout="default"
animationType="scale-rotate"
useInvertedBackground={false}
/>
</div>
<div id="building" data-section="building">
<FeatureCardNine
title="Advanced Building Mechanics"
description="Construct elaborate structures with complete building systems including windows, doors, rope bridges, and comprehensive house customization options."
tag="Construction"
tagIcon={Hammer}
features={[
{
id: 1,
title: "House Building System", description: "Design and construct elaborate houses using your harvested materials. Place windows for natural light and ventilation, install doors for security and access control, and customize every aspect of your dwelling.", phoneOne: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-player-built-wooden-fort-or-cabin-in-a-1772728277150-a7fba8f9.png?_wi=2"},
phoneTwo: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-breathtaking-wilderness-landscape-with-1772728275589-5233e3eb.png?_wi=2"},
},
{
id: 3,
title: "Hunt & Survive", description: "Craft advanced weapons like crossbows to hunt wildlife and creatures. Stay fed and protected in the unpredictable wilderness.", phoneOne: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-dramatic-game-scene-showing-a-player-f-1772728277120-2f8ad843.png"},
id: 2,
title: "Rope Bridge Construction", description: "Build bridges connecting trees to trees using rope and logs. Create pathways through the forest canopy, establish safe routes across ravines, and design magnificent tree-to-tree connections.", phoneOne: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-side-view-game-interface-showing-a-cha-1772728276030-9c0472f1.png?_wi=2"},
phoneTwo: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-detailed-inventory-screen-showing-a-cr-1772728276461-3985e33b.png?_wi=3"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-detailed-inventory-screen-showing-a-cr-1772728276461-3985e33b.png?_wi=2"},
},
{
id: 3,
title: "Windows & Doors", description: "Customize your buildings with functional windows for light and views, and secure doors for protection. Mix and match materials to create unique architectural designs that suit your survival strategy.", phoneOne: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-cozy-campfire-scene-in-a-forest-cleari-1772728276403-f3393e6a.png"},
phoneTwo: {
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AX8SFHdoBIfxOeckuVuSbkFw3z/a-player-character-fishing-by-a-pristine-1772728276438-575a9263.png"},
},
]}
showStepNumbers={true}
@@ -105,12 +142,14 @@ export default function LandingPage() {
<div id="activities" data-section="activities">
<AboutMetric
title="Immerse yourself in nature with unlimited survival activities and adventures awaiting discovery"
title="Immerse yourself in nature with unlimited survival activities, animal encounters, and comprehensive survival features awaiting discovery"
metrics={[
{ icon: Axe, label: "Tree Chopping", value: "Unlimited" },
{ icon: Flame, label: "Campfires", value: "Build Daily" },
{ icon: Fish, label: "Fishing Spots", value: "100+" },
{ icon: Hammer, label: "Build Structures", value: "Infinite" },
{ icon: Rifle, label: "Shotguns & Weapons", value: "Multiple" },
{ icon: Boat, label: "Boats & Sailing", value: "Available" },
{ icon: Zap, label: "Survival Features", value: "Comprehensive" },
]}
metricsAnimation="slide-up"
useInvertedBackground={false}
@@ -153,20 +192,20 @@ export default function LandingPage() {
<div id="faq" data-section="faq">
<FaqSplitText
sideTitle="Everything You Need to Know"
sideDescription="Get answers to common questions about WildCraft gameplay, features, and community."
sideDescription="Get answers to common questions about WildCraft gameplay, features, building mechanics, and survival systems."
faqs={[
{
id: "1", title: "Is WildCraft truly free to play?", content: "Yes! WildCraft is 100% free to download and play. There are no pay-to-win mechanics. All survival features, building tools, and weapons can be obtained through gameplay. We believe in fair gaming for everyone."},
id: "1", title: "Is WildCraft truly free to play?", content: "Yes! WildCraft is 100% free to download and play. There are no pay-to-win mechanics. All survival features, building tools, weapons including shotguns, boats, and comprehensive construction components can be obtained through gameplay. We believe in fair gaming for everyone."},
{
id: "2", title: "Can I play with friends online?", content: "Absolutely! WildCraft supports multiplayer survival servers where you can team up with friends, collaborate on building massive forts, hunt together, and share your wilderness adventures. Social gameplay features make it even more fun."},
id: "2", title: "How do I build a house with windows and doors?", content: "Gather wood and stone from the environment. Access your building menu and select the house foundation. Place walls using your materials, then add window and door components to create functional structures. Windows provide light and ventilation, while doors offer security and access control. Experiment with different combinations to create unique designs!"},
{
id: "3", title: "What platforms is WildCraft available on?", content: "WildCraft runs on PC (Windows/Mac), PlayStation, Xbox, and mobile devices (iOS/Android). Play seamlessly across any device with cross-platform save support. Start on mobile and continue on your computer!"},
id: "3", title: "What are rope bridges used for?", content: "Rope bridges connect tree-to-tree across the forest, creating aerial pathways through the wilderness. Gather logs and rope materials, then construct bridges to establish safe routes across ravines and create shortcuts through dense forest. They're essential for exploration and establishing base-to-base networks."},
{
id: "4", title: "How do I craft the crossbow?", content: "Gather wood from chopped trees, stone from the ground, and string from animal hides. Visit the crafting station in your base and follow the crossbow recipe. Once crafted, hunt birds, bears, and other wildlife using precise aim mechanics."},
id: "4", title: "Can I build and sail boats?", content: "Absolutely! Gather wood and waterproof materials to construct boats. Launch them into lakes and rivers to explore new areas, transport resources, and engage in aquatic adventures. Different boat types offer varying speed and cargo capacity. Sailing expands your survival territory dramatically."},
{
id: "5", title: "Can I create custom game modes?", content: "Yes! WildCraft features robust custom game creation tools. Design survival challenges, set difficulty levels, modify resource availability, and share your modes with the community. Players can rate and download your creations."},
id: "5", title: "How do shotguns work in WildCraft?", content: "Shotguns are powerful weapons that can be crafted using metal, wood, and ammunition components. They're particularly effective for hunting larger wildlife and creatures. Shotguns offer shorter range but higher damage compared to crossbows, making them ideal for close-quarters combat situations."},
{
id: "6", title: "Is there a story or campaigns to play?", content: "WildCraft offers optional story campaigns with unique survival objectives and narrative elements. However, you can also enjoy pure sandbox survival exploration without following any story. Choose your own adventure!"}
id: "6", title: "What animals can I encounter in the game?", content: "WildCraft features diverse wildlife including deer, bears, wolves, birds, and many other creatures. Some animals are peaceful and provide resources when hunted, while others are aggressive and present survival challenges. Learn their behavior patterns to hunt effectively or avoid danger."}
]}
textPosition="left"
useInvertedBackground={false}