Changed DashboardLayout name to GeneralLayout

This commit is contained in:
Tania Gutierrez 2024-03-11 23:38:01 -04:00
parent 9b09f6854a
commit 619963688b
Signed by: riobuenoDevelops
GPG Key ID: 53133EB28EB7E801
2 changed files with 4 additions and 4 deletions

View File

@ -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">

View File

@ -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>
)
}