新增组件

This commit is contained in:
2025-07-28 11:09:56 +08:00
parent 4daea5dfdd
commit abc2800b31
7 changed files with 102 additions and 42 deletions

View File

@@ -48,7 +48,7 @@ const handleLoginRegister = (type: "login" | "register") => {
<template #right>
<UContentSearchButton class="lg:hidden" />
<UColorModeSwitch />
<UColorModeButton />
<button
class=" p-2 rounded-md text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"
title="页面设置" @click="isSettingsOpen = !isSettingsOpen">
@@ -64,7 +64,7 @@ const handleLoginRegister = (type: "login" | "register") => {
<UButton
color="neutral"
variant="ghost"
to="https://github.com/nuxt/ui"
to="https://github.com/estel-li"
target="_blank"
icon="i-simple-icons-github"
aria-label="GitHub"