diff --git a/package.json b/package.json index e37e04361e..631c50df6f 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "@radix-ui/react-separator": "^1.1.6", "@radix-ui/react-slider": "^1.3.4", "@radix-ui/react-slot": "^1.2.2", + "@radix-ui/react-switch": "^1.2.4", "@radix-ui/react-tabs": "^1.1.11", "@radix-ui/react-toast": "^1.2.13", "@radix-ui/react-tooltip": "^1.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7f522066ea..4bc4717340 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,6 +53,9 @@ importers: '@radix-ui/react-slot': specifier: ^1.2.2 version: 1.2.2(@types/react@19.1.3)(react@19.1.0) + '@radix-ui/react-switch': + specifier: ^1.2.4 + version: 1.2.4(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) '@radix-ui/react-tabs': specifier: ^1.1.11 version: 1.1.11(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) @@ -2568,6 +2571,19 @@ packages: '@types/react': optional: true + '@radix-ui/react-switch@1.2.4': + resolution: {integrity: sha512-yZCky6XZFnR7pcGonJkr9VyNRu46KcYAbyg1v/gVVCZUr8UJ4x+RpncC27hHtiZ15jC+3WS8Yg/JSgyIHnYYsQ==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/react-tabs@1.1.11': resolution: {integrity: sha512-4FiKSVoXqPP/KfzlB7lwwqoFV6EPwkrrqGp9cUYXjwDYHhvpnqq79P+EPHKcdoTE7Rl8w/+6s9rTlsfXHES9GA==} peerDependencies: @@ -11225,6 +11241,20 @@ snapshots: optionalDependencies: '@types/react': 19.1.3 + '@radix-ui/react-switch@1.2.4(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + dependencies: + '@radix-ui/primitive': 1.1.2 + '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.1.3)(react@19.1.0) + '@radix-ui/react-context': 1.1.2(@types/react@19.1.3)(react@19.1.0) + '@radix-ui/react-primitive': 2.1.2(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.1.3)(react@19.1.0) + '@radix-ui/react-use-previous': 1.1.1(@types/react@19.1.3)(react@19.1.0) + '@radix-ui/react-use-size': 1.1.1(@types/react@19.1.3)(react@19.1.0) + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + optionalDependencies: + '@types/react': 19.1.3 + '@radix-ui/react-tabs@1.1.11(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': dependencies: '@radix-ui/primitive': 1.1.2 diff --git a/src/components/layout/NavbarHeader.tsx b/src/components/layout/NavbarHeader.tsx index cdad665bf1..bbd14b99fc 100644 --- a/src/components/layout/NavbarHeader.tsx +++ b/src/components/layout/NavbarHeader.tsx @@ -1,11 +1,7 @@ import Link from 'next/link'; import { OrganizationSwitcher, UserButton } from '@clerk/nextjs'; -import { - LocaleSwitcher, - ThemeSwitcher, - HoppingLogo, -} from '@/components/layout'; +import { ThemeSwitcher, HoppingLogo } from '@/components/layout'; import { Section } from './Section'; @@ -25,11 +21,8 @@ export const NavbarHeader = (props: NavbarHeaderProps) => ( hidePersonal /> -