From add53db69cf9d091a820fa31fa9d517fce43ff69 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:42:27 +0000 Subject: [PATCH 1/4] Add src/app/bot/[botId]/page.tsx --- src/app/bot/[botId]/page.tsx | 230 +++++++++++++++++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 src/app/bot/[botId]/page.tsx diff --git a/src/app/bot/[botId]/page.tsx b/src/app/bot/[botId]/page.tsx new file mode 100644 index 0000000..8ebcf27 --- /dev/null +++ b/src/app/bot/[botId]/page.tsx @@ -0,0 +1,230 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; +import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"; +import { useParams } from "next/navigation"; +import { ExternalLink, MessageCircle, Star, Users } from "lucide-react"; + +export default function BotDetailPage() { + const params = useParams(); + const botId = params.botId as string; + + const navItems = [ + { name: "Home", id: "/" }, + { name: "Directory", id: "/directory" }, + { name: "Categories", id: "categories" }, + { name: "Submit Bot", id: "/submit" }, + { name: "Contact", id: "contact" }, + ]; + + const footerColumns = [ + { + items: [ + { label: "Home", href: "/" }, + { label: "Directory", href: "/directory" }, + { label: "Categories", href: "categories" }, + ], + }, + { + items: [ + { label: "Submit Bot", href: "/submit" }, + { label: "Contact", href: "contact" }, + { label: "FAQ", href: "#faq" }, + ], + }, + { + items: [ + { label: "Privacy Policy", href: "#privacy" }, + { label: "Terms of Service", href: "#terms" }, + { label: "Cookie Policy", href: "#cookies" }, + ], + }, + { + items: [ + { label: "Twitter", href: "https://twitter.com" }, + { label: "Discord", href: "https://discord.com" }, + { label: "GitHub", href: "https://github.com" }, + ], + }, + ]; + + // Mock bot data - in a real app, this would come from a database + const botData: Record = { + "ai-chat-master": { + name: "AI Chat Master", username: "@aichatmaster", category: "AI", rating: 4.8, + reviews: 1250, + users: "50K+", description: "Advanced AI-powered chatbot with natural language processing. Get instant answers to your questions, have meaningful conversations, and explore endless possibilities with cutting-edge AI technology.", features: [ + "Natural language processing", "Multi-language support", "Instant responses", "Learning capabilities", "Context awareness", "24/7 availability"], + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/a-telegram-bot-interface-screenshot-show-1773243153207-c6149c84.png"}, + "music-playlist-manager": { + name: "Music Playlist Manager", username: "@musicplaylistmanager", category: "Music", rating: 4.6, + reviews: 980, + users: "35K+", description: "Control your Spotify and music streaming with ease. Create, manage, and share playlists directly from Telegram. Discover new music and enjoy seamless integration with your favorite streaming services.", features: [ + "Spotify integration", "Playlist management", "Music discovery", "Queue management", "Sharing capabilities", "Real-time sync"], + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/a-music-telegram-bot-interface-showing-p-1773243148514-249cc2c5.png"}, + "file-download-pro": { + name: "File Download Pro", username: "@filedownloadpro", category: "Download", rating: 4.5, + reviews: 756, + users: "28K+", description: "Download and manage files from various sources effortlessly. Support for multiple formats, batch downloads, and cloud storage integration. Keep your files organized and accessible.", features: [ + "Multi-source downloads", "Batch processing", "Cloud storage support", "File organization", "Speed optimization", "Resume capability"], + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/a-download-utility-telegram-bot-showing--1773243148459-d9376052.png"}, + }; + + const bot = botData[botId] || { + name: "Bot Name", username: "@botusername", category: "Utility", rating: 4.5, + reviews: 500, + users: "10K+", description: "This is a sample bot. Check the bot directory for more details.", features: ["Feature 1", "Feature 2", "Feature 3"], + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/an-education-telegram-bot-showing-course-1773243147669-88bfb7ee.png"}; + + const handleOpenInTelegram = () => { + // Open bot in Telegram - uses the Telegram deep link protocol + window.open(`https://t.me/${bot.username.replace("@", "")}`, "_blank"); + }; + + return ( + + + +
+
+ {/* Bot Header */} +
+ {/* Bot Image */} +
+ {bot.name} +
+ + {/* Bot Info */} +
+

{bot.name}

+

{bot.username}

+
+ + {bot.category} + +
+ + {/* Stats */} +
+
+
+ + {bot.rating} +
+

{bot.reviews} reviews

+
+
+
+ + {bot.users} +
+

Active users

+
+
+ +
+
+ + {/* Description */} +

{bot.description}

+ + {/* Open in Telegram Button */} + +
+
+ + {/* Features */} +
+

Features

+
+ {bot.features.map((feature: string, index: number) => ( +
+
+ + + +
+ {feature} +
+ ))} +
+
+ + {/* How to Use */} +
+

