This commit is contained in:
宇阳
2024-08-22 16:28:36 +08:00
parent 4573754a4f
commit 671ea74614
3 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ import DefaultLayout from "@/layout/DefaultLayout";
import { Route, Routes, useLocation, useNavigate } from "react-router-dom";
import Home from '@/pages/Dashboard';
import Create from '@/pages/Cate';
import Create from '@/pages/Create';
import Cate from '@/pages/Cate';
import Article from '@/pages/Article';
import Comment from '@/pages/Comment';

View File

@@ -9,6 +9,7 @@ import { LiaRssSolid } from "react-icons/lia";
import { useUserStore } from '@/stores';
import { getRouteListAPI } from '@/api/Role'
import { Route } from '@/types/app/route';
import logo from '@/images/logo/logo.png'
interface SidebarProps {
sidebarOpen: boolean;
@@ -241,9 +242,7 @@ const Sidebar = ({ sidebarOpen, setSidebarOpen }: SidebarProps) => {
>
<div className="flex justify-center items-center gap-2 px-6 py-5.5 pb-2 lg:pt-6">
<NavLink to="/">
<h1 className='flex items-center text-2xl font-bold text-white'>
<LuCrown className='mr-2' /> Thrive Admin
</h1>
<img src={logo} alt="logo" className='w-30' />
</NavLink>
<button

BIN
src/images/logo/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB