chore: move navigation bar to layout from each page file

This commit is contained in:
2024-09-09 15:33:02 +00:00
parent d1ae92669b
commit a7e6b093f7
4 changed files with 8 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
"use client";
import Link from "next/link";
import React from "react";

View File

@@ -6,7 +6,6 @@ import Stats from "./stats";
import ServerName from "./serverName";
import ServerControl from "./serverControl";
import ServerStatus from "./serverStatus";
import Navigation from "../ConsoleNavigation";
const Console = () => {
const [apiKey, setApiKey] = useState("");
@@ -157,7 +156,6 @@ const Console = () => {
return (
<>
<Navigation />
<section className="container mx-auto">
<div className="flex flex-col gap-4">
<div className="flex gap-4">