diff --git a/apps/landing/src/app/admin/apikeys/page.tsx b/apps/landing/src/app/admin/apikeys/page.tsx
index a73046f..1e5cc61 100644
--- a/apps/landing/src/app/admin/apikeys/page.tsx
+++ b/apps/landing/src/app/admin/apikeys/page.tsx
@@ -6,6 +6,7 @@ import { createProjectApiKey, listApiKeys } from '@/lib/actions/apiKeyActions';
import KeyDisplay from '@/components/admin/KeyDisplay';
import AdminFormInput from '@/components/admin/AdminFormInput';
import AdminButton from '@/components/admin/AdminButton';
+import { Section } from '@/components/shared/Section';
const STORAGE_KEY = 'banatie_master_key';
@@ -68,7 +69,7 @@ export default function ApiKeysPage() {
}
return (
-
+
{/* Page Header */}
Project API Keys
@@ -188,6 +189,6 @@ export default function ApiKeysPage() {
)}
-
+
);
}
diff --git a/apps/landing/src/app/admin/master/page.tsx b/apps/landing/src/app/admin/master/page.tsx
index 23ad318..3b761a9 100644
--- a/apps/landing/src/app/admin/master/page.tsx
+++ b/apps/landing/src/app/admin/master/page.tsx
@@ -5,6 +5,7 @@ import { bootstrapMasterKey } from '@/lib/actions/apiKeyActions';
import KeyDisplay from '@/components/admin/KeyDisplay';
import AdminFormInput from '@/components/admin/AdminFormInput';
import AdminButton from '@/components/admin/AdminButton';
+import { NarrowSection } from '@/components/shared/NarrowSection';
const STORAGE_KEY = 'banatie_master_key';
@@ -66,7 +67,7 @@ export default function MasterKeyPage() {
};
return (
-
+
{/* Page Header */}
Master Key Management
@@ -132,6 +133,6 @@ export default function MasterKeyPage() {
Save Manual Key
-
+
);
}
diff --git a/apps/landing/src/components/shared/NarrowSection.tsx b/apps/landing/src/components/shared/NarrowSection.tsx
new file mode 100644
index 0000000..b14c5cf
--- /dev/null
+++ b/apps/landing/src/components/shared/NarrowSection.tsx
@@ -0,0 +1,17 @@
+import { ReactNode } from 'react';
+
+interface NarrowSectionProps {
+ children: ReactNode;
+ className?: string;
+ bgClassName?: string;
+}
+
+export const NarrowSection = ({ children, className = '', bgClassName = '' }: NarrowSectionProps) => {
+ return (
+
+ );
+};
diff --git a/apps/landing/src/components/shared/Section.tsx b/apps/landing/src/components/shared/Section.tsx
new file mode 100644
index 0000000..96acdcb
--- /dev/null
+++ b/apps/landing/src/components/shared/Section.tsx
@@ -0,0 +1,17 @@
+import { ReactNode } from 'react';
+
+interface SectionProps {
+ children: ReactNode;
+ className?: string;
+ bgClassName?: string;
+}
+
+export const Section = ({ children, className = '', bgClassName = '' }: SectionProps) => {
+ return (
+
+ );
+};