From 1f6d86c90a077a649bae7338e5fb48842f208d0a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 24 Aug 2025 13:56:12 +0000 Subject: [PATCH] Enhance homepage design with animations, gradients, and improved UI styling Co-authored-by: k225193 --- scrapply/src/app/globals.css | 50 +++++++++++++ scrapply/src/app/page.tsx | 137 ++++++++++++++--------------------- 2 files changed, 104 insertions(+), 83 deletions(-) diff --git a/scrapply/src/app/globals.css b/scrapply/src/app/globals.css index 95480a8..6784cda 100644 --- a/scrapply/src/app/globals.css +++ b/scrapply/src/app/globals.css @@ -206,6 +206,35 @@ body { } } +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +@keyframes fade-in-up { + from { + opacity: 0; + transform: translateY(30px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@keyframes gradient { + 0%, 100% { + background-position: 0% 50%; + } + 50% { + background-position: 100% 50%; + } +} + .animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } @@ -214,6 +243,27 @@ body { animation: spin 1s linear infinite; } +.animate-fade-in { + animation: fade-in 0.6s ease-out forwards; +} + +.animate-fade-in-up { + animation: fade-in-up 0.8s ease-out forwards; +} + +.animate-fade-in-up.delay-200 { + animation-delay: 0.2s; +} + +.animate-fade-in-up.delay-300 { + animation-delay: 0.3s; +} + +.animate-gradient { + background-size: 200% 200%; + animation: gradient 3s ease infinite; +} + /* Gradient backgrounds */ .gradient-bg { background: linear-gradient(135deg, rgb(var(--background)) 0%, rgb(var(--muted)) 100%); diff --git a/scrapply/src/app/page.tsx b/scrapply/src/app/page.tsx index 9fdbfe8..56d69f5 100644 --- a/scrapply/src/app/page.tsx +++ b/scrapply/src/app/page.tsx @@ -1,7 +1,7 @@ 'use client'; import { useState } from 'react'; -import { ArrowRight, Globe, Code, TestTube, Sparkles, CheckCircle, Clock, Users, BarChart3 } from 'lucide-react'; +import { ArrowRight, Globe, Code, TestTube, Sparkles } from 'lucide-react'; import { createScrapingRequest, ScrapingRequest } from '@/lib/api'; import Link from 'next/link'; @@ -47,54 +47,46 @@ export default function HomePage() { return (
{/* Hero Section */} -
-
-
+
+ {/* Animated background elements */} +
+
+
+
+
+ +
-
- +
+ AI-Powered Web Scraping
-

+

Convert Any Website to an - API + API

-

+

Describe what data you want to extract, and our AI will create a custom API for you. No coding required. Just tell us what you need.

- {/* Stats */} -
-
- - 99.9% Success Rate -
-
- - 1-2 Minute Setup -
-
- - Trusted by 10K+ Users -
-
+
{/* Create Request Form */} -
-
-
-

Create Your Scraping API

-

Enter a website URL and describe what data you want to extract

+
+
+
+

Create Your Scraping API

+

Enter a website URL and describe what data you want to extract

-
-
+
+
-
-