From 546298852960479b6c1b01bc5cf1e5bdb0b675b4 Mon Sep 17 00:00:00 2001 From: Anastasia <142572092+LuminaEnvision@users.noreply.github.com> Date: Wed, 10 Dec 2025 18:10:04 +0700 Subject: [PATCH 1/2] feat: add DCU logo to header, move tagline to right, add user guide to internal links, rename Twitter to X --- app/user-guide/page.tsx | 55 ++++++++++++ components/HeroSection/Hero.tsx | 20 +++-- .../TokenizeImpactSection.tsx | 2 +- components/NavLink/NavLink.tsx | 6 +- .../UseDeCleanupToday/UseDeCleanupToday.tsx | 86 +++++++++++++------ 5 files changed, 133 insertions(+), 36 deletions(-) create mode 100644 app/user-guide/page.tsx diff --git a/app/user-guide/page.tsx b/app/user-guide/page.tsx new file mode 100644 index 0000000..8fcdbad --- /dev/null +++ b/app/user-guide/page.tsx @@ -0,0 +1,55 @@ +import type { Metadata } from "next"; +import Link from "next/link"; + +export const metadata: Metadata = { + title: "DeCleanup Network User Guide", + description: "User guide for DeCleanup Network", +}; + +export default function UserGuidePage() { + return ( +
+
+ {/* Back Button */} +
+ + + + + Back to Home + +
+ + {/* Page Header */} +
+

+ User Guide +

+

+ Coming Soon +

+
+ +
+

+ The user guide will be available here soon. +

+
+
+
+ ); +} + diff --git a/components/HeroSection/Hero.tsx b/components/HeroSection/Hero.tsx index 849fdf6..7963bdb 100644 --- a/components/HeroSection/Hero.tsx +++ b/components/HeroSection/Hero.tsx @@ -1,3 +1,4 @@ +import Image from "next/image"; const Hero = () => { return ( @@ -9,15 +10,22 @@ const Hero = () => {
- {/* Header with tagline on left and logo space on right */} + {/* Header with logo on left and tagline on right */}
-
+
+ DeCleanup Network Logo +
+
clean up, snap, earn - -
-
- {/* Logo space - coming soon */} +
diff --git a/components/HowToTokonizeImpact/TokenizeImpactSection.tsx b/components/HowToTokonizeImpact/TokenizeImpactSection.tsx index 664254c..8fdfbed 100644 --- a/components/HowToTokonizeImpact/TokenizeImpactSection.tsx +++ b/components/HowToTokonizeImpact/TokenizeImpactSection.tsx @@ -123,7 +123,7 @@ const TokenizeImpactSection = () => { rel="noopener noreferrer" className="group relative px-8 py-4 bg-gradient-to-r from-gray-900 to-gray-800 text-[#FAFF00] font-semibold text-base sm:text-lg border-2 border-[#FAFF00] hover:border-[#58B12F] transition-all duration-300 hover:scale-105 hover:shadow-[0_0_20px_rgba(250,255,0,0.3)] text-center overflow-hidden" > - Twitter + X
{ { name: "LITEPAPER", href: "/litepaper" }, { name: "TOKENOMICS", href: "/tokenomics" }, { name: "DOCS", href: "/docs" }, + { name: "USER GUIDE", href: "/user-guide" }, ]; // External links @@ -16,8 +17,7 @@ const NavLink = () => { { name: "LATEST ARTICLES", href: "https://paragraph.xyz/decleanupnet" }, { name: "KARMA GAP", href: "https://gap.karmahq.xyz/project/decentralized-cleanup-network-decleanup-network"}, { name: "GITHUB", href: "https://github.com/DeCleanup-Network" }, - { name: "USER GUIDE", href: "https://giveth.io/project/decentralized-cleanup-network"}, - { name: "BUG REPORT", href: "https://tally.so/r/mRBlbl" }, + { name: "BUG REPORT", href: "https://docs.google.com/forms/d/e/1FAIpQLSfWCK4WmO9T-WJOOZwuDiG3yEJVX23RX_AkIa6tZHZ0J9Tf3w/viewform?usp=header" }, ]; return ( @@ -28,7 +28,7 @@ const NavLink = () => {
{/* Mobile Layout - Internal Links */}
-
+
{internalLinks.map((link, index) => ( { const apps = [ { - title: "Base mini app on Farcaster", + title: "Base mini app", subtitle: "Fast actions, onchain rewards.", bullets: [ "Log cleanups from Farcaster", "Earn and use $bDCU on Base", ], - buttonLabel: "Open mini app", - buttonHref: "https://farcaster.xyz/miniapps/njiQzfqas3yN/decleanup-rewards", + buttonLabel: "Open mini app on Farcaster", + buttonHref: "https://farcaster.xyz/miniapps/SfsGBDcHpuSA/decleanup-rewards", buttonDisabled: false, + secondButtonLabel: "Open web app", + secondButtonHref: "https://miniapp.decleanup.net", note: null, }, { @@ -73,9 +76,24 @@ const UseDeCleanupToday = () => { base
- {/* Title */} + {/* Image (if present) */} + {app.imageUrl && ( +
+ {index +
+ )} + + {/* Title - Secondary font, normal case */}

{app.title}

@@ -102,25 +120,40 @@ const UseDeCleanupToday = () => {

)} - {/* Button */} - {app.buttonDisabled ? ( - - ) : ( - - {app.buttonLabel} - - )} + {/* Buttons */} +
+ {app.buttonDisabled ? ( + + ) : ( + + {app.buttonLabel} + + )} + + {/* Second button (if present) */} + {app.secondButtonLabel && app.secondButtonHref && ( + + {app.secondButtonLabel} + + )} +
))}
@@ -133,9 +166,10 @@ const UseDeCleanupToday = () => { celo
- {/* Title */} + {/* Title - Secondary font, normal case */}

{apps[2].title}

From 4f7172a40d1bcab06514217d6169987e275cdf4b Mon Sep 17 00:00:00 2001 From: Anastasia <142572092+LuminaEnvision@users.noreply.github.com> Date: Wed, 10 Dec 2025 18:18:35 +0700 Subject: [PATCH 2/2] fix: add TypeScript interface for AppConfig to fix imageUrl property error --- .../UseDeCleanupToday/UseDeCleanupToday.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/components/UseDeCleanupToday/UseDeCleanupToday.tsx b/components/UseDeCleanupToday/UseDeCleanupToday.tsx index 28df2ff..d3fe7b8 100644 --- a/components/UseDeCleanupToday/UseDeCleanupToday.tsx +++ b/components/UseDeCleanupToday/UseDeCleanupToday.tsx @@ -2,8 +2,21 @@ import React from "react"; import Link from "next/link"; import Image from "next/image"; +interface AppConfig { + title: string; + subtitle: string; + bullets: string[]; + buttonLabel: string; + buttonHref: string; + buttonDisabled: boolean; + secondButtonLabel?: string; + secondButtonHref?: string; + note: string | null; + imageUrl?: string; +} + const UseDeCleanupToday = () => { - const apps = [ + const apps: AppConfig[] = [ { title: "Base mini app", subtitle: "Fast actions, onchain rewards.",