diff --git a/packages/frontend/src/App.tsx b/packages/frontend/src/App.tsx
index a32fcd0c..0e171b94 100644
--- a/packages/frontend/src/App.tsx
+++ b/packages/frontend/src/App.tsx
@@ -1,7 +1,6 @@
import React from 'react';
import { createBrowserRouter, RouterProvider } from 'react-router-dom';
-import OrgSlug from './pages/OrgSlug';
import Projects from './pages/org-slug';
import Settings from './pages/org-slug/Settings';
import {
@@ -11,11 +10,12 @@ import {
import ProjectSearchLayout from './layouts/ProjectSearch';
import Index from './pages';
import Login from './pages/Login';
+import { DashboardLayout } from 'pages/org-slug/layout';
const router = createBrowserRouter([
{
path: ':orgSlug',
- element: ,
+ element: ,
children: [
{
element: ,
diff --git a/packages/frontend/src/pages/OrgSlug.tsx b/packages/frontend/src/pages/OrgSlug.tsx
deleted file mode 100644
index 834bb15d..00000000
--- a/packages/frontend/src/pages/OrgSlug.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { Outlet } from 'react-router-dom';
-
-import { OctokitProvider } from 'context/OctokitContext';
-import { Sidebar } from 'components/shared/Sidebar';
-
-const OrgSlug = () => {
- return (
-
- );
-};
-
-export default OrgSlug;
diff --git a/packages/frontend/src/pages/org-slug/layout.tsx b/packages/frontend/src/pages/org-slug/layout.tsx
new file mode 100644
index 00000000..72050c7b
--- /dev/null
+++ b/packages/frontend/src/pages/org-slug/layout.tsx
@@ -0,0 +1,31 @@
+import { Sidebar } from 'components/shared/Sidebar';
+import { OctokitProvider } from 'context/OctokitContext';
+import React, { ComponentPropsWithoutRef } from 'react';
+import { Outlet } from 'react-router-dom';
+import { cn } from 'utils/classnames';
+
+export interface DashboardLayoutProps
+ extends ComponentPropsWithoutRef<'section'> {}
+
+export const DashboardLayout = ({
+ className,
+ children,
+ ...props
+}: DashboardLayoutProps) => {
+ return (
+
+ );
+};