From 4b28e9d31c6ef1a030f19f34a92b379c7aa07113 Mon Sep 17 00:00:00 2001 From: slhmy <1484836413@qq.com> Date: Tue, 26 Sep 2023 16:25:26 +0800 Subject: [PATCH] Adjust pages --- src/layouts/adminLayout/Sidebar.tsx | 31 ++++++++--------------------- src/layouts/userLayout/Header.tsx | 28 +++++++++++++++----------- 2 files changed, 24 insertions(+), 35 deletions(-) diff --git a/src/layouts/adminLayout/Sidebar.tsx b/src/layouts/adminLayout/Sidebar.tsx index c5873efd8..b3ef29028 100644 --- a/src/layouts/adminLayout/Sidebar.tsx +++ b/src/layouts/adminLayout/Sidebar.tsx @@ -2,7 +2,6 @@ import { Fragment, useState } from "react"; import { Dialog, Menu, Transition } from "@headlessui/react"; import { Bars3Icon, - BellIcon, HomeIcon, UsersIcon, XMarkIcon, @@ -19,7 +18,7 @@ const user = { imageUrl: "./avatars/male-avatar-1.svg", }; const userNavigation = [ - { name: "Your profile", href: "#" }, + { name: "Main Page", href: "/problem" }, { name: "Sign out", href: "#" }, ]; @@ -141,7 +140,7 @@ export default function Sidebar(props: SidebarProps) { {/* Static sidebar for desktop */} -
+
{/* Sidebar component, swap this element with another sidebar if you like */}
@@ -187,8 +186,8 @@ export default function Sidebar(props: SidebarProps) {
-
-
+
+
- - {/* Separator */} -