From 1d2239367563db1ebf8c44ef2dc09e5eaf75b8b4 Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Fri, 3 Oct 2025 19:32:21 +0200 Subject: [PATCH] beautify: Initial Page design --- src/app/page.tsx | 298 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 203 insertions(+), 95 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4611dbc..ef79253 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,108 +1,216 @@ -'use client'; +'use client' -import Image from "next/image"; -import { useRouter } from 'next/navigation'; -import GlobalAnimatedBackground from './background/GlobalAnimatedBackground'; -import Footer from './components/Footer'; -import Header from './components/nav/Header'; -import { useTranslation } from './i18n/useTranslation'; +import { useState } from 'react' +import { Dialog, DialogPanel } from '@headlessui/react' +import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline' -export default function Home() { - const router = useRouter(); - const { t } = useTranslation(); +const navigation = [ + { name: 'Shop', href: '/shop' }, + { name: 'Affiliate-Links', href: '#' }, + { name: 'Memberships', href: '#' }, + { name: 'About us', href: '#' }, +] + +export default function Example() { + const [mobileMenuOpen, setMobileMenuOpen] = useState(false) return ( -
- {/* Header */} -
- - {/* Main Content */} -
-
- {/* Hero Section */} -
- {/* Logo/Title */} -

- {t('home.title')} -

- - {/* Tagline */} -

- {t('home.tagline')} -

- - {/* Feature Highlights */} -
- {[ - { - title: t('home.features.sustainable.title'), - description: t('home.features.sustainable.description') - }, - { - title: t('home.features.community.title'), - description: t('home.features.community.description') - }, - { - title: t('home.features.rewards.title'), - description: t('home.features.rewards.description') - } - ].map((feature, index) => ( -
-

- {feature.title} -

-

- {feature.description} -

+
+
+ + +
+ +
+ + Your Company + + + +
+
+
+
+ {navigation.map((item) => ( + + {item.name} + + ))} +
+ - ))} -
- - {/* Community Stats */} -
-
-
10k+
-
{t('home.stats.members')}
-
-
-
50k+
-
{t('home.stats.products')}
-
-
-
100
-
{t('home.stats.communities')}
- - {/* CTA Buttons */} -
-
+
+
+
+ +
- - {/* Footer */} -
-
-
- - {/* Decorative Elements */} -
- ); -} + ) +} \ No newline at end of file