From 1d2239367563db1ebf8c44ef2dc09e5eaf75b8b4 Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Fri, 3 Oct 2025 19:32:21 +0200 Subject: [PATCH 1/3] 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 From 37fbc6ae25b988ade99e3a47d57ffe91e64859f8 Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Fri, 3 Oct 2025 19:56:36 +0200 Subject: [PATCH 2/3] beautify: added Light mode --- src/app/page.tsx | 98 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 66 insertions(+), 32 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ef79253..216a745 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,7 +2,7 @@ import { useState } from 'react' import { Dialog, DialogPanel } from '@headlessui/react' -import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline' +import { Bars3Icon, XMarkIcon, SunIcon, MoonIcon } from '@heroicons/react/24/outline' const navigation = [ { name: 'Shop', href: '/shop' }, @@ -13,18 +13,23 @@ const navigation = [ export default function Example() { const [mobileMenuOpen, setMobileMenuOpen] = useState(false) + const [isDarkMode, setIsDarkMode] = useState(true) + + const toggleTheme = () => { + setIsDarkMode(!isDarkMode) + } return ( -
+
{navigation.map((item) => ( - + {item.name} ))}
-
- +
- +
- Your Company + Profit Planet
-
+
{navigation.map((item) => ( {item.name} ))}
-
+
+ Log in @@ -102,7 +133,7 @@ export default function Example() {
-

+

Profit Planet

-

+

+ Building a Community that will bring change +

+

Profit Planet is a platform building a vibrant community where members access diverse services and products from within. Users enjoy benefits like cashback and discounts, fostering a smart, rewarding ecosystem.

@@ -153,7 +187,7 @@ export default function Example() { > Shop - + Login
@@ -166,7 +200,7 @@ export default function Example() { src="https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&h=528&q=80" className="aspect-2/3 w-full rounded-xl bg-gray-700/5 object-cover shadow-lg" /> -
+
@@ -176,7 +210,7 @@ export default function Example() { src="https://images.unsplash.com/photo-1485217988980-11786ced9454?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&h=528&q=80" className="aspect-2/3 w-full rounded-xl bg-gray-700/5 object-cover shadow-lg" /> -
+
-
+
@@ -194,7 +228,7 @@ export default function Example() { src="https://images.unsplash.com/photo-1670272504528-790c24957dda?ixlib=rb-4.0.3&ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&crop=left&w=400&h=528&q=80" className="aspect-2/3 w-full rounded-xl bg-gray-700/5 object-cover shadow-lg" /> -
+
-
+
From 42130be8e8b3f2a1bf0a38a7c1f181ee35439c36 Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Fri, 3 Oct 2025 20:30:55 +0200 Subject: [PATCH 3/3] feature: affiliate-links page --- src/app/affiliate-links/page.tsx | 189 ++++++++++++++++ src/app/components/Footer.tsx | 2 +- src/app/components/PageLayout.tsx | 4 +- src/app/components/nav/Header.tsx | 99 ++++++--- src/app/layout.tsx | 2 +- src/app/page.tsx | 353 +++++++++++------------------- 6 files changed, 388 insertions(+), 261 deletions(-) create mode 100644 src/app/affiliate-links/page.tsx diff --git a/src/app/affiliate-links/page.tsx b/src/app/affiliate-links/page.tsx new file mode 100644 index 0000000..01f70e5 --- /dev/null +++ b/src/app/affiliate-links/page.tsx @@ -0,0 +1,189 @@ +import PageLayout from '../components/PageLayout'; + +const posts = [ + { + id: 1, + title: 'TechInnovate Solutions', + href: 'https://example.com/affiliate/techinnovate', + description: + 'Leading provider of innovative tech solutions for businesses. Earn commissions on referrals.', + imageUrl: + 'https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3603&q=80', + category: { title: 'Technology', href: '#' }, + }, + { + id: 2, + title: 'GreenEnergy Corp', + href: 'https://example.com/affiliate/greenenergy', + description: + 'Sustainable energy products and services. Partner with us for eco-friendly commissions.', + imageUrl: + 'https://images.unsplash.com/photo-1547586696-ea22b4d4235d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Energy', href: '#' }, + }, + { + id: 3, + title: 'FinanceHub Advisors', + href: 'https://example.com/affiliate/financehub', + description: + 'Expert financial advisory services. Get rewarded for every successful referral.', + imageUrl: + 'https://images.unsplash.com/photo-1492724441997-5dc865305da7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Finance', href: '#' }, + }, + { + id: 4, + title: 'HealthWell Clinics', + href: 'https://example.com/affiliate/healthwell', + description: + 'Comprehensive healthcare solutions. Affiliate program with competitive payouts.', + imageUrl: + 'https://images.unsplash.com/photo-1559136555-9303baea8ebd?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Healthcare', href: '#' }, + }, + { + id: 5, + title: 'EduLearn Academy', + href: 'https://example.com/affiliate/edulearn', + description: + 'Online education platforms for all ages. Earn from educational referrals.', + imageUrl: + 'https://images.unsplash.com/photo-1485217988980-11786ced9454?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Education', href: '#' }, + }, + { + id: 6, + title: 'TravelEase Agency', + href: 'https://example.com/affiliate/travelease', + description: + 'Seamless travel booking services. Commissions on every trip booked through affiliates.', + imageUrl: + 'https://images.unsplash.com/photo-1670272504528-790c24957dda?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Travel', href: '#' }, + }, + { + id: 7, + title: 'RetailMax Stores', + href: 'https://example.com/affiliate/retailmax', + description: + 'Wide range of retail products. Join our affiliate network for sales commissions.', + imageUrl: + 'https://images.unsplash.com/photo-1670272505284-8faba1c31f7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Retail', href: '#' }, + }, + { + id: 8, + title: 'BuildPro Contractors', + href: 'https://example.com/affiliate/buildpro', + description: + 'Professional construction and renovation services. Affiliate rewards for leads.', + imageUrl: + 'https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Construction', href: '#' }, + }, + { + id: 9, + title: 'FoodieDelight Catering', + href: 'https://example.com/affiliate/foodiedelight', + description: + 'Delicious catering services for events. Earn commissions on catering bookings.', + imageUrl: + 'https://images.unsplash.com/photo-1492724441997-5dc865305da7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Food', href: '#' }, + }, + { + id: 10, + title: 'AutoCare Mechanics', + href: 'https://example.com/affiliate/autocare', + description: + 'Reliable automotive repair and maintenance. Affiliate program with steady payouts.', + imageUrl: + 'https://images.unsplash.com/photo-1547586696-ea22b4d4235d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Automotive', href: '#' }, + }, + { + id: 11, + title: 'FashionForward Boutique', + href: 'https://example.com/affiliate/fashionforward', + description: + 'Trendy fashion and accessories. Commissions on fashion sales through affiliates.', + imageUrl: + 'https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Fashion', href: '#' }, + }, + { + id: 12, + title: 'PetCare Essentials', + href: 'https://example.com/affiliate/petcare', + description: + 'Everything for your pets. Earn from pet product referrals.', + imageUrl: + 'https://images.unsplash.com/photo-1559136555-9303baea8ebd?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + category: { title: 'Pets', href: '#' }, + }, +] + +export default function AffiliateLinksPage() { + return ( + +
+
+
+

+ Affiliate Partners +

+

+ Discover our trusted partners and earn commissions through affiliate + links. +

+
+
+ {posts.map((post) => ( + + ))} +
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/app/components/Footer.tsx b/src/app/components/Footer.tsx index 62625cc..25f01f2 100644 --- a/src/app/components/Footer.tsx +++ b/src/app/components/Footer.tsx @@ -4,7 +4,7 @@ import { useTranslation } from '../i18n/useTranslation'; export default function Footer() { const { t } = useTranslation(); return ( -