mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 09:17:00 +00:00
Merge branch 'main' of https://github.com/dylanbenzi/yellowbird
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@clerk/nextjs": "^5.1.4",
|
||||
"@clerk/themes": "^2.1.9",
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
|
||||
Generated
+361
-129
@@ -4,113 +4,117 @@ settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
importers:
|
||||
dependencies:
|
||||
'@clerk/nextjs':
|
||||
specifier: ^5.1.4
|
||||
version: 5.1.4([email protected])([email protected])([email protected])
|
||||
'@clerk/themes':
|
||||
specifier: ^2.1.9
|
||||
version: 2.1.9
|
||||
'@dnd-kit/core':
|
||||
specifier: ^6.1.0
|
||||
version: 6.1.0([email protected])([email protected])
|
||||
'@dnd-kit/sortable':
|
||||
specifier: ^8.0.0
|
||||
version: 8.0.0(@dnd-kit/[email protected])([email protected])
|
||||
'@dnd-kit/utilities':
|
||||
specifier: ^3.2.2
|
||||
version: 3.2.2([email protected])
|
||||
'@nivo/bar':
|
||||
specifier: ^0.85.1
|
||||
version: 0.85.1([email protected])([email protected])
|
||||
'@nivo/calendar':
|
||||
specifier: ^0.85.0
|
||||
version: 0.85.0([email protected])([email protected])
|
||||
'@nivo/line':
|
||||
specifier: ^0.84.0
|
||||
version: 0.84.0([email protected])([email protected])
|
||||
'@nivo/treemap':
|
||||
specifier: ^0.84.0
|
||||
version: 0.84.0([email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-dialog':
|
||||
specifier: ^1.0.5
|
||||
version: 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-separator':
|
||||
specifier: ^1.0.3
|
||||
version: 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-slot':
|
||||
specifier: ^1.0.2
|
||||
version: 1.0.2(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-tooltip':
|
||||
specifier: ^1.0.7
|
||||
version: 1.0.7(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@tanstack/react-table':
|
||||
specifier: ^8.13.2
|
||||
version: 8.13.2([email protected])([email protected])
|
||||
class-variance-authority:
|
||||
specifier: ^0.7.0
|
||||
version: 0.7.0
|
||||
clsx:
|
||||
specifier: ^2.1.0
|
||||
version: 2.1.0
|
||||
cmdk:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
date-fns:
|
||||
specifier: ^3.3.1
|
||||
version: 3.3.1
|
||||
lightweight-charts:
|
||||
specifier: ^4.1.3
|
||||
version: 4.1.3
|
||||
lucide-react:
|
||||
specifier: ^0.338.0
|
||||
version: 0.338.0([email protected])
|
||||
next:
|
||||
specifier: 14.1.0
|
||||
version: 14.1.0([email protected])([email protected])
|
||||
next-themes:
|
||||
specifier: ^0.2.1
|
||||
version: 0.2.1([email protected])([email protected])([email protected])
|
||||
react:
|
||||
specifier: ^18
|
||||
version: 18.2.0
|
||||
react-dom:
|
||||
specifier: ^18
|
||||
version: 18.2.0([email protected])
|
||||
tailwind-merge:
|
||||
specifier: ^2.2.1
|
||||
version: 2.2.1
|
||||
tailwindcss-animate:
|
||||
specifier: ^1.0.7
|
||||
version: 1.0.7([email protected])
|
||||
|
||||
.:
|
||||
dependencies:
|
||||
'@dnd-kit/core':
|
||||
specifier: ^6.1.0
|
||||
version: 6.1.0([email protected])([email protected])
|
||||
'@dnd-kit/sortable':
|
||||
specifier: ^8.0.0
|
||||
version: 8.0.0(@dnd-kit/[email protected])([email protected])
|
||||
'@dnd-kit/utilities':
|
||||
specifier: ^3.2.2
|
||||
version: 3.2.2([email protected])
|
||||
'@nivo/bar':
|
||||
specifier: ^0.85.1
|
||||
version: 0.85.1([email protected])([email protected])
|
||||
'@nivo/calendar':
|
||||
specifier: ^0.85.0
|
||||
version: 0.85.0([email protected])([email protected])
|
||||
'@nivo/line':
|
||||
specifier: ^0.84.0
|
||||
version: 0.84.0([email protected])([email protected])
|
||||
'@nivo/treemap':
|
||||
specifier: ^0.84.0
|
||||
version: 0.84.0([email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-dialog':
|
||||
specifier: ^1.0.5
|
||||
version: 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-separator':
|
||||
specifier: ^1.0.3
|
||||
version: 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-slot':
|
||||
specifier: ^1.0.2
|
||||
version: 1.0.2(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-tooltip':
|
||||
specifier: ^1.0.7
|
||||
version: 1.0.7(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@tanstack/react-table':
|
||||
specifier: ^8.13.2
|
||||
version: 8.13.2([email protected])([email protected])
|
||||
class-variance-authority:
|
||||
specifier: ^0.7.0
|
||||
version: 0.7.0
|
||||
clsx:
|
||||
specifier: ^2.1.0
|
||||
version: 2.1.0
|
||||
cmdk:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
date-fns:
|
||||
specifier: ^3.3.1
|
||||
version: 3.3.1
|
||||
lightweight-charts:
|
||||
specifier: ^4.1.3
|
||||
version: 4.1.3
|
||||
lucide-react:
|
||||
specifier: ^0.338.0
|
||||
version: 0.338.0([email protected])
|
||||
next:
|
||||
specifier: 14.1.0
|
||||
version: 14.1.0([email protected])([email protected])
|
||||
next-themes:
|
||||
specifier: ^0.2.1
|
||||
version: 0.2.1([email protected])([email protected])([email protected])
|
||||
react:
|
||||
specifier: ^18
|
||||
version: 18.2.0
|
||||
react-dom:
|
||||
specifier: ^18
|
||||
version: 18.2.0([email protected])
|
||||
tailwind-merge:
|
||||
specifier: ^2.2.1
|
||||
version: 2.2.1
|
||||
tailwindcss-animate:
|
||||
specifier: ^1.0.7
|
||||
version: 1.0.7([email protected])
|
||||
devDependencies:
|
||||
'@types/node':
|
||||
specifier: ^20
|
||||
version: 20.11.19
|
||||
'@types/react':
|
||||
specifier: ^18
|
||||
version: 18.2.57
|
||||
'@types/react-dom':
|
||||
specifier: ^18
|
||||
version: 18.2.19
|
||||
autoprefixer:
|
||||
specifier: ^10.0.1
|
||||
version: 10.4.17([email protected])
|
||||
eslint:
|
||||
specifier: ^8
|
||||
version: 8.56.0
|
||||
eslint-config-next:
|
||||
specifier: 14.1.0
|
||||
version: 14.1.0([email protected])([email protected])
|
||||
postcss:
|
||||
specifier: ^8
|
||||
version: 8.4.35
|
||||
prettier-plugin-tailwindcss:
|
||||
specifier: ^0.5.14
|
||||
version: 0.5.14([email protected])
|
||||
tailwindcss:
|
||||
specifier: ^3.3.0
|
||||
version: 3.4.1
|
||||
typescript:
|
||||
specifier: ^5
|
||||
version: 5.3.3
|
||||
devDependencies:
|
||||
'@types/node':
|
||||
specifier: ^20
|
||||
version: 20.11.19
|
||||
'@types/react':
|
||||
specifier: ^18
|
||||
version: 18.2.57
|
||||
'@types/react-dom':
|
||||
specifier: ^18
|
||||
version: 18.2.19
|
||||
autoprefixer:
|
||||
specifier: ^10.0.1
|
||||
version: 10.4.17([email protected])
|
||||
eslint:
|
||||
specifier: ^8
|
||||
version: 8.56.0
|
||||
eslint-config-next:
|
||||
specifier: 14.1.0
|
||||
version: 14.1.0([email protected])([email protected])
|
||||
postcss:
|
||||
specifier: ^8
|
||||
version: 8.4.35
|
||||
prettier-plugin-tailwindcss:
|
||||
specifier: ^0.5.14
|
||||
version: 0.5.14([email protected].5)
|
||||
tailwindcss:
|
||||
specifier: ^3.3.0
|
||||
version: 3.4.1
|
||||
typescript:
|
||||
specifier: ^5
|
||||
version: 5.3.3
|
||||
|
||||
packages:
|
||||
|
||||
@@ -126,7 +130,92 @@ packages:
|
||||
resolution: {integrity: sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@dnd-kit/[email protected].0':
|
||||
/@clerk/[email protected]([email protected])([email protected].0):
|
||||
resolution: {integrity: sha512-P007QPL9Ls3bwiBtK3Pat85HcSiL8rhwh/X1wifIEBK6OGF8kez1gOpcvt5/SmoCEecGg8AhH11A2fOIZcwPgA==}
|
||||
engines: {node: '>=18.17.0'}
|
||||
dependencies:
|
||||
'@clerk/shared': 2.2.2([email protected])([email protected])
|
||||
'@clerk/types': 4.6.0
|
||||
cookie: 0.5.0
|
||||
snakecase-keys: 5.4.4
|
||||
tslib: 2.4.1
|
||||
transitivePeerDependencies:
|
||||
- react
|
||||
- react-dom
|
||||
dev: false
|
||||
|
||||
/@clerk/[email protected]([email protected])([email protected]):
|
||||
resolution: {integrity: sha512-1vd6mLHBJwaBx96ne/4HeI3W/ajt22gDrXuugEwVOe2lMauPQBaJq3jDttrNhErcKjMhamIMELeu8hhifpxNgA==}
|
||||
engines: {node: '>=18.17.0'}
|
||||
peerDependencies:
|
||||
react: '>=18 || >=19.0.0-beta'
|
||||
react-dom: '>=18 || >=19.0.0-beta'
|
||||
dependencies:
|
||||
'@clerk/shared': 2.2.2([email protected])([email protected])
|
||||
'@clerk/types': 4.6.0
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0([email protected])
|
||||
tslib: 2.4.1
|
||||
dev: false
|
||||
|
||||
/@clerk/[email protected]([email protected])([email protected])([email protected]):
|
||||
resolution: {integrity: sha512-hi8MGA3nQERinHw9qG95fGzpesuxv11prmKQhxiRMicE+wCB5SoKLtBc2JMXAMNrnZC5rM8V9JV7HDSRFVxTTg==}
|
||||
engines: {node: '>=18.17.0'}
|
||||
peerDependencies:
|
||||
next: ^13.5.4 || ^14.0.3 || >=15.0.0-rc
|
||||
react: '>=18 || >=19.0.0-beta'
|
||||
react-dom: '>=18 || >=19.0.0-beta'
|
||||
dependencies:
|
||||
'@clerk/backend': 1.2.2([email protected])([email protected])
|
||||
'@clerk/clerk-react': 5.2.3([email protected])([email protected])
|
||||
'@clerk/shared': 2.2.2([email protected])([email protected])
|
||||
'@clerk/types': 4.6.0
|
||||
crypto-js: 4.2.0
|
||||
next: 14.1.0([email protected])([email protected])
|
||||
path-to-regexp: 6.2.2
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0([email protected])
|
||||
tslib: 2.4.1
|
||||
dev: false
|
||||
|
||||
/@clerk/[email protected]([email protected])([email protected]):
|
||||
resolution: {integrity: sha512-ThbAXiK5drCabR2TtXSQVHXW0fNtO/RPfiQUiSrjHFdbJAiEkTbPwGSLvPaY1svw5hZHFHLCF735szIDvNHe1A==}
|
||||
engines: {node: '>=18.17.0'}
|
||||
requiresBuild: true
|
||||
peerDependencies:
|
||||
react: '>=18 || >=19.0.0-beta'
|
||||
react-dom: '>=18 || >=19.0.0-beta'
|
||||
peerDependenciesMeta:
|
||||
react:
|
||||
optional: true
|
||||
react-dom:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@clerk/types': 4.6.0
|
||||
glob-to-regexp: 0.4.1
|
||||
js-cookie: 3.0.5
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0([email protected])
|
||||
std-env: 3.7.0
|
||||
swr: 2.2.5([email protected])
|
||||
dev: false
|
||||
|
||||
/@clerk/[email protected]:
|
||||
resolution: {integrity: sha512-MAWwVSYlm+hsGlR7bxkY8Wo7eOeOk6qYjeHxNPbKKLM52+/dioOTsHOnhRck2qzFUquBmQ93nHGzvsvQSoCGaQ==}
|
||||
engines: {node: '>=18.17.0'}
|
||||
dependencies:
|
||||
'@clerk/types': 4.6.0
|
||||
tslib: 2.4.1
|
||||
dev: false
|
||||
|
||||
/@clerk/[email protected]:
|
||||
resolution: {integrity: sha512-kowqVGqLfu0Zl2Pteum70MfkGHqBUoHHeR+u2+yWVl1lKHLCiyY1u8ntYBEIolAylBaQNDuRzxyMIDPSxjPE8g==}
|
||||
engines: {node: '>=18.17.0'}
|
||||
dependencies:
|
||||
csstype: 3.1.1
|
||||
dev: false
|
||||
|
||||
/@dnd-kit/[email protected]([email protected]):
|
||||
resolution: {integrity: sha512-ea7IkhKvlJUv9iSHJOnxinBcoOI3ppGnnL+VDJ75O45Nss6HtZd8IdN8touXPDtASfeI2T2LImb8VOZcL47wjQ==}
|
||||
peerDependencies:
|
||||
react: '>=16.8.0'
|
||||
@@ -3370,15 +3459,34 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]:
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==}
|
||||
engines: {node: '>= 0.6'}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
|
||||
engines: {node: '>= 8'}
|
||||
dependencies:
|
||||
path-key: 3.1.1
|
||||
shebang-command: 2.0.0
|
||||
which: 2.0.2
|
||||
|
||||
[email protected].0: {}
|
||||
/[email protected].0:
|
||||
resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
|
||||
dev: false
|
||||
|
||||
css[email protected]: {}
|
||||
/css[email protected]:
|
||||
resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}
|
||||
engines: {node: '>=4'}
|
||||
hasBin: true
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -3496,7 +3604,15 @@ snapshots:
|
||||
dependencies:
|
||||
esutils: 2.0.3
|
||||
|
||||
[email protected]: {}
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==}
|
||||
dependencies:
|
||||
no-case: 3.0.4
|
||||
tslib: 2.6.2
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
@@ -3885,7 +4001,14 @@ snapshots:
|
||||
dependencies:
|
||||
is-glob: 4.0.3
|
||||
|
||||
glob@10.3.10:
|
||||
/glob-to-regexp@0.4.1:
|
||||
resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==}
|
||||
engines: {node: '>=16 || 14 >=14.17'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
foreground-child: 3.1.1
|
||||
jackspeak: 2.3.6
|
||||
@@ -4089,7 +4212,13 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
js-tokens@4.0.0: {}
|
||||
/js-cookie@3.0.5:
|
||||
resolution: {integrity: sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==}
|
||||
engines: {node: '>=14'}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -4149,7 +4278,15 @@ snapshots:
|
||||
dependencies:
|
||||
js-tokens: 4.0.0
|
||||
|
||||
lru-cache@10.2.0: {}
|
||||
/lower-case@2.0.2:
|
||||
resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}
|
||||
dependencies:
|
||||
tslib: 2.6.2
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==}
|
||||
engines: {node: 14 || >=16.14}
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -4159,7 +4296,14 @@ snapshots:
|
||||
dependencies:
|
||||
react: 18.2.0
|
||||
|
||||
[email protected]: {}
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==}
|
||||
engines: {node: '>=8'}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
|
||||
engines: {node: '>= 8'}
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -4223,7 +4367,16 @@ snapshots:
|
||||
- '@babel/core'
|
||||
- babel-plugin-macros
|
||||
|
||||
node-releases@2.0.14: {}
|
||||
/no-case@3.0.4:
|
||||
resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}
|
||||
dependencies:
|
||||
lower-case: 2.0.2
|
||||
tslib: 2.6.2
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==}
|
||||
dev: true
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
@@ -4313,19 +4466,40 @@ snapshots:
|
||||
lru-cache: 10.2.0
|
||||
minipass: 7.0.4
|
||||
|
||||
path-t[email protected]: {}
|
||||
/path-t[email protected]:
|
||||
resolution: {integrity: sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==}
|
||||
dev: false
|
||||
|
||||
picocolors@1.0.0: {}
|
||||
/path-type@4.0.0:
|
||||
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
|
||||
engines: {node: '>=8'}
|
||||
dev: true
|
||||
|
||||
pico[email protected]: {}
|
||||
/pico[email protected]:
|
||||
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
||||
|
||||
pify@2.3.0: {}
|
||||
/picomatch@2.3.1:
|
||||
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
|
||||
engines: {node: '>=8.6'}
|
||||
|
||||
pi[email protected]: {}
|
||||
/pi[email protected]:
|
||||
resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
possible-typed-array-names@1.0.0: {}
|
||||
/pirates@4.0.6:
|
||||
resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}
|
||||
engines: {node: '>= 6'}
|
||||
|
||||
pos[email protected]([email protected]):
|
||||
/pos[email protected]:
|
||||
resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==}
|
||||
engines: {node: '>= 0.4'}
|
||||
dev: true
|
||||
|
||||
/[email protected]([email protected]):
|
||||
resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
postcss: ^8.0.0
|
||||
dependencies:
|
||||
postcss: 8.4.35
|
||||
postcss-value-parser: 4.2.0
|
||||
@@ -4533,9 +4707,34 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
source-map-js@1.0.2: {}
|
||||
/snake-case@3.0.4:
|
||||
resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==}
|
||||
dependencies:
|
||||
dot-case: 3.0.4
|
||||
tslib: 2.6.2
|
||||
dev: false
|
||||
|
||||
[email protected]: {}
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-YTywJG93yxwHLgrYLZjlC75moVEX04LZM4FHfihjHe1FCXm+QaLOFfSf535aXOAd0ArVQMWUAe8ZPm4VtWyXaA==}
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
map-obj: 4.3.0
|
||||
snake-case: 3.0.4
|
||||
type-fest: 2.19.0
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
dev: false
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -4612,7 +4811,18 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]:
|
||||
/[email protected]([email protected]):
|
||||
resolution: {integrity: sha512-QtxqyclFeAsxEUeZIYmsaQ0UjimSq1RZ9Un7I68/0ClKK/U3LoyQunwkQfJZr2fc22DfIXLNDc2wFyTEikCUpg==}
|
||||
peerDependencies:
|
||||
react: ^16.11.0 || ^17.0.0 || ^18.0.0
|
||||
dependencies:
|
||||
client-only: 0.0.1
|
||||
react: 18.2.0
|
||||
use-sync-external-store: 1.2.2([email protected])
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-o+2GTLkthfa5YUt4JxPfzMIpQzZ3adD1vLVkvKE1Twl9UAhGsEbIZhHHZVRttyW177S8PDJI3bTQNaebyofK3Q==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.23.9
|
||||
|
||||
@@ -4676,7 +4886,13 @@ snapshots:
|
||||
minimist: 1.2.8
|
||||
strip-bom: 3.0.0
|
||||
|
||||
tslib@2.6.2: {}
|
||||
/tslib@2.4.1:
|
||||
resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
|
||||
dev: false
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -4684,7 +4900,14 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
type[email protected]:
|
||||
/type[email protected]:
|
||||
resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==}
|
||||
engines: {node: '>=12.20'}
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==}
|
||||
engines: {node: '>= 0.4'}
|
||||
dependencies:
|
||||
call-bind: 1.0.7
|
||||
es-errors: 1.3.0
|
||||
@@ -4749,7 +4972,16 @@ snapshots:
|
||||
react: 18.2.0
|
||||
tslib: 2.6.2
|
||||
|
||||
[email protected]: {}
|
||||
/[email protected]([email protected]):
|
||||
resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==}
|
||||
peerDependencies:
|
||||
react: ^16.8.0 || ^17.0.0 || ^18.0.0
|
||||
dependencies:
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Calendar</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
@@ -0,0 +1,52 @@
|
||||
import {
|
||||
PortfolioModule,
|
||||
NewsModule,
|
||||
HeatmapModule,
|
||||
MarketsModule,
|
||||
MoversModule,
|
||||
EarningsModule,
|
||||
DocumentsModule,
|
||||
IndicatorsModule,
|
||||
ForexAndBondsModule,
|
||||
} from "@/components/modules/HomepageModules";
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Dashboard :)",
|
||||
};
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main className="flex h-full">
|
||||
<div className="pb-6 grid grid-rows-3 grid-cols-12 gap-6 flex-1 ">
|
||||
<div className="col-span-4 sm:col-span-4">
|
||||
<PortfolioModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-4">
|
||||
<NewsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-4">
|
||||
<HeatmapModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-6">
|
||||
<MoversModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-6">
|
||||
<MarketsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<EarningsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<DocumentsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<IndicatorsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<ForexAndBondsModule />
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
+29
-21
@@ -4,7 +4,9 @@ import "./globals.css";
|
||||
import Navbar from "@/components/nav/Navbar";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { ThemeProvider } from "@/components/theme/theme-providers";
|
||||
import Sidebar from "@/components/sidebar/Sidebar";
|
||||
import Sidebar from "@/components/nav/Sidebar";
|
||||
import { ClerkProvider } from "@clerk/nextjs";
|
||||
import { dark } from "@clerk/themes";
|
||||
|
||||
const red_hat = Red_Hat_Display({ subsets: ["latin"] });
|
||||
|
||||
@@ -19,26 +21,32 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body
|
||||
className={cn(
|
||||
"h-screen antialiased bg-background flex items-start justify-between",
|
||||
red_hat.className
|
||||
)}
|
||||
>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="dark"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
<ClerkProvider
|
||||
appearance={{
|
||||
baseTheme: dark,
|
||||
}}
|
||||
>
|
||||
<html lang="en">
|
||||
<body
|
||||
className={cn(
|
||||
"h-screen antialiased bg-background flex items-start justify-between",
|
||||
red_hat.className
|
||||
)}
|
||||
>
|
||||
<Sidebar />
|
||||
<main className="w-full h-full">
|
||||
<Navbar />
|
||||
{children}
|
||||
</main>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="dark"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<Sidebar />
|
||||
<main className="w-full h-full overflow-y-scroll">
|
||||
<Navbar />
|
||||
<div className="w-full h-full p-4">{children}</div>
|
||||
</main>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
</ClerkProvider>
|
||||
);
|
||||
}
|
||||
|
||||
+11
-44
@@ -1,47 +1,14 @@
|
||||
import {
|
||||
PortfolioModule,
|
||||
NewsModule,
|
||||
HeatmapModule,
|
||||
MarketsModule,
|
||||
MoversModule,
|
||||
EarningsModule,
|
||||
DocumentsModule,
|
||||
IndicatorsModule,
|
||||
ForexAndBondsModule,
|
||||
} from "@/components/modules/HomepageModules";
|
||||
import { SignInButton, SignedOut } from "@clerk/nextjs";
|
||||
import React from "react";
|
||||
|
||||
export default function Home() {
|
||||
const page = () => {
|
||||
return (
|
||||
<main className="flex 2xl:h-full">
|
||||
<div className="px-6 pb-6 grid grid-rows-3 grid-cols-12 gap-6 flex-1 ">
|
||||
<div className="col-span-4 sm:col-span-4">
|
||||
<PortfolioModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-4">
|
||||
<NewsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-4">
|
||||
<HeatmapModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-6">
|
||||
<MoversModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-6">
|
||||
<MarketsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<EarningsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<DocumentsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<IndicatorsModule />
|
||||
</div>
|
||||
<div className="col-span-4 sm:col-span-3">
|
||||
<ForexAndBondsModule />
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<div>
|
||||
<SignedOut>
|
||||
<SignInButton />
|
||||
</SignedOut>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Portfolio</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
@@ -1,7 +0,0 @@
|
||||
import React from "react";
|
||||
|
||||
function SidebarPage() {
|
||||
return <div>Sidebar Page</div>;
|
||||
}
|
||||
|
||||
export default SidebarPage;
|
||||
@@ -3,7 +3,7 @@
|
||||
import InsiderTrading from "@/components/charts/InsiderTrading";
|
||||
import HomepageModule from "@/components/modules/HomepageModuleCard";
|
||||
import React from "react";
|
||||
import { insiderTransactions } from "../MockData/MockData";
|
||||
import { insiderTransactions } from "../../../public/MockData/MockData";
|
||||
|
||||
const tests = () => {
|
||||
return <InsiderTrading data={insiderTransactions} />;
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
import { SignOutButton, SignedIn, UserButton, useUser } from "@clerk/nextjs";
|
||||
import React from "react";
|
||||
import { Button } from "./ui/button";
|
||||
import { LogOutIcon } from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface UserItemProps {
|
||||
isCollapsed: boolean;
|
||||
}
|
||||
|
||||
const UserItem = ({ isCollapsed }: UserItemProps) => {
|
||||
const { user } = useUser();
|
||||
|
||||
if (!user) {
|
||||
return <div>No user</div>;
|
||||
}
|
||||
|
||||
console.log(user.primaryEmailAddress);
|
||||
|
||||
return (
|
||||
<SignedIn>
|
||||
<div
|
||||
className={cn(
|
||||
isCollapsed ? "justify-center p-2" : "pl-2",
|
||||
"rounded-lg flex items-center"
|
||||
)}
|
||||
>
|
||||
<UserButton />
|
||||
{!isCollapsed && (
|
||||
<>
|
||||
<div className="flex-grow pl-2">
|
||||
<p className="text-sm">{user.fullName}</p>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{user.primaryEmailAddress?.emailAddress}
|
||||
</p>
|
||||
</div>
|
||||
<SignOutButton>
|
||||
<Button variant="ghost" className="">
|
||||
<LogOutIcon width={15} height={20} className="text-red-500" />
|
||||
</Button>
|
||||
</SignOutButton>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</SignedIn>
|
||||
);
|
||||
};
|
||||
|
||||
export default UserItem;
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import { ResponsiveTimeRange } from "@nivo/calendar";
|
||||
import { earningsCalendar } from "@/app/MockData/MockData";
|
||||
import { earningsCalendar } from "../../../public/MockData/MockData";
|
||||
import {
|
||||
compareAsc,
|
||||
format,
|
||||
@@ -47,10 +47,10 @@ const CalendarSquares = ({ data }: calendarSquaresProps) => {
|
||||
compareAsc(item.day, today) < 0
|
||||
? "bg-neutral-500 text-neutral-700"
|
||||
: item.value < lowBreakpoint
|
||||
? "bg-[#fef7dc]/75"
|
||||
: item.value < mediumBreakpoint
|
||||
? "bg-[#fdedaa]/75"
|
||||
: "bg-primary/75",
|
||||
? "bg-[#fef7dc]/75"
|
||||
: item.value < mediumBreakpoint
|
||||
? "bg-[#fdedaa]/75"
|
||||
: "bg-primary/75",
|
||||
"flex flex-col items-center justify-center font-bold hover:cursor-pointer"
|
||||
)}
|
||||
key={item.day}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { createChart, ColorType } from "lightweight-charts";
|
||||
import React, { MutableRefObject, useEffect, useRef } from "react";
|
||||
import { indexData, portfolioData } from "@/app/MockData/MockData";
|
||||
import { indexData, portfolioData } from "../../../public/MockData/MockData";
|
||||
|
||||
const Chart = (props: any) => {
|
||||
const {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { ColumnDef } from "@tanstack/react-table";
|
||||
import { documentsDataType } from "@/app/MockData/MockData";
|
||||
import { documentsDataType } from "../../../../public/MockData/MockData";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
|
||||
export const documentsColumns: ColumnDef<documentsDataType>[] = [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { ColumnDef } from "@tanstack/react-table";
|
||||
import { newsDataType } from "@/app/MockData/MockData";
|
||||
import { newsDataType } from "../../../../public/MockData/MockData";
|
||||
|
||||
export const newsColumns: ColumnDef<newsDataType>[] = [
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
markets,
|
||||
earningsCalendar,
|
||||
documentsList,
|
||||
} from "@/app/MockData/MockData";
|
||||
} from "../../../public/MockData/MockData";
|
||||
import HomepageModule from "./HomepageModuleCard";
|
||||
import PortfolioChart, {
|
||||
AreaSeriesPartialOptionsWithData,
|
||||
@@ -35,9 +35,9 @@ import {
|
||||
globalColors,
|
||||
smaFunc,
|
||||
} from "@/lib/utils";
|
||||
import { seriesOne } from "@/app/MockData/seriesOne";
|
||||
import { seriesThree } from "@/app/MockData/seriesThree";
|
||||
import { seriesFive } from "@/app/MockData/seriesFive";
|
||||
import { seriesOne } from "../../../public/MockData/seriesOne";
|
||||
import { seriesThree } from "../../../public/MockData/seriesThree";
|
||||
import { seriesFive } from "../../../public/MockData/seriesFive";
|
||||
import { useState } from "react";
|
||||
import { Badge } from "../ui/badge";
|
||||
import { ResponsiveTimeRange } from "@nivo/calendar";
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { seriesFive } from "@/app/MockData/seriesFive";
|
||||
import { seriesFive } from "../../../public/MockData/seriesFive";
|
||||
import Chart, { LineSeriesPartialOptionsWithData } from "../charts/Chart";
|
||||
import { LineType } from "lightweight-charts";
|
||||
import HomepageModule from "./HomepageModuleCard";
|
||||
import { globalColors } from "@/lib/utils";
|
||||
import Image from "next/image";
|
||||
import { Separator } from "../ui/separator";
|
||||
import { seriesOne } from "@/app/MockData/seriesOne";
|
||||
import { seriesTwo } from "@/app/MockData/seriesTwo";
|
||||
import { seriesThree } from "@/app/MockData/seriesThree";
|
||||
import { seriesFour } from "@/app/MockData/seriesFour";
|
||||
import { seriesOne } from "../../../public/MockData/seriesOne";
|
||||
import { seriesTwo } from "../../../public/MockData/seriesTwo";
|
||||
import { seriesThree } from "../../../public/MockData/seriesThree";
|
||||
import { seriesFour } from "../../../public/MockData/seriesFour";
|
||||
|
||||
export const PriceModule = () => {
|
||||
const symbolLine: LineSeriesPartialOptionsWithData = {
|
||||
|
||||
@@ -22,7 +22,7 @@ const Navbar = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="h-16 border-b border-neutral-700 flex items-center justify-between w-full p-4">
|
||||
<div className="h-16 border-b border-neutral-700 flex items-center justify-between w-full p-4 sticky top-0 bg-background z-10">
|
||||
<div className="font-bold text-2xl">Dashboard</div>
|
||||
<div className="flex items-center">
|
||||
<Input
|
||||
|
||||
@@ -40,6 +40,7 @@ import {
|
||||
TooltipProvider,
|
||||
TooltipTrigger,
|
||||
} from "@/components/ui/tooltip";
|
||||
import UserItem from "../UserItem";
|
||||
|
||||
function Sidebar() {
|
||||
const [isCollapsed, setIsCollapsed] = useState<boolean>(true);
|
||||
@@ -55,7 +56,7 @@ function Sidebar() {
|
||||
group: "Navigation",
|
||||
items: [
|
||||
{
|
||||
link: "/",
|
||||
link: "/dashboard",
|
||||
icon: <LayoutGridIcon height={20} width={20} />,
|
||||
text: "Dashboard",
|
||||
},
|
||||
@@ -65,7 +66,7 @@ function Sidebar() {
|
||||
text: "Calendar",
|
||||
},
|
||||
{
|
||||
link: "/porfolio",
|
||||
link: "/portfolio",
|
||||
icon: <LineChartIcon height={20} />,
|
||||
text: "Portfolio",
|
||||
},
|
||||
@@ -207,29 +208,7 @@ function Sidebar() {
|
||||
<SettingsIcon height={20} />
|
||||
</Button>
|
||||
</div>
|
||||
<div
|
||||
className={cn(
|
||||
isCollapsed ? "justify-center p-2" : "pl-2",
|
||||
"rounded-lg flex items-center"
|
||||
)}
|
||||
>
|
||||
<Button variant="default" className="w-8 h-8 rounded-full">
|
||||
Me
|
||||
</Button>
|
||||
{!isCollapsed && (
|
||||
<>
|
||||
<div className="flex-grow pl-2">
|
||||
<p className="text-sm">Dylan Benzi</p>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
dylanbenzi@gmail.com
|
||||
</p>
|
||||
</div>
|
||||
<Button variant="ghost" className="">
|
||||
<LogOutIcon width={15} height={20} className="text-red-500" />
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
<UserItem isCollapsed={isCollapsed} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,7 @@
|
||||
import { clerkMiddleware } from "@clerk/nextjs/server";
|
||||
|
||||
export default clerkMiddleware();
|
||||
|
||||
export const config = {
|
||||
matcher: ["/((?!.*\\..*|_next).*)", "/", "/(api|trpc)(.*)"],
|
||||
};
|
||||
Reference in New Issue
Block a user