From 3f68d449be17989de981f93d5920f0ac4a218866 Mon Sep 17 00:00:00 2001 From: DanielEmmanuel1 Date: Fri, 29 Aug 2025 20:10:35 +0100 Subject: [PATCH 1/2] refactor: remove unnecessary max-width from profile settings form --- components/settings/profile-settings-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/settings/profile-settings-form.tsx b/components/settings/profile-settings-form.tsx index 0cc0594..af3db65 100644 --- a/components/settings/profile-settings-form.tsx +++ b/components/settings/profile-settings-form.tsx @@ -209,7 +209,7 @@ export function ProfileSettingsForm() { }; return ( -
+
{/* Cover Photo Section */}
From 8761a03b9f7f05183226f4a5aee0b4aac18b70f7 Mon Sep 17 00:00:00 2001 From: DanielEmmanuel1 Date: Fri, 29 Aug 2025 20:11:18 +0100 Subject: [PATCH 2/2] refactor: remove unnecessary max-width from various settings pages and improve layout consistency --- app/(main)/settings/developers/page.tsx | 12 ++++++------ app/(main)/settings/profile/page.tsx | 2 +- app/(main)/settings/verification/page.tsx | 2 +- app/(main)/settings/wallet/page.tsx | 6 +++--- components/settings/settings-layout.tsx | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/(main)/settings/developers/page.tsx b/app/(main)/settings/developers/page.tsx index ffd5550..3a0c2af 100644 --- a/app/(main)/settings/developers/page.tsx +++ b/app/(main)/settings/developers/page.tsx @@ -20,10 +20,10 @@ export default function DevelopersPage() { const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setIsSubmitting(true); - + // Simulate API call await new Promise(resolve => setTimeout(resolve, 2000)); - + setUserEmail(email); setVerificationStatus("pending"); setIsSubmitting(false); @@ -34,7 +34,7 @@ export default function DevelopersPage() { switch (status) { case "pending": return ( - +
{/* Header */}

Developers

@@ -113,7 +113,7 @@ export default function DevelopersPage() { {userEmail}

- {verificationStatus === "pending" + {verificationStatus === "pending" ? "We've sent a verification email. Please check your inbox and follow the instructions." : "Your email has been verified and you have access to the developer API." } diff --git a/app/(main)/settings/profile/page.tsx b/app/(main)/settings/profile/page.tsx index faa67aa..3e7b093 100644 --- a/app/(main)/settings/profile/page.tsx +++ b/app/(main)/settings/profile/page.tsx @@ -4,7 +4,7 @@ import { ProfileSettingsForm } from "@/components/settings/profile-settings-form export default function ProfileSettingsPage() { return ( -

+

Edit Profile

diff --git a/app/(main)/settings/verification/page.tsx b/app/(main)/settings/verification/page.tsx index 9bc1acf..59da98d 100644 --- a/app/(main)/settings/verification/page.tsx +++ b/app/(main)/settings/verification/page.tsx @@ -3,7 +3,7 @@ import { Shield } from "lucide-react"; export default function VerificationPage() { return ( -

+

Verification

diff --git a/app/(main)/settings/wallet/page.tsx b/app/(main)/settings/wallet/page.tsx index d97b2f1..0321852 100644 --- a/app/(main)/settings/wallet/page.tsx +++ b/app/(main)/settings/wallet/page.tsx @@ -28,13 +28,13 @@ export default function WalletPage() { }; return ( -

+
Wallet
-
+

Select and manage your notification preferences to control how and when you receive updates to your email and in-app. -

+

diff --git a/components/settings/settings-layout.tsx b/components/settings/settings-layout.tsx index 5581309..eba5ec0 100644 --- a/components/settings/settings-layout.tsx +++ b/components/settings/settings-layout.tsx @@ -32,15 +32,15 @@ export function SettingsLayout({ children }: { children: React.ReactNode }) { }, [toggleSidebar]); return ( -
+
{/* Sidebar Component */} {/* Main Content */}
-
-
{children}
+
+
{children}