forked from cerc-io/snowballtools-base
* ⚡️ feat: create heading component * ♻️ refactor: move sidebar inside shared components * ⚡️ feat: add polymorphic prop type for heading component * 🎨 style: re-styling project list page * ♻️ refactor: remove `.env` * 🎨 style: set default font weight to normal for heading component
27 lines
680 B
TypeScript
27 lines
680 B
TypeScript
import React from 'react';
|
|
import { Outlet } from 'react-router-dom';
|
|
|
|
import { OctokitProvider } from 'context/OctokitContext';
|
|
import { Sidebar } from 'components/shared/Sidebar';
|
|
|
|
const OrgSlug = () => {
|
|
return (
|
|
<div className="grid grid-cols-5 h-screen bg-snowball-50">
|
|
<>
|
|
<div className="h-full">
|
|
<Sidebar />
|
|
</div>
|
|
<div className="col-span-4 h-full p-3 overflow-y-hidden">
|
|
<div className="bg-white rounded-3xl h-full overflow-y-auto shadow-sm">
|
|
<OctokitProvider>
|
|
<Outlet />
|
|
</OctokitProvider>
|
|
</div>
|
|
</div>
|
|
</>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default OrgSlug;
|