From 6ab4b8c2a59563424eb2d8454637a05004a9ffa4 Mon Sep 17 00:00:00 2001 From: James Bhattarai Date: Sun, 29 Mar 2026 10:49:27 +0545 Subject: [PATCH] Fix(UI): Fix security page routing and standardize marketing CTA card styles --- src/App.tsx | 2 +- src/components/navigation/AppSidebar.tsx | 2 +- src/pages/marketing/DemoPage.tsx | 47 +++++++++++---------- src/pages/marketing/FeaturesPage.tsx | 4 +- src/pages/marketing/PricingPage.tsx | 47 +++++++++++---------- src/pages/marketing/SSHCertificatesPage.tsx | 4 +- src/pages/marketing/SecurityPage.tsx | 4 +- 7 files changed, 58 insertions(+), 52 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 1979e11..8bce14c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -172,7 +172,7 @@ function AppRoutes() { }> {/* User routes */} } /> - } /> + } /> } /> } /> } /> diff --git a/src/components/navigation/AppSidebar.tsx b/src/components/navigation/AppSidebar.tsx index 017ff0d..06b2685 100644 --- a/src/components/navigation/AppSidebar.tsx +++ b/src/components/navigation/AppSidebar.tsx @@ -39,7 +39,7 @@ import { cn } from "@/lib/utils"; const userNavItems = [ { title: "Profile", url: "/profile", icon: User }, - { title: "Security", url: "/security", icon: Shield }, + { title: "Security", url: "/account/security", icon: Shield }, { title: "SSH Keys", url: "/ssh-keys", icon: Terminal }, { title: "Linked Accounts", url: "/linked-accounts", icon: Link2 }, { title: "Activity", url: "/activity", icon: Activity }, diff --git a/src/pages/marketing/DemoPage.tsx b/src/pages/marketing/DemoPage.tsx index 0b97a56..51490a5 100644 --- a/src/pages/marketing/DemoPage.tsx +++ b/src/pages/marketing/DemoPage.tsx @@ -227,29 +227,32 @@ return ( {/* CTA */} -
+
-
-

- Ready to Try It Yourself? -

-

- Start your free trial today. No credit card required. Full access to all features. -

-
- - - - - - -
-
+ +
+ +

+ Ready to Try It Yourself? +

+

+ Start your free trial today. No credit card required. Full access to all features. +

+
+ + + + + + +
+
+
diff --git a/src/pages/marketing/FeaturesPage.tsx b/src/pages/marketing/FeaturesPage.tsx index 1360b35..748b84f 100644 --- a/src/pages/marketing/FeaturesPage.tsx +++ b/src/pages/marketing/FeaturesPage.tsx @@ -509,13 +509,13 @@ return (

- - diff --git a/src/pages/marketing/PricingPage.tsx b/src/pages/marketing/PricingPage.tsx index e840b28..b021949 100644 --- a/src/pages/marketing/PricingPage.tsx +++ b/src/pages/marketing/PricingPage.tsx @@ -328,29 +328,32 @@ return (
{/* CTA */} -
+
-
-

- Start Your Free Trial Today -

-

- Try Secuird free for 14 days. No credit card required. Full access to all Business features. -

-
- - - - - - -
-
+ +
+ +

+ Start Your Free Trial Today +

+

+ Try Secuird free for 14 days. No credit card required. Full access to all Business features. +

+
+ + + + + + +
+
+
diff --git a/src/pages/marketing/SSHCertificatesPage.tsx b/src/pages/marketing/SSHCertificatesPage.tsx index 5ba917a..a876f73 100644 --- a/src/pages/marketing/SSHCertificatesPage.tsx +++ b/src/pages/marketing/SSHCertificatesPage.tsx @@ -435,13 +435,13 @@ $ systemctl restart sshd`}

- - diff --git a/src/pages/marketing/SecurityPage.tsx b/src/pages/marketing/SecurityPage.tsx index 4dd920d..7ad2b44 100644 --- a/src/pages/marketing/SecurityPage.tsx +++ b/src/pages/marketing/SecurityPage.tsx @@ -464,12 +464,12 @@ return (

- -