diff --git a/packages/frontend/src/Account.tsx b/packages/frontend/src/Account.tsx
index 4756fae..c4944c3 100644
--- a/packages/frontend/src/Account.tsx
+++ b/packages/frontend/src/Account.tsx
@@ -1,16 +1,10 @@
-import { Link } from "react-router-dom";
+import { SettingsPageLayout } from "@/components/settings-page-layout";
function Account() {
return (
-
- Account
-
- Account page here
-
-
- Go to Home
-
-
+
+ Account page here
+
);
}
diff --git a/packages/frontend/src/Organisations.tsx b/packages/frontend/src/Organisations.tsx
index 14d2112..05a9d6e 100644
--- a/packages/frontend/src/Organisations.tsx
+++ b/packages/frontend/src/Organisations.tsx
@@ -1,16 +1,10 @@
-import { Link } from "react-router-dom";
+import { SettingsPageLayout } from "@/components/settings-page-layout";
function Organisations() {
return (
-
- Organisations
-
- Organisations page here
-
-
- Go to Home
-
-
+
+ Organisations page here
+
);
}
diff --git a/packages/frontend/src/components/settings-page-layout.tsx b/packages/frontend/src/components/settings-page-layout.tsx
new file mode 100644
index 0000000..a2637ea
--- /dev/null
+++ b/packages/frontend/src/components/settings-page-layout.tsx
@@ -0,0 +1,22 @@
+import { Home } from "lucide-react";
+import type { ReactNode } from "react";
+import { Link } from "react-router-dom";
+import { Button } from "@/components/ui/button";
+
+export function SettingsPageLayout({ title, children }: { title: string; children?: ReactNode }) {
+ return (
+
+
+
+
+
{title}
+
+
+ {children}
+
+ );
+}