Compare commits

...

2 Commits

Author SHA1 Message Date
hamster1963
fbc4eda27d style: button add hover animation 2025-01-11 18:53:54 +08:00
hamster1963
b265b68fa3 chore: deps 2025-01-11 18:47:56 +08:00
4 changed files with 8 additions and 8 deletions

View File

@ -68,7 +68,7 @@ export default function ServerDetailClient({
<div> <div>
<div <div
onClick={linkClick} onClick={linkClick}
className="flex flex-none cursor-pointer font-semibold leading-none items-center break-all tracking-tight gap-0.5 text-xl" className="flex flex-none cursor-pointer font-semibold leading-none items-center break-all tracking-tight gap-0.5 text-xl hover:opacity-50 transition-opacity duration-300"
> >
<BackIcon /> <BackIcon />
{data?.name} {data?.name}

BIN
bun.lockb

Binary file not shown.

View File

@ -57,7 +57,7 @@ export default function TabSwitch({
onClick={() => setCurrentTab(tab)} onClick={() => setCurrentTab(tab)}
className={cn( className={cn(
"relative cursor-pointer rounded-3xl px-2.5 py-[8px] text-[13px] font-[600]", "relative cursor-pointer rounded-3xl px-2.5 py-[8px] text-[13px] font-[600]",
"transition-all duration-500 ease-in-out text-stone-400 dark:text-stone-500", "transition-all duration-500 ease-in-out text-stone-400 dark:text-stone-500 hover:text-stone-950 hover:dark:text-stone-50",
{ {
"text-stone-950 dark:text-stone-50": currentTab === tab, "text-stone-950 dark:text-stone-50": currentTab === tab,
}, },

View File

@ -32,10 +32,10 @@
"@types/d3-geo": "^3.1.0", "@types/d3-geo": "^3.1.0",
"@types/luxon": "^3.4.2", "@types/luxon": "^3.4.2",
"@typescript-eslint/eslint-plugin": "^8.19.1", "@typescript-eslint/eslint-plugin": "^8.19.1",
"caniuse-lite": "^1.0.30001690", "caniuse-lite": "^1.0.30001692",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"country-flag-icons": "^1.5.13", "country-flag-icons": "^1.5.14",
"d3-geo": "^3.1.1", "d3-geo": "^3.1.1",
"d3-selection": "^3.0.0", "d3-selection": "^3.0.0",
"eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-simple-import-sort": "^12.1.1",
@ -64,16 +64,16 @@
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.9.4", "@biomejs/biome": "1.9.4",
"@next/bundle-analyzer": "^15.1.4", "@next/bundle-analyzer": "^15.1.4",
"@tailwindcss/postcss": "^4.0.0-beta.8", "@tailwindcss/postcss": "^4.0.0-beta.9",
"@types/node": "^22.10.5", "@types/node": "^22.10.5",
"@types/react": "^19.0.3", "@types/react": "^19.0.4",
"@types/react-dom": "^19.0.2", "@types/react-dom": "^19.0.2",
"eslint-config-next": "^15.1.4", "eslint-config-next": "^15.1.4",
"eslint-plugin-turbo": "^2.3.3", "eslint-plugin-turbo": "^2.3.3",
"eslint-plugin-unused-imports": "^4.1.4", "eslint-plugin-unused-imports": "^4.1.4",
"postcss": "^8.4.49", "postcss": "^8.4.49",
"tailwindcss": "^4.0.0-beta.8", "tailwindcss": "^4.0.0-beta.9",
"typescript": "^5.7.2", "typescript": "^5.7.3",
"vercel": "^39.2.6" "vercel": "^39.2.6"
}, },
"overrides": { "overrides": {