feature: ChatGPT style show/hide panel button, panel state saving in local storage (#575)

* Add nav bar state saving to local storage

* Add ChatGPT style hide side panel button
This commit is contained in:
David 2023-07-04 05:26:00 +09:00 committed by GitHub
parent 88683b9cc5
commit 8e1473c3d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 44 deletions

View file

@ -4,8 +4,8 @@ export default function Panel({ open = false, className }) {
const openPanel = (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
@ -23,8 +23,8 @@ export default function Panel({ open = false, className }) {
const closePanel = (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"