添加优惠券发放的功能 & 切换后台线上和线下首页区别

This commit is contained in:
Eamon
2026-05-08 16:02:48 +08:00
parent 7cd1a7cbe7
commit 85f9e68e32
9 changed files with 409 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ import {
} from "lucide-react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { createContext, type ReactNode, useContext, useState } from "react"
import { createContext, type ReactNode, Suspense, useContext, useState } from "react"
import { twJoin } from "tailwind-merge"
import { Auth } from "@/components/auth"
import { Button } from "@/components/ui/button"
@@ -307,7 +307,7 @@ export default function Navigation() {
)}
>
{/*Logo 区域 */}
<Logo collapsed={collapsed} />
<Suspense><Logo collapsed={collapsed} /></Suspense>
{/* Navigation Menu */}
<ScrollArea className="flex-1 py-3 overflow-hidden">