Added a sidebar to the editor
Its empty rn and doesnt look the best but I cant be bothered to make it look better rn cuz hot reloading is broken
This commit is contained in:
1 parent
b403690457
commit
807551a347
3 files changed
+22
-1
No files matched your search
@@ -1 +1,6 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
.sidebar {
|
||||
@apply bg-[rgb(24,24,36)] m-5 p-5 border border-[rgb(48,48,72)] rounded-lg;
|
||||
@apply w-20 h-screen;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
'use client'
|
||||
|
||||
import "./Editor_Globals.css";
|
||||
|
||||
export default function Editor_Layout ({
|
||||
children
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<div className="sidebar"></div>
|
||||
|
||||
<main>{children}</main>
|
||||
</>
|
||||
)
|
||||
}
|
||||
@@ -5,7 +5,6 @@ import './Editor_Globals.css'
|
||||
export default function Editor_page () {
|
||||
return (
|
||||
<>
|
||||
<p>Editor page</p>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user