From b6da486258b0cf7ed53dad7398351c2b694f17b6 Mon Sep 17 00:00:00 2001 From: opacity <14070843+liuliuliu5256@user.noreply.gitee.com> Date: Wed, 3 Apr 2024 13:50:57 +0800 Subject: [PATCH] =?UTF-8?q?style(navbar):=20=E5=AE=8C=E5=96=84=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E6=A0=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/images/nav/book.svg | 4 ++++ public/images/nav/book_active.svg | 5 ++++ public/images/nav/find.svg | 7 ++++++ public/images/nav/find_active.svg | 8 +++++++ public/images/nav/user.svg | 11 +++++++++ public/images/nav/user_active.svg | 5 ++++ src/app/_components/common/Navbar.jsx | 34 +++++++++++++-------------- 7 files changed, 56 insertions(+), 18 deletions(-) create mode 100644 public/images/nav/book.svg create mode 100644 public/images/nav/book_active.svg create mode 100644 public/images/nav/find.svg create mode 100644 public/images/nav/find_active.svg create mode 100644 public/images/nav/user.svg create mode 100644 public/images/nav/user_active.svg diff --git a/public/images/nav/book.svg b/public/images/nav/book.svg new file mode 100644 index 0000000..71fc331 --- /dev/null +++ b/public/images/nav/book.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/images/nav/book_active.svg b/public/images/nav/book_active.svg new file mode 100644 index 0000000..6e1d42e --- /dev/null +++ b/public/images/nav/book_active.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/images/nav/find.svg b/public/images/nav/find.svg new file mode 100644 index 0000000..3c95c3c --- /dev/null +++ b/public/images/nav/find.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/public/images/nav/find_active.svg b/public/images/nav/find_active.svg new file mode 100644 index 0000000..678960a --- /dev/null +++ b/public/images/nav/find_active.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/public/images/nav/user.svg b/public/images/nav/user.svg new file mode 100644 index 0000000..7483ca9 --- /dev/null +++ b/public/images/nav/user.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/images/nav/user_active.svg b/public/images/nav/user_active.svg new file mode 100644 index 0000000..4573d24 --- /dev/null +++ b/public/images/nav/user_active.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/app/_components/common/Navbar.jsx b/src/app/_components/common/Navbar.jsx index a0c1d95..750c332 100644 --- a/src/app/_components/common/Navbar.jsx +++ b/src/app/_components/common/Navbar.jsx @@ -1,26 +1,24 @@ +"use client" import React from 'react'; import Link from 'next/link'; const Navbar = () => { return ( -