时间显示到秒 & 表格之间的跳转页面

This commit is contained in:
Eamon
2026-05-13 14:57:27 +08:00
parent bc29a025b0
commit 284b0d6afe
25 changed files with 442 additions and 240 deletions

View File

@@ -1,10 +1,15 @@
"use client"
import { ComputerIcon } from "lucide-react"
import { useEffect, useState } from "react"
import { getNodeEnv } from "@/actions/env"
import { cn } from "@/lib/utils"
export default async function Logo(props: { collapsed: boolean }) {
const env = await getNodeEnv()
export default function Logo(props: { collapsed: boolean }) {
const [env, setEnv] = useState<string>("")
useEffect(() => {
getNodeEnv().then(setEnv)
}, [])
return (
<div
className={cn(