From b1c89acca636c3d8e833c92595f915b234a91897 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Mon, 4 Aug 2025 02:20:42 +0000 Subject: [PATCH 1/2] feat: create comprehensive dummy landing page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace Git Search specific content with generic DummyApp landing page featuring: - Hero section with gradient background and call-to-action buttons - Features section highlighting platform capabilities (Fast, Secure, Collaborative) - Statistics section with user metrics and company stats - Call-to-action section encouraging trial signup - Professional footer with links and branding - Full responsive design with dark mode support - Modern UI using shadcn/ui components and Lucide icons 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/app/page.tsx | 447 ++++++++++++++++++----------------------------- 1 file changed, 174 insertions(+), 273 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1fd205d..79adf5a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,306 +1,207 @@ "use client"; -// Authentication removed -import { useState } from "react"; -import { Card, CardContent } from "@/components/ui/card"; +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; -import { Input } from "@/components/ui/input"; -import { - Search, - GitBranch, - BarChart3, - FileText, - Zap, - Database, - Star, - GitFork, - Calendar, - ExternalLink, +import { + Users, + Rocket, + Shield, + CheckCircle, + ArrowRight, + Play, + Heart } from "lucide-react"; import { ThemeToggle } from "@/components/theme-toggle"; import Link from "next/link"; -import { useRouter } from "next/navigation"; -import { Badge } from "@/components/ui/badge"; -import { Skeleton } from "@/components/ui/skeleton"; -import { useFeaturedRepositories } from "@/hooks/use-featured-repositories"; export default function Home() { - const [searchQuery, setSearchQuery] = useState(''); - const router = useRouter(); - const { data: featuredRepositories, isLoading, error } = useFeaturedRepositories(4); - - const handleSearch = (e: React.FormEvent) => { - e.preventDefault(); - if (searchQuery.trim()) { - router.push(`/search?q=${encodeURIComponent(searchQuery)}`); - } - }; - - const formatNumber = (num: number) => { - if (num >= 1000000) { - return (num / 1000000).toFixed(1) + 'M'; - } - if (num >= 1000) { - return (num / 1000).toFixed(1) + 'k'; - } - return num.toString(); - }; - - const formatDate = (dateString: string) => { - return new Date(dateString).toLocaleDateString('en-US', { - year: 'numeric', - month: 'short', - day: 'numeric', - }); - }; - - const formatBytes = (bytes: number) => { - if (bytes === 0) return '0 Bytes'; - const k = 1024; - const sizes = ['Bytes', 'KB', 'MB', 'GB']; - const i = Math.floor(Math.log(bytes) / Math.log(k)); - return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i]; - }; return (
+ {/* Header */} +
+ +
+ {/* Hero Section */} -
-
-
- +
+
+
+ +

+ DummyApp +

-
- -
- -

- Git Search -

-
-

- The ultimate GitHub repository directory with AI-focused statistics and comprehensive analysis -

- - {/* Search Bar */} -
-
-
- - setSearchQuery(e.target.value)} - className="pl-10 h-12 text-base" - /> -
- +
-
- -
-
- {/* Featured Repositories - Moved to Top */} -
-
-

Featured Repositories

-

- Popular repositories with comprehensive AI-focused analysis +

+
+ + Free forever +
+
+ + No credit card required +
+
+ + Setup in minutes +
+
+
+ + + {/* Features Section */} +
+
+
+

Everything you need to succeed

+

+ Powerful features designed to help you achieve more with less effort