How to Use

+
    +
  1. + 1. Click "Open in Telegram" - This will take you directly to the bot's chat +
  2. +
  3. + 2. Start the Bot - Click the START button or type /start +
  4. +
  5. + 3. Follow Instructions - The bot will guide you through setup and usage +
  6. +
  7. + 4. Explore Features - Type /help to see all available commands +
  8. +
+
+
+
+ + +
+ ); +} \ No newline at end of file From 81920fd53fc90775180cf64dac843c422d8bd88e Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:42:27 +0000 Subject: [PATCH 2/4] Add src/app/explore-bots/page.tsx --- src/app/explore-bots/page.tsx | 216 ++++++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 src/app/explore-bots/page.tsx diff --git a/src/app/explore-bots/page.tsx b/src/app/explore-bots/page.tsx new file mode 100644 index 0000000..983f4a3 --- /dev/null +++ b/src/app/explore-bots/page.tsx @@ -0,0 +1,216 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; +import HeroBillboardScroll from "@/components/sections/hero/HeroBillboardScroll"; +import MetricCardTen from "@/components/sections/metrics/MetricCardTen"; +import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"; +import { Search, Filter, Sparkles, ArrowRight } from "lucide-react"; +import { useState, useMemo } from "react"; + +interface Bot { + id: string; + title: string; + subtitle: string; + category: string; + value: string; + buttons?: Array<{ text: string; onClick?: () => void; href?: string }>; +} + +const ALL_BOTS: Bot[] = [ + { + id: "1", title: "AI Chat Master", subtitle: "Advanced AI-powered chatbot with natural language processing", category: "AI", value: "⭐ 4.8", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "2", title: "Music Playlist Manager", subtitle: "Control your Spotify and music streaming with ease", category: "Music", value: "⭐ 4.6", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "3", title: "File Download Pro", subtitle: "Download and manage files from various sources", category: "Download", value: "⭐ 4.7", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "4", title: "Learn Anything", subtitle: "Interactive educational courses and quizzes", category: "Education", value: "⭐ 4.9", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "5", title: "Crypto Trading Bot", subtitle: "Real-time crypto price alerts and trading signals", category: "Crypto", value: "⭐ 4.5", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "6", title: "Productivity Timer", subtitle: "Track time, manage tasks, and boost productivity", category: "Utility", value: "⭐ 4.7", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "7", title: "Language Translator", subtitle: "Instant translation between 100+ languages", category: "Education", value: "⭐ 4.6", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "8", title: "Smart News Digest", subtitle: "Get personalized news summaries delivered daily", category: "Utility", value: "⭐ 4.4", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "9", title: "Video Downloader Plus", subtitle: "Download videos from YouTube, TikTok, and more", category: "Download", value: "⭐ 4.8", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "10", title: "DeFi Portfolio Tracker", subtitle: "Monitor your crypto investments in real-time", category: "Crypto", value: "⭐ 4.7", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "11", title: "Image Editor Pro", subtitle: "Edit, crop, and enhance images with AI filters", category: "Utility", value: "⭐ 4.6", buttons: [{ text: "Explore", href: "#" }], + }, + { + id: "12", title: "Spotify Playlist Helper", subtitle: "Create and manage playlists with smart recommendations", category: "Music", value: "⭐ 4.7", buttons: [{ text: "Explore", href: "#" }], + }, +]; + +const CATEGORIES = [ + "All", "AI", "Music", "Download", "Education", "Crypto", "Utility"]; + +export default function ExploreBots() { + const [searchQuery, setSearchQuery] = useState(""); + const [selectedCategory, setSelectedCategory] = useState("All"); + + const navItems = [ + { name: "Home", id: "/" }, + { name: "Explore Bots", id: "/explore-bots" }, + { name: "Categories", id: "categories" }, + { name: "Submit Bot", id: "submit" }, + { name: "Contact", id: "contact" }, + ]; + + const footerColumns = [ + { + items: [ + { label: "Home", href: "/" }, + { label: "Explore Bots", href: "/explore-bots" }, + { label: "Categories", href: "categories" }, + ], + }, + { + items: [ + { label: "Submit Bot", href: "submit" }, + { label: "Contact", href: "contact" }, + { label: "FAQ", href: "#faq" }, + ], + }, + { + items: [ + { label: "Privacy Policy", href: "#privacy" }, + { label: "Terms of Service", href: "#terms" }, + { label: "Cookie Policy", href: "#cookies" }, + ], + }, + { + items: [ + { label: "Twitter", href: "https://twitter.com" }, + { label: "Discord", href: "https://discord.com" }, + { label: "GitHub", href: "https://github.com" }, + ], + }, + ]; + + const filteredBots = useMemo(() => { + return ALL_BOTS.filter((bot) => { + const matchesCategory = + selectedCategory === "All" || bot.category === selectedCategory; + const matchesSearch = bot.title + .toLowerCase() + .includes(searchQuery.toLowerCase()); + return matchesCategory && matchesSearch; + }); + }, [searchQuery, selectedCategory]); + + return ( + + + +
+ +
+ +
+
+
+
+ + setSearchQuery(e.target.value)} + className="w-full px-4 py-3 bg-card border border-accent rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-cta" + /> +
+ +
+ + {CATEGORIES.map((category) => ( + + ))} +
+
+ +
+ Showing {filteredBots.length} bot{filteredBots.length !== 1 ? "s" : ""} +
+
+
+ +
+ +
+ + +
+ ); +} From 27a37ae0a5891b832c647f556d1deb33731e18d4 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:42:28 +0000 Subject: [PATCH 3/4] Update src/app/page.tsx --- src/app/page.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index bfc1317..334f668 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function HomePage() { { name: "Home", id: "/" }, { name: "Directory", id: "/directory" }, { name: "Categories", id: "categories" }, - { name: "Submit Bot", id: "submit" }, + { name: "Submit Bot", id: "/submit" }, { name: "Contact", id: "contact" }, ]; @@ -32,7 +32,7 @@ export default function HomePage() { }, { items: [ - { label: "Submit Bot", href: "submit" }, + { label: "Submit Bot", href: "/submit" }, { label: "Contact", href: "contact" }, { label: "FAQ", href: "#faq" }, ], @@ -86,7 +86,7 @@ export default function HomePage() { imageAlt="Telegram Bot Hub Dashboard" buttons={[ { text: "Explore Bots", href: "/directory" }, - { text: "Submit Your Bot", href: "submit" }, + { text: "Submit Your Bot", href: "/submit" }, ]} buttonAnimation="slide-up" /> @@ -102,13 +102,13 @@ export default function HomePage() { features={[ { title: "AI Chat Master", description: "Advanced AI-powered chatbot with natural language processing", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/a-telegram-bot-interface-screenshot-show-1773243153207-c6149c84.png", imageAlt: "AI Chat Master Bot", buttonIcon: ArrowRight, - }, + buttonHref: "/bot/ai-chat-master"}, { title: "Music Playlist Manager", description: "Control your Spotify and music streaming with ease", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/a-music-telegram-bot-interface-showing-p-1773243148514-249cc2c5.png", imageAlt: "Music Playlist Manager Bot", buttonIcon: ArrowRight, - }, + buttonHref: "/bot/music-playlist-manager"}, { title: "File Download Pro", description: "Download and manage files from various sources", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/a-download-utility-telegram-bot-showing--1773243148459-d9376052.png", imageAlt: "File Download Pro Bot", buttonIcon: ArrowRight, - }, + buttonHref: "/bot/file-download-pro"}, { title: "Learn Anything", description: "Interactive educational courses and quizzes", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnzLyhtB5RymsHsflern7ouDVJ/an-education-telegram-bot-showing-course-1773243147669-88bfb7ee.png", imageAlt: "Learn Anything Education Bot", buttonIcon: ArrowRight, }, From 794a2eb62a2cc844349fd76a27d5b4fe56797323 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:42:28 +0000 Subject: [PATCH 4/4] Update src/app/submit/page.tsx --- src/app/submit/page.tsx | 81 +++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 48 deletions(-) diff --git a/src/app/submit/page.tsx b/src/app/submit/page.tsx index 99c9b84..a975885 100644 --- a/src/app/submit/page.tsx +++ b/src/app/submit/page.tsx @@ -1,20 +1,18 @@ "use client"; -import Link from "next/link"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; -import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout"; -import ContactSplit from "@/components/sections/contact/ContactSplit"; +import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"; -import { Lightbulb, Bell } from "lucide-react"; +import { Upload, CheckCircle } from "lucide-react"; -export default function SubmitPage() { +export default function SubmitBotPage() { const navItems = [ { name: "Home", id: "/" }, { name: "Directory", id: "/directory" }, - { name: "Categories", id: "/categories" }, + { name: "Categories", id: "categories" }, { name: "Submit Bot", id: "/submit" }, - { name: "Contact", id: "/contact" }, + { name: "Contact", id: "contact" }, ]; const footerColumns = [ @@ -22,13 +20,13 @@ export default function SubmitPage() { items: [ { label: "Home", href: "/" }, { label: "Directory", href: "/directory" }, - { label: "Categories", href: "/categories" }, + { label: "Categories", href: "categories" }, ], }, { items: [ { label: "Submit Bot", href: "/submit" }, - { label: "Contact", href: "/contact" }, + { label: "Contact", href: "contact" }, { label: "FAQ", href: "#faq" }, ], }, @@ -48,6 +46,11 @@ export default function SubmitPage() { }, ]; + const handleSubmit = (data: Record) => { + console.log("Bot submission:", data); + // Handle form submission + }; + return ( -
- + -
- -
-