diff --git a/src/App.tsx b/src/App.tsx index e2aa049..0291555 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,158 +1,86 @@ import { Routes, Route, Navigate } from 'react-router-dom' -import { PublicHeader } from './components/PublicHeader' -import { PublicFooter } from './components/PublicFooter' -import { AppShell } from './components/AppShell' -import { ThemeToggle } from './components/ThemeToggle' -import { Link } from 'react-router-dom' - -function PublicLayout({ children }: { children: React.ReactNode }) { - return ( -
- Blockchain-anchored e-signatures with independent verification. No vendor lock-in, no expiration. -
-Upload any PDF document to get started
-Add signers and collect e-signatures
-Proof anchored on Ethereum L2
-Total Documents
-12
-Pending Signatures
-3
-Completed
-8
-Anchored On-Chain
-8
-NDA Agreement #{i}
-Created 2 days ago
-Step 2: Public and authenticated layouts
-- Used for landing page, pricing, verify, login, and register pages. - Includes PublicHeader (sticky navigation) and PublicFooter (links & social). -
- - View Public Layout → - -- Used for dashboard, documents, envelopes, and settings. - Includes AppShell (flex layout), Sidebar (responsive navigation), and Topbar (header with menu). -
- - View Authenticated Layout → - -{description}
+ )} + {action} ++ {error} +
+ )} + {helperText && !error && ( ++ {helperText} +
+ )} +