mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-08-10 10:52:54 +02:00
enh: add discord and github buttons
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Footer from "@/components/Footer"
|
||||
import Navbar from "@/components/Navbar"
|
||||
import { SocialCornerBadges } from "@/components/SocialCornerBadges"
|
||||
import { Navigate, Route, Routes, useLocation } from "react-router-dom"
|
||||
import AdminPage from "./pages/AdminPage"
|
||||
import HomePage from "./pages/HomePage"
|
||||
@@ -14,6 +15,7 @@ function Layout({ children }: { children: React.ReactNode }) {
|
||||
const hideNav = loc.pathname === "/"
|
||||
return (
|
||||
<div className="min-h-screen flex flex-col">
|
||||
<SocialCornerBadges />
|
||||
{!hideNav && <Navbar />}
|
||||
<main className="flex-1">{children}</main>
|
||||
<Footer />
|
||||
|
||||
Reference in New Issue
Block a user