- -
- {isLoading ? ( - // Loading skeletons - Array.from({ length: 4 }).map((_, index) => ( - - -
- - -
- - - -
-
- {Array.from({ length: 4 }).map((_, i) => ( - - ))} -
-
-
-
- )) - ) : error ? ( - // Error state - - -

- Unable to load featured repositories. Please try again later. -

-
-
- ) : featuredRepositories && featuredRepositories.length > 0 ? ( - // Real data - featuredRepositories.map((repo) => ( - - -
-
-
- - {repo.name} - - - - -
-
-
-
- - {formatDate(repo.updated_at)} -
-
- - - -
-
- -

- {repo.description || 'No description available'} -

+
+ + +
+ +
+ Lightning Fast +
+ +

+ Experience blazing fast performance with our optimized infrastructure and cutting-edge technology. +

+
+
-
- {repo.author && ( - - {repo.author} - - )} - {repo.branch && ( - - {repo.branch} - - )} -
+ + +
+ +
+ Secure by Default +
+ +

+ Your data is protected with enterprise-grade security, encryption, and privacy controls. +

+
+
- {/* Statistics with Icons */} -
-
- -
-
- {formatNumber(repo.stats?.total_lines || 0)} -
-
Lines
-
-
-
- -
-
- {formatNumber(repo.stats?.total_files_found || 0)} -
-
Files
-
-
-
- -
-
- {formatBytes(repo.stats?.estimated_size_bytes || 0)} -
-
Size
-
-
-
- -
-
- {formatNumber(repo.stats?.estimated_tokens || 0)} -
-
Tokens
-
-
-
-
- - - )) - ) : ( - // No data state - - -

- No featured repositories available. Start by analyzing some repositories! -

-
-
- )} + + +
+ +
+ Team Collaboration +
+ +

+ Work seamlessly with your team using real-time collaboration tools and shared workspaces. +

+
+
+
+
+
+ + {/* Stats Section */} +
+
+
+

Trusted by thousands

+

+ Join the growing community of satisfied users +

-
- - - +
+
+
10K+
+
Active Users
+
+
+
99.9%
+
Uptime
+
+
+
500+
+
Integrations
+
+
+
24/7
+
Support
+
- - {/* Feature Cards */} -
-
-

Platform Features

-

Advanced insights and analysis tools for GitHub repositories

+
+ + {/* CTA Section */} +
+
+

+ Ready to get started? +

+

+ Join thousands of users who are already transforming their workflow with DummyApp. +

+ +
+ +
-
- - -

Code Statistics

-

Lines of code, file counts, and complexity metrics

-
- - - -

AI Token Estimates

-

Estimates for GPT-4, Claude, and Gemini models

-
+
+
+ + {/* Footer */} +
+
+
+
+ + DummyApp +
- - -

Documentation

-

Auto-generated docs and architecture diagrams

-
+
+ + Privacy Policy + + + Terms of Service + + + Contact + +
- - -

Tech Stack Analysis

-

Language breakdown and technology insights

-
+
+ Made with + + by DummyApp Team +
- -
+
); } From 71b33accac82368dc3f85fbc04e3786730466f79 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Mon, 4 Aug 2025 02:42:38 +0000 Subject: [PATCH 2/2] feat: update landing page to use black and white color scheme for dark mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace colorful gradients with clean black/white backgrounds - Update all icons and text to use black in light mode, white in dark mode - Convert feature card backgrounds to neutral gray tones - Update CTA section to use solid black/white instead of gradients - Maintain accessibility and contrast while achieving monochromatic design 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/app/page.tsx | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 79adf5a..5f5cf24 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -17,7 +17,7 @@ import Link from "next/link"; export default function Home() { return ( -
+
{/* Header */}
@@ -27,8 +27,8 @@ export default function Home() {
- -

+ +

DummyApp

@@ -38,7 +38,7 @@ export default function Home() {

- @@ -50,15 +50,15 @@ export default function Home() {
- + Free forever
- + No credit card required
- + Setup in minutes
@@ -66,7 +66,7 @@ export default function Home() {
{/* Features Section */} -
+

Everything you need to succeed

@@ -78,8 +78,8 @@ export default function Home() {
-
- +
+
Lightning Fast @@ -92,8 +92,8 @@ export default function Home() { -
- +
+
Secure by Default @@ -106,8 +106,8 @@ export default function Home() { -
- +
+
Team Collaboration @@ -133,19 +133,19 @@ export default function Home() {
-
10K+
+
10K+
Active Users
-
99.9%
+
99.9%
Uptime
-
500+
+
500+
Integrations
-
24/7
+
24/7
Support
@@ -153,7 +153,7 @@ export default function Home() {
{/* CTA Section */} -
+

Ready to get started? @@ -166,7 +166,7 @@ export default function Home() { -

@@ -174,11 +174,11 @@ export default function Home() {
{/* Footer */} -