File Manager - Dashboard Routes #2
|
@ -4,7 +4,7 @@ import lumeColorLogoPng from "~/images/lume-color-logo.png?url"
|
|||
import discordLogoPng from "~/images/discord-logo.png?url"
|
||||
import { Link } from "@remix-run/react"
|
||||
|
||||
export const DashboardLayout = ({ children }: React.PropsWithChildren<{}>) => {
|
||||
export const GeneralLayout = ({ children }: React.PropsWithChildren<{}>) => {
|
||||
return (
|
||||
<div className="p-10 h-full flex flex-row">
|
||||
<header className="w-full flex flex-col max-w-[240px] h-full">
|
|
@ -1,4 +1,4 @@
|
|||
import { DashboardLayout } from "~/components/dashboard-layout"
|
||||
import { GeneralLayout } from "~/components/general-layout"
|
||||
|
||||
export default function Dashboard() {
|
||||
const isLogged = true
|
||||
|
@ -7,8 +7,8 @@ export default function Dashboard() {
|
|||
}
|
||||
|
||||
return (
|
||||
<DashboardLayout>
|
||||
<GeneralLayout>
|
||||
<div>Hello</div>
|
||||
</DashboardLayout>
|
||||
</GeneralLayout>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue