优化导航栏性能,完善导航栏弹出菜单的移动端适配;调整导航栏与 store 公共组件的所在目录结构

This commit is contained in:
2025-06-22 10:58:41 +08:00
parent b295fea52f
commit 483a33296a
24 changed files with 469 additions and 649 deletions

View File

@@ -1,7 +1,7 @@
'use client'
import {PanelLeftCloseIcon, PanelLeftOpenIcon} from 'lucide-react'
import {Button} from '@/components/ui/button'
import {useLayoutStore} from '@/app/stores'
import {useLayoutStore} from '@/components/stores-provider'
import {merge} from '@/lib/utils'
import UserCenter from '@/components/composites/user-center'
import {User} from '@/lib/models'

View File

@@ -1,6 +1,6 @@
'use client'
import {ReactNode} from 'react'
import {useLayoutStore} from '@/app/stores'
import {useLayoutStore} from '@/components/stores-provider'
import {merge} from '@/lib/utils'
type AdminLayoutProps = {

View File

@@ -1,7 +1,7 @@
'use client'
import {ComponentProps, ReactNode, useState} from 'react'
import {merge} from '@/lib/utils'
import {useLayoutStore} from '@/app/stores'
import {useLayoutStore} from '@/components/stores-provider'
import Link from 'next/link'
import Image from 'next/image'
import logoAvatar from '../_assets/logo-avatar.svg'