diff --git a/client/src/components/layout/BottomNav.tsx b/client/src/components/layout/BottomNav.tsx index 7636e8e..e8aa7f9 100644 --- a/client/src/components/layout/BottomNav.tsx +++ b/client/src/components/layout/BottomNav.tsx @@ -1,9 +1,9 @@ /** * BottomNav — Mobile Bottom Navigation - * Zeigt die 5 wichtigsten Seiten als Icons - * "Mehr" öffnet das volle Menü + * 5 primäre Tabs + "Mehr" Drawer für restliche 4 Seiten */ +import { useState } from 'react'; import { Link } from 'wouter'; import { LayoutDashboard, @@ -11,6 +11,12 @@ import { FileEdit, Calendar, BarChart2, + MoreHorizontal, + CheckSquare, + Megaphone, + Package, + Settings, + X, } from 'lucide-react'; interface BottomNavProps { @@ -25,60 +31,161 @@ const primaryNav = [ { label: 'Analytics', path: '/analytics', icon: BarChart2 }, ]; -export function BottomNav({ currentPath }: BottomNavProps) { - return ( - + ); } diff --git a/client/src/index.css b/client/src/index.css index bbfa663..abf4688 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -643,3 +643,55 @@ flex-wrap: wrap; } } + +/* ── Mobile Page Header: stacks vertically on small screens ── */ +.atlas-page-header-row { + display: flex; + align-items: center; + justify-content: space-between; + gap: 0.75rem; +} +@media (max-width: 640px) { + .atlas-page-header-row { + flex-direction: column; + align-items: flex-start; + gap: 0.5rem; + } + .atlas-page-header-row .atlas-header-controls { + width: 100%; + display: flex; + flex-wrap: wrap; + gap: 0.4rem; + } + .atlas-page-header-row .atlas-header-controls > * { + flex: 1 1 auto; + min-width: 80px; + } + /* Compact page title on mobile */ + .atlas-page-header-row h1 { + font-size: 1.25rem !important; + } + .atlas-page-header-row p { + font-size: 0.75rem !important; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + } +} + +/* ── Split layouts: stack on mobile ── */ +.atlas-split-layout { + display: grid; + gap: 1rem; +} +@media (min-width: 768px) { + .atlas-split-layout { + grid-template-columns: 1fr 16rem; + } +} +@media (max-width: 767px) { + .atlas-split-layout { + grid-template-columns: 1fr; + } +} diff --git a/client/src/pages/Analytics.tsx b/client/src/pages/Analytics.tsx index 7a191ce..8a9f476 100644 --- a/client/src/pages/Analytics.tsx +++ b/client/src/pages/Analytics.tsx @@ -78,30 +78,32 @@ export default function Analytics() { return (
{/* Header */} -
+

Analytics

Verstehe Reichweite, Performance und Affiliate-Umsätze im Detail.

-
+
26. Mai – 1. Juni 2025
- {['7 Tage', '30 Tage', 'Benutzerdefiniert'].map(p => ( - - ))} +
+ {['7 Tage', '30 Tage', 'Benutzerdefiniert'].map(p => ( + + ))} +
diff --git a/client/src/pages/Approvals.tsx b/client/src/pages/Approvals.tsx index c6d2682..81f7f23 100644 --- a/client/src/pages/Approvals.tsx +++ b/client/src/pages/Approvals.tsx @@ -66,12 +66,12 @@ export default function Approvals() { return (
{/* Header */} -
+

Freigaben

Prüfe, priorisiere und genehmige Inhalte vor der Veröffentlichung.

-
+
26. Mai 2025 - +
diff --git a/client/src/pages/Products.tsx b/client/src/pages/Products.tsx index dd8211a..620241d 100644 --- a/client/src/pages/Products.tsx +++ b/client/src/pages/Products.tsx @@ -63,12 +63,12 @@ export default function Products() { return (
{/* Header */} -
+

Produkte

Verwalte Produktdaten, Affiliate-Links und Content-Potenziale.

-
+
7 Tage
@@ -105,24 +105,24 @@ export default function Products() { {tab} ))} -
-
+
+
setSearch(e.target.value)} - style={{ width: '180px' }} + style={{ minWidth: '140px' }} />
- +
-
+
{/* Product Table */} -
+
@@ -219,7 +219,7 @@ export default function Products() { {/* Right Sidebar */} -
+
Top Produkte für Content
diff --git a/client/src/pages/Settings.tsx b/client/src/pages/Settings.tsx index c583d67..5aecda4 100644 --- a/client/src/pages/Settings.tsx +++ b/client/src/pages/Settings.tsx @@ -56,12 +56,12 @@ export default function Settings() { return (
{/* Header */} -
+

Einstellungen

Verwalte Kanäle, Integrationen, Branding und Systemregeln.

-
+
26. Mai 2025, 09:41
diff --git a/client/src/pages/WarRoom.tsx b/client/src/pages/WarRoom.tsx index b1e13fa..8c281b7 100644 --- a/client/src/pages/WarRoom.tsx +++ b/client/src/pages/WarRoom.tsx @@ -176,7 +176,7 @@ export default function WarRoom() { return (
{/* Page Header */} -
+

War Room @@ -185,7 +185,7 @@ export default function WarRoom() { Zentrale Übersicht & Steuerung deiner Content-Operationen

-
+