diff --git a/next.config.ts b/next.config.ts index 1b429d4..db0a372 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,16 +1,6 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - experimental: { - esmExternals: "loose", - serverComponentsExternalPackages: ["mongoose"] - }, - webpack: (config) => { - config.experiments = { - topLevelAwait: true - }; - return config; - }, }; export default nextConfig; diff --git a/package-lock.json b/package-lock.json index 02f032f..522c046 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6666,6 +6666,111 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "15.1.6", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.1.6.tgz", + "integrity": "sha512-u7lg4Mpl9qWpKgy6NzEkz/w0/keEHtOybmIl0ykgItBxEM5mYotS5PmqTpo+Rhg8FiOiWgwr8USxmKQkqLBCrw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "15.1.6", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.1.6.tgz", + "integrity": "sha512-x1jGpbHbZoZ69nRuogGL2MYPLqohlhnT9OCU6E6QFewwup+z+M6r8oU47BTeJcWsF2sdBahp5cKiAcDbwwK/lg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "15.1.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.1.6.tgz", + "integrity": "sha512-jar9sFw0XewXsBzPf9runGzoivajeWJUc/JkfbLTC4it9EhU8v7tCRLH7l5Y1ReTMN6zKJO0kKAGqDk8YSO2bg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "15.1.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.1.6.tgz", + "integrity": "sha512-+n3u//bfsrIaZch4cgOJ3tXCTbSxz0s6brJtU3SzLOvkJlPQMJ+eHVRi6qM2kKKKLuMY+tcau8XD9CJ1OjeSQQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "15.1.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.1.6.tgz", + "integrity": "sha512-SpuDEXixM3PycniL4iVCLyUyvcl6Lt0mtv3am08sucskpG0tYkW1KlRhTgj4LI5ehyxriVVcfdoxuuP8csi3kQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "15.1.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.1.6.tgz", + "integrity": "sha512-L4druWmdFSZIIRhF+G60API5sFB7suTbDRhYWSjiw0RbE+15igQvE2g2+S973pMGvwN3guw7cJUjA/TmbPWTHQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "15.1.6", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.1.6.tgz", + "integrity": "sha512-s8w6EeqNmi6gdvM19tqKKWbCyOBvXFbndkGHl+c9YrzsLARRdCHsD9S1fMj8gsXm9v8vhC8s3N8rjuC/XrtkEg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a53b22b..4f615cd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,15 +8,15 @@ importers: .: dependencies: + '@clerk/nextjs': + specifier: ^6.10.2 + version: 6.10.2(next@15.1.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@radix-ui/react-dropdown-menu': specifier: ^2.1.5 version: 2.1.5(@types/react-dom@19.0.3(@types/react@19.0.8))(@types/react@19.0.8)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@radix-ui/react-navigation-menu': specifier: ^1.2.4 version: 1.2.4(@types/react-dom@19.0.3(@types/react@19.0.8))(@types/react@19.0.8)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@clerk/nextjs': - specifier: ^6.10.2 - version: 6.10.2(next@15.1.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@radix-ui/react-slot': specifier: ^1.1.1 version: 1.1.1(@types/react@19.0.8)(react@19.0.0) @@ -32,6 +32,9 @@ importers: clsx: specifier: ^2.1.1 version: 2.1.1 + hoyahax-2025: + specifier: 'file:' + version: file:(@types/react-dom@19.0.3(@types/react@19.0.8))(@types/react@19.0.8)(tailwindcss@3.4.17) lucide-react: specifier: ^0.474.0 version: 0.474.0(react@19.0.0) @@ -1414,6 +1417,9 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} + 'hoyahax-2025@file:': + resolution: {directory: '', type: directory} + ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} @@ -2255,7 +2261,6 @@ packages: uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} -<<<<<<< HEAD use-callback-ref@1.3.3: resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==} engines: {node: '>=10'} @@ -2275,12 +2280,11 @@ packages: peerDependenciesMeta: '@types/react': optional: true -======= + use-sync-external-store@1.4.0: resolution: {integrity: sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 ->>>>>>> 2eeddba0a51dc0850c6f863823310b59e4987506 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -3762,6 +3766,48 @@ snapshots: dependencies: function-bind: 1.1.2 + hoyahax-2025@file:(@types/react-dom@19.0.3(@types/react@19.0.8))(@types/react@19.0.8)(tailwindcss@3.4.17): + dependencies: + '@clerk/nextjs': 6.10.2(next@15.1.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@radix-ui/react-dropdown-menu': 2.1.5(@types/react-dom@19.0.3(@types/react@19.0.8))(@types/react@19.0.8)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@radix-ui/react-navigation-menu': 1.2.4(@types/react-dom@19.0.3(@types/react@19.0.8))(@types/react@19.0.8)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@radix-ui/react-slot': 1.1.1(@types/react@19.0.8)(react@19.0.0) + '@vercel/analytics': 1.4.1(next@15.1.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) + '@vercel/speed-insights': 1.1.0(next@15.1.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) + class-variance-authority: 0.7.1 + clsx: 2.1.1 + lucide-react: 0.474.0(react@19.0.0) + mongoose: 8.9.5 + next: 15.1.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + next-themes: 0.4.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + tailwind-merge: 2.6.0 + tailwindcss-animate: 1.0.7(tailwindcss@3.4.17) + transitivePeerDependencies: + - '@aws-sdk/credential-providers' + - '@babel/core' + - '@mongodb-js/zstd' + - '@opentelemetry/api' + - '@playwright/test' + - '@remix-run/react' + - '@sveltejs/kit' + - '@types/react' + - '@types/react-dom' + - babel-plugin-macros + - babel-plugin-react-compiler + - gcp-metadata + - kerberos + - mongodb-client-encryption + - sass + - snappy + - socks + - supports-color + - svelte + - tailwindcss + - vue + - vue-router + ignore@5.3.2: {} import-fresh@3.3.0: @@ -4693,7 +4739,6 @@ snapshots: dependencies: punycode: 2.3.1 -<<<<<<< HEAD use-callback-ref@1.3.3(@types/react@19.0.8)(react@19.0.0): dependencies: react: 19.0.0 @@ -4708,11 +4753,10 @@ snapshots: tslib: 2.8.1 optionalDependencies: '@types/react': 19.0.8 -======= + use-sync-external-store@1.4.0(react@19.0.0): dependencies: react: 19.0.0 ->>>>>>> 2eeddba0a51dc0850c6f863823310b59e4987506 util-deprecate@1.0.2: {} diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx deleted file mode 100644 index 88c8fc7..0000000 --- a/src/components/navbar.tsx +++ /dev/null @@ -1,66 +0,0 @@ -"use client" - -import * as React from "react" - -import { - NavigationMenu, - NavigationMenuContent, - NavigationMenuItem, - NavigationMenuLink, - NavigationMenuList, - NavigationMenuTrigger, - navigationMenuTriggerStyle, -} from "@/components/ui/navigation-menu" - -const components: { title: string; href: string; description: string }[] = [ - { - title: "Alert Dialog", - href: "/docs/primitives/alert-dialog", - description: - "A modal dialog that interrupts the user with important content and expects a response.", - }, - { - title: "Hover Card", - href: "/docs/primitives/hover-card", - description: - "For sighted users to preview content available behind a link.", - }, - { - title: "Progress", - href: "/docs/primitives/progress", - description: - "Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.", - }, - { - title: "Scroll-area", - href: "/docs/primitives/scroll-area", - description: "Visually or semantically separates content.", - }, - { - title: "Tabs", - href: "/docs/primitives/tabs", - description: - "A set of layered sections of content—known as tab panels—that are displayed one at a time.", - }, - { - title: "Tooltip", - href: "/docs/primitives/tooltip", - description: - "A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.", - }, -] - -export function NavigationMenuDemo() { - return ( - - - - Item One - - Link - - - - - ) -}