From 419206c313d8b7134113d75547a8ad1a44eaf3fd Mon Sep 17 00:00:00 2001
From: kiojin <14562282+yuhua2024@user.noreply.gitee.com>
Date: Sat, 25 Jul 2026 00:07:51 +0800
Subject: [PATCH] Make landing page responsive on mobile
---
frontend/src/pages/LandingPage.tsx | 307 ++++++++++++++++-------------
1 file changed, 167 insertions(+), 140 deletions(-)
diff --git a/frontend/src/pages/LandingPage.tsx b/frontend/src/pages/LandingPage.tsx
index baede37..e184ac0 100644
--- a/frontend/src/pages/LandingPage.tsx
+++ b/frontend/src/pages/LandingPage.tsx
@@ -1,19 +1,22 @@
+import { useState } from 'react'
import { Link } from 'react-router-dom'
import {
- Scissors,
- Shield,
- Minimize2,
- ScanText,
- Image,
- Merge,
ArrowRight,
- Layers,
- Upload,
- Wand2,
Download,
+ FileOutput,
Gem,
+ Image,
+ Layers,
+ Menu,
+ Merge,
+ Minimize2,
Pen,
- FileOutput,
+ Scissors,
+ ScanText,
+ Shield,
+ Upload,
+ Wand2,
+ X,
} from 'lucide-react'
const tools = [
@@ -28,15 +31,31 @@ const tools = [
]
const steps = [
- { num: '01', icon: Upload, title: 'Upload', body: 'Drop any PDF into your workspace. Stored securely under your account.' },
- { num: '02', icon: Wand2, title: 'Process', body: 'Pick a tool — merge, split, compress, protect, annotate, convert, and more.' },
- { num: '03', icon: Download, title: 'Download', body: 'Every operation creates a new file. Your originals are never modified.' },
+ {
+ num: '01',
+ icon: Upload,
+ title: 'Upload',
+ body: 'Drop any PDF into your workspace. Stored securely under your account.',
+ },
+ {
+ num: '02',
+ icon: Wand2,
+ title: 'Process',
+ body: 'Pick a tool - merge, split, compress, protect, annotate, convert, and more.',
+ },
+ {
+ num: '03',
+ icon: Download,
+ title: 'Download',
+ body: 'Every operation creates a new file. Your originals are never modified.',
+ },
]
export default function LandingPage() {
+ const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
+
return (
-
- {/* ── CSS ─────────────────────────────────────────────── */}
+
- {/* ── Ambient glow ───────────────────────────────────── */}
- {/* ── Nav ────────────────────────────────────────────── */}
-