Compare commits

...

5 Commits

Author SHA1 Message Date
hamster1963
b792af4539 Merge branch 'main' into cloudflare 2024-11-24 22:17:33 +08:00
hamster1963
5878b272be update: v1.4.10 2024-11-24 22:17:20 +08:00
hamster1963
cbdbf6227c chore: deps 2024-11-24 22:15:32 +08:00
hamster1963
88a7a2bba7 style(header): button hover color 2024-11-24 22:15:05 +08:00
hamster1963
8f673497ba style: card hover color 2024-11-24 22:12:03 +08:00
5 changed files with 5 additions and 5 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -27,7 +27,7 @@ export function LanguageSwitcher() {
<Button <Button
variant="outline" variant="outline"
size="sm" size="sm"
className="rounded-full px-[9px] bg-white dark:bg-black" className="rounded-full px-[9px] bg-white dark:bg-black cursor-pointer hover:bg-accent/50"
> >
{localeItems.find((item) => item.code === locale)?.name} {localeItems.find((item) => item.code === locale)?.name}
<span className="sr-only">Change language</span> <span className="sr-only">Change language</span>

View File

@ -37,7 +37,7 @@ export default function ServerCard({
<Link onClick={saveSession} href={`/${id}`} prefetch={true}> <Link onClick={saveSession} href={`/${id}`} prefetch={true}>
<Card <Card
className={cn( className={cn(
"flex flex-col items-center justify-start gap-3 p-3 md:px-5 cursor-pointer", "flex flex-col items-center justify-start gap-3 p-3 md:px-5 cursor-pointer hover:bg-accent/50 transition-colors",
{ {
"flex-col": fixedTopServerName, "flex-col": fixedTopServerName,
"lg:flex-row": !fixedTopServerName, "lg:flex-row": !fixedTopServerName,

View File

@ -28,7 +28,7 @@ export function ModeToggle() {
<Button <Button
variant="outline" variant="outline"
size="sm" size="sm"
className="rounded-full px-[9px] bg-white dark:bg-black" className="rounded-full px-[9px] bg-white dark:bg-black cursor-pointer hover:bg-accent/50"
> >
<Sun className="h-4 w-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" /> <Sun className="h-4 w-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />
<Moon className="absolute h-4 w-4 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" /> <Moon className="absolute h-4 w-4 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" />

View File

@ -1,6 +1,6 @@
{ {
"name": "nezha-dash", "name": "nezha-dash",
"version": "1.4.9", "version": "1.4.10",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3040", "dev": "next dev -p 3040",
@ -25,7 +25,7 @@
"@turf/turf": "^7.1.0", "@turf/turf": "^7.1.0",
"@types/luxon": "^3.4.2", "@types/luxon": "^3.4.2",
"@typescript-eslint/eslint-plugin": "^8.15.0", "@typescript-eslint/eslint-plugin": "^8.15.0",
"caniuse-lite": "^1.0.30001683", "caniuse-lite": "^1.0.30001684",
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"country-flag-icons": "^1.5.13", "country-flag-icons": "^1.5.13",