xonecas.io
5414
Sa

sat / commit c7f3333

chore: cleanup and deps management

xonecas2026-01-13 c7f3333c7ca0e348a836175c9ab2829626bfb730 parent f0b78a1

21 files changed

README.md+14−0
@@ -1,3 +1,17 @@
11 # Search Agent thingy (SAT)
22
33 A high-performance local-first RAG (Retrieval-Augmented Generation) system built with Next.js, Ollama, and LangChain. The system uses PostgreSQL with pgvector for embeddings, Redis for caching, and SearXNG for meta-search retrieval. The frontend is built with Next.js App Router, shadcn/ui, and Tailwind CSS, while the backend uses Drizzle ORM for database interactions and Server Actions for data operations.
4+
5+## Docker setup
6+
7+See the [compose file](./docker-compose.yml)
8+
9+Start docker containers:
10+```
11+docker compose up -d
12+```
13+
14+Stop docker containers:
15+```
16+docker compose down
17+```
biome.json+8−1
@@ -7,7 +7,14 @@
77 },
88 "files": {
99 "ignoreUnknown": true,
10- "includes": ["**", "!node_modules", "!.next", "!dist", "!build"]
10+ "includes": [
11+ "**",
12+ "!node_modules",
13+ "!.next",
14+ "!dist",
15+ "!build",
16+ "!src/components/ui"
17+ ]
1118 },
1219 "formatter": {
1320 "enabled": true,
package-lock.json+279−1
@@ -9,6 +9,8 @@
99 "version": "0.1.0",
1010 "dependencies": {
1111 "@base-ui/react": "^1.0.0",
12+ "@langchain/core": "^1.1.13",
13+ "@langchain/ollama": "^1.2.0",
1214 "class-variance-authority": "^0.7.1",
1315 "clsx": "^2.1.1",
1416 "lucide-react": "^0.562.0",
@@ -723,6 +725,12 @@
723725 "node": ">=14.21.3"
724726 }
725727 },
728+ "node_modules/@cfworker/json-schema": {
729+ "version": "4.1.1",
730+ "resolved": "https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-4.1.1.tgz",
731+ "integrity": "sha512-gAmrUZSGtKc3AiBL71iNWxDsyUC5uMaKKGdvzYsBoTW/xi42JQHl7eKV2OYzCUqvc+D2RCcf7EXY2iCyFIk6og==",
732+ "license": "MIT"
733+ },
726734 "node_modules/@dotenvx/dotenvx": {
727735 "version": "1.51.4",
728736 "resolved": "https://registry.npmjs.org/@dotenvx/dotenvx/-/dotenvx-1.51.4.tgz",
@@ -1542,6 +1550,55 @@
15421550 "@jridgewell/sourcemap-codec": "^1.4.14"
15431551 }
15441552 },
1553+ "node_modules/@langchain/core": {
1554+ "version": "1.1.13",
1555+ "resolved": "https://registry.npmjs.org/@langchain/core/-/core-1.1.13.tgz",
1556+ "integrity": "sha512-CmTES4DNfNs7PisGm/is4RxOf1NAWCkhi+RrBBHb/gB5nZVFd+dfmXSomKoiBQ1DOdCUz1k9RX4DzSUbwg1swg==",
1557+ "license": "MIT",
1558+ "dependencies": {
1559+ "@cfworker/json-schema": "^4.0.2",
1560+ "ansi-styles": "^5.0.0",
1561+ "camelcase": "6",
1562+ "decamelize": "1.2.0",
1563+ "js-tiktoken": "^1.0.12",
1564+ "langsmith": ">=0.4.0 <1.0.0",
1565+ "mustache": "^4.2.0",
1566+ "p-queue": "^6.6.2",
1567+ "uuid": "^10.0.0",
1568+ "zod": "^3.25.76 || ^4"
1569+ },
1570+ "engines": {
1571+ "node": ">=20"
1572+ }
1573+ },
1574+ "node_modules/@langchain/core/node_modules/ansi-styles": {
1575+ "version": "5.2.0",
1576+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
1577+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
1578+ "license": "MIT",
1579+ "engines": {
1580+ "node": ">=10"
1581+ },
1582+ "funding": {
1583+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1584+ }
1585+ },
1586+ "node_modules/@langchain/ollama": {
1587+ "version": "1.2.0",
1588+ "resolved": "https://registry.npmjs.org/@langchain/ollama/-/ollama-1.2.0.tgz",
1589+ "integrity": "sha512-OinxIhssKXdDQKnQoBF4TQTMBuMMV5OcNPk4Zze8UjcaSOGngn3CAI1FVbBxl0bTG5ov61w4AoWWsUwOwiSJFw==",
1590+ "license": "MIT",
1591+ "dependencies": {
1592+ "ollama": "^0.6.3",
1593+ "uuid": "^10.0.0"
1594+ },
1595+ "engines": {
1596+ "node": ">=20"
1597+ },
1598+ "peerDependencies": {
1599+ "@langchain/core": "^1.0.0"
1600+ }
1601+ },
15451602 "node_modules/@modelcontextprotocol/sdk": {
15461603 "version": "1.25.2",
15471604 "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.25.2.tgz",
@@ -3671,6 +3728,12 @@
36713728 "integrity": "sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==",
36723729 "license": "MIT"
36733730 },
3731+ "node_modules/@types/uuid": {
3732+ "version": "10.0.0",
3733+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",
3734+ "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==",
3735+ "license": "MIT"
3736+ },
36743737 "node_modules/@types/validate-npm-package-name": {
36753738 "version": "4.0.2",
36763739 "resolved": "https://registry.npmjs.org/@types/validate-npm-package-name/-/validate-npm-package-name-4.0.2.tgz",
@@ -3798,6 +3861,26 @@
37983861 "node": ">=4"
37993862 }
38003863 },
3864+ "node_modules/base64-js": {
3865+ "version": "1.5.1",
3866+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
3867+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
3868+ "funding": [
3869+ {
3870+ "type": "github",
3871+ "url": "https://github.com/sponsors/feross"
3872+ },
3873+ {
3874+ "type": "patreon",
3875+ "url": "https://www.patreon.com/feross"
3876+ },
3877+ {
3878+ "type": "consulting",
3879+ "url": "https://feross.org/support"
3880+ }
3881+ ],
3882+ "license": "MIT"
3883+ },
38013884 "node_modules/baseline-browser-mapping": {
38023885 "version": "2.9.14",
38033886 "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.14.tgz",
@@ -3938,6 +4021,18 @@
39384021 "node": ">=6"
39394022 }
39404023 },
4024+ "node_modules/camelcase": {
4025+ "version": "6.3.0",
4026+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
4027+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
4028+ "license": "MIT",
4029+ "engines": {
4030+ "node": ">=10"
4031+ },
4032+ "funding": {
4033+ "url": "https://github.com/sponsors/sindresorhus"
4034+ }
4035+ },
39414036 "node_modules/caniuse-lite": {
39424037 "version": "1.0.30001764",
39434038 "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001764.tgz",
@@ -4138,6 +4233,15 @@
41384233 "node": ">=20"
41394234 }
41404235 },
4236+ "node_modules/console-table-printer": {
4237+ "version": "2.15.0",
4238+ "resolved": "https://registry.npmjs.org/console-table-printer/-/console-table-printer-2.15.0.tgz",
4239+ "integrity": "sha512-SrhBq4hYVjLCkBVOWaTzceJalvn5K1Zq5aQA6wXC/cYjI3frKWNPEMK3sZsJfNNQApvCQmgBcc13ZKmFj8qExw==",
4240+ "license": "MIT",
4241+ "dependencies": {
4242+ "simple-wcswidth": "^1.1.2"
4243+ }
4244+ },
41414245 "node_modules/content-disposition": {
41424246 "version": "1.0.1",
41434247 "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.1.tgz",
@@ -4303,6 +4407,15 @@
43034407 }
43044408 }
43054409 },
4410+ "node_modules/decamelize": {
4411+ "version": "1.2.0",
4412+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
4413+ "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
4414+ "license": "MIT",
4415+ "engines": {
4416+ "node": ">=0.10.0"
4417+ }
4418+ },
43064419 "node_modules/dedent": {
43074420 "version": "1.7.1",
43084421 "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.1.tgz",
@@ -4569,6 +4682,12 @@
45694682 "node": ">= 0.6"
45704683 }
45714684 },
4685+ "node_modules/eventemitter3": {
4686+ "version": "4.0.7",
4687+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
4688+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",
4689+ "license": "MIT"
4690+ },
45724691 "node_modules/eventsource": {
45734692 "version": "3.0.7",
45744693 "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz",
@@ -5017,6 +5136,15 @@
50175136 "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
50185137 }
50195138 },
5139+ "node_modules/has-flag": {
5140+ "version": "4.0.0",
5141+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
5142+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
5143+ "license": "MIT",
5144+ "engines": {
5145+ "node": ">=8"
5146+ }
5147+ },
50205148 "node_modules/has-symbols": {
50215149 "version": "1.1.0",
50225150 "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
@@ -5372,6 +5500,15 @@
53725500 "url": "https://github.com/sponsors/panva"
53735501 }
53745502 },
5503+ "node_modules/js-tiktoken": {
5504+ "version": "1.0.21",
5505+ "resolved": "https://registry.npmjs.org/js-tiktoken/-/js-tiktoken-1.0.21.tgz",
5506+ "integrity": "sha512-biOj/6M5qdgx5TKjDnFT1ymSpM5tbd3ylwDtrQvFQSu0Z7bBYko2dF+W/aUkXUPuk6IVpRxk/3Q2sHOzGlS36g==",
5507+ "license": "MIT",
5508+ "dependencies": {
5509+ "base64-js": "^1.5.1"
5510+ }
5511+ },
53755512 "node_modules/js-tokens": {
53765513 "version": "4.0.0",
53775514 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -5453,6 +5590,56 @@
54535590 "node": ">=6"
54545591 }
54555592 },
5593+ "node_modules/langsmith": {
5594+ "version": "0.4.5",
5595+ "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.4.5.tgz",
5596+ "integrity": "sha512-9N4JSQLz6fWiZwVXaiy0erlvNHlC68EtGJZG2OX+1y9mqj7KvKSL+xJnbCFc+ky3JN8s1d6sCfyyDdi4uDdLnQ==",
5597+ "license": "MIT",
5598+ "dependencies": {
5599+ "@types/uuid": "^10.0.0",
5600+ "chalk": "^4.1.2",
5601+ "console-table-printer": "^2.12.1",
5602+ "p-queue": "^6.6.2",
5603+ "semver": "^7.6.3",
5604+ "uuid": "^10.0.0"
5605+ },
5606+ "peerDependencies": {
5607+ "@opentelemetry/api": "*",
5608+ "@opentelemetry/exporter-trace-otlp-proto": "*",
5609+ "@opentelemetry/sdk-trace-base": "*",
5610+ "openai": "*"
5611+ },
5612+ "peerDependenciesMeta": {
5613+ "@opentelemetry/api": {
5614+ "optional": true
5615+ },
5616+ "@opentelemetry/exporter-trace-otlp-proto": {
5617+ "optional": true
5618+ },
5619+ "@opentelemetry/sdk-trace-base": {
5620+ "optional": true
5621+ },
5622+ "openai": {
5623+ "optional": true
5624+ }
5625+ }
5626+ },
5627+ "node_modules/langsmith/node_modules/chalk": {
5628+ "version": "4.1.2",
5629+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
5630+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
5631+ "license": "MIT",
5632+ "dependencies": {
5633+ "ansi-styles": "^4.1.0",
5634+ "supports-color": "^7.1.0"
5635+ },
5636+ "engines": {
5637+ "node": ">=10"
5638+ },
5639+ "funding": {
5640+ "url": "https://github.com/chalk/chalk?sponsor=1"
5641+ }
5642+ },
54565643 "node_modules/lightningcss": {
54575644 "version": "1.30.2",
54585645 "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.2.tgz",
@@ -5979,6 +6166,15 @@
59796166 "url": "https://opencollective.com/express"
59806167 }
59816168 },
6169+ "node_modules/mustache": {
6170+ "version": "4.2.0",
6171+ "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz",
6172+ "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==",
6173+ "license": "MIT",
6174+ "bin": {
6175+ "mustache": "bin/mustache"
6176+ }
6177+ },
59826178 "node_modules/mute-stream": {
59836179 "version": "2.0.0",
59846180 "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz",
@@ -6208,6 +6404,15 @@
62086404 "node": ">= 10"
62096405 }
62106406 },
6407+ "node_modules/ollama": {
6408+ "version": "0.6.3",
6409+ "resolved": "https://registry.npmjs.org/ollama/-/ollama-0.6.3.tgz",
6410+ "integrity": "sha512-KEWEhIqE5wtfzEIZbDCLH51VFZ6Z3ZSa6sIOg/E/tBV8S51flyqBOXi+bRxlOYKDf8i327zG9eSTb8IJxvm3Zg==",
6411+ "license": "MIT",
6412+ "dependencies": {
6413+ "whatwg-fetch": "^3.6.20"
6414+ }
6415+ },
62116416 "node_modules/on-finished": {
62126417 "version": "2.4.1",
62136418 "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
@@ -6293,6 +6498,43 @@
62936498 "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==",
62946499 "license": "MIT"
62956500 },
6501+ "node_modules/p-finally": {
6502+ "version": "1.0.0",
6503+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
6504+ "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==",
6505+ "license": "MIT",
6506+ "engines": {
6507+ "node": ">=4"
6508+ }
6509+ },
6510+ "node_modules/p-queue": {
6511+ "version": "6.6.2",
6512+ "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz",
6513+ "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==",
6514+ "license": "MIT",
6515+ "dependencies": {
6516+ "eventemitter3": "^4.0.4",
6517+ "p-timeout": "^3.2.0"
6518+ },
6519+ "engines": {
6520+ "node": ">=8"
6521+ },
6522+ "funding": {
6523+ "url": "https://github.com/sponsors/sindresorhus"
6524+ }
6525+ },
6526+ "node_modules/p-timeout": {
6527+ "version": "3.2.0",
6528+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz",
6529+ "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==",
6530+ "license": "MIT",
6531+ "dependencies": {
6532+ "p-finally": "^1.0.0"
6533+ },
6534+ "engines": {
6535+ "node": ">=8"
6536+ }
6537+ },
62966538 "node_modules/package-manager-detector": {
62976539 "version": "1.6.0",
62986540 "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.6.0.tgz",
@@ -6886,7 +7128,6 @@
68867128 "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
68877129 "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
68887130 "license": "ISC",
6889- "optional": true,
68907131 "bin": {
68917132 "semver": "bin/semver.js"
68927133 },
@@ -7140,6 +7381,12 @@
71407381 "url": "https://github.com/sponsors/isaacs"
71417382 }
71427383 },
7384+ "node_modules/simple-wcswidth": {
7385+ "version": "1.1.2",
7386+ "resolved": "https://registry.npmjs.org/simple-wcswidth/-/simple-wcswidth-1.1.2.tgz",
7387+ "integrity": "sha512-j7piyCjAeTDSjzTSQ7DokZtMNwNlEAyxqSZeCS+CXH7fJ4jx3FuJ/mTW3mE+6JLs4VJBbcll0Kjn+KXI5t21Iw==",
7388+ "license": "MIT"
7389+ },
71437390 "node_modules/sisteransi": {
71447391 "version": "1.0.5",
71457392 "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
@@ -7284,6 +7531,18 @@
72847531 }
72857532 }
72867533 },
7534+ "node_modules/supports-color": {
7535+ "version": "7.2.0",
7536+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
7537+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
7538+ "license": "MIT",
7539+ "dependencies": {
7540+ "has-flag": "^4.0.0"
7541+ },
7542+ "engines": {
7543+ "node": ">=8"
7544+ }
7545+ },
72877546 "node_modules/tabbable": {
72887547 "version": "6.4.0",
72897548 "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.4.0.tgz",
@@ -7615,6 +7874,19 @@
76157874 "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
76167875 "license": "MIT"
76177876 },
7877+ "node_modules/uuid": {
7878+ "version": "10.0.0",
7879+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",
7880+ "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",
7881+ "funding": [
7882+ "https://github.com/sponsors/broofa",
7883+ "https://github.com/sponsors/ctavan"
7884+ ],
7885+ "license": "MIT",
7886+ "bin": {
7887+ "uuid": "dist/bin/uuid"
7888+ }
7889+ },
76187890 "node_modules/validate-npm-package-name": {
76197891 "version": "7.0.2",
76207892 "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-7.0.2.tgz",
@@ -7642,6 +7914,12 @@
76427914 "node": ">= 8"
76437915 }
76447916 },
7917+ "node_modules/whatwg-fetch": {
7918+ "version": "3.6.20",
7919+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz",
7920+ "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==",
7921+ "license": "MIT"
7922+ },
76457923 "node_modules/which": {
76467924 "version": "4.0.0",
76477925 "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
package.json+2−0
@@ -11,6 +11,8 @@
1111 },
1212 "dependencies": {
1313 "@base-ui/react": "^1.0.0",
14+ "@langchain/core": "^1.1.13",
15+ "@langchain/ollama": "^1.2.0",
1416 "class-variance-authority": "^0.7.1",
1517 "clsx": "^2.1.1",
1618 "lucide-react": "^0.562.0",
src/components/brand.tsx+2−2
@@ -4,7 +4,7 @@ import Logo from "@/app/favicon.svg";
44 export function Brand() {
55 return (
66 <div className="p-8">
7- <div className="bg-foreground rounded-full p-1 drop-shadow-sm">
7+ <div className="text-background bg-foreground rounded-full py-2 px-4 drop-shadow-sm flex flex-row items-center justify-center gap-2">
88 <Image
99 src={Logo}
1010 alt="Logo"
@@ -12,8 +12,8 @@ export function Brand() {
1212 height={32}
1313 className="invert dark:invert-0"
1414 />
15+ <h1 className="text-2xl font-bold">SAT</h1>
1516 </div>
16- <h1 className="text-2xl font-bold pt-4">SAT</h1>
1717 </div>
1818 );
1919 }
src/components/theme-provider.tsx+1−1
@@ -1,7 +1,7 @@
11 "use client";
22
3-import type { ComponentProps } from "react";
43 import { ThemeProvider as NextThemesProvider } from "next-themes";
4+import type { ComponentProps } from "react";
55
66 export function ThemeProvider({
77 children,
src/components/ui/alert-dialog.tsx+2−3
@@ -1,10 +1,9 @@
11 "use client";
22
3-import * as React from "react";
43 import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
5-
6-import { cn } from "@/lib/utils";
4+import type * as React from "react";
75 import { Button } from "@/components/ui/button";
6+import { cn } from "@/lib/utils";
87
98 function AlertDialog({
109 ...props
src/components/ui/badge.tsx+1−1
@@ -1,6 +1,6 @@
1-import * as React from "react";
21 import { cva, type VariantProps } from "class-variance-authority";
32 import { Slot } from "radix-ui";
3+import type * as React from "react";
44
55 import { cn } from "@/lib/utils";
66
src/components/ui/button.tsx+1−1
@@ -1,6 +1,6 @@
1-import * as React from "react";
21 import { cva, type VariantProps } from "class-variance-authority";
32 import { Slot } from "radix-ui";
3+import type * as React from "react";
44
55 import { cn } from "@/lib/utils";
66
src/components/ui/card.tsx+1−1
@@ -1,4 +1,4 @@
1-import * as React from "react";
1+import type * as React from "react";
22
33 import { cn } from "@/lib/utils";
44
src/components/ui/combobox.tsx+3−4
@@ -1,9 +1,8 @@
11 "use client";
22
3-import * as React from "react";
43 import { Combobox as ComboboxPrimitive } from "@base-ui/react";
5-
6-import { cn } from "@/lib/utils";
4+import { CheckIcon, ChevronDownIcon, XIcon } from "lucide-react";
5+import * as React from "react";
76 import { Button } from "@/components/ui/button";
87 import {
98 InputGroup,
@@ -11,7 +10,7 @@ import {
1110 InputGroupButton,
1211 InputGroupInput,
1312 } from "@/components/ui/input-group";
14-import { ChevronDownIcon, XIcon, CheckIcon } from "lucide-react";
13+import { cn } from "@/lib/utils";
1514
1615 const Combobox = ComboboxPrimitive.Root;
1716
src/components/ui/dropdown-menu.tsx+2−3
@@ -1,10 +1,9 @@
11 "use client";
22
3-import * as React from "react";
3+import { CheckIcon, ChevronRightIcon } from "lucide-react";
44 import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
5-
5+import type * as React from "react";
66 import { cn } from "@/lib/utils";
7-import { CheckIcon, ChevronRightIcon } from "lucide-react";
87
98 function DropdownMenu({
109 ...props
src/components/ui/field.tsx+2−3
@@ -1,11 +1,10 @@
11 "use client";
22
3-import { useMemo } from "react";
43 import { cva, type VariantProps } from "class-variance-authority";
5-
6-import { cn } from "@/lib/utils";
4+import { useMemo } from "react";
75 import { Label } from "@/components/ui/label";
86 import { Separator } from "@/components/ui/separator";
7+import { cn } from "@/lib/utils";
98
109 function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">) {
1110 return (
src/components/ui/input-group.tsx+2−3
@@ -1,12 +1,11 @@
11 "use client";
22
3-import * as React from "react";
43 import { cva, type VariantProps } from "class-variance-authority";
5-
6-import { cn } from "@/lib/utils";
4+import type * as React from "react";
75 import { Button } from "@/components/ui/button";
86 import { Input } from "@/components/ui/input";
97 import { Textarea } from "@/components/ui/textarea";
8+import { cn } from "@/lib/utils";
109
1110 function InputGroup({ className, ...props }: React.ComponentProps<"div">) {
1211 return (
src/components/ui/input.tsx+1−1
@@ -1,4 +1,4 @@
1-import * as React from "react";
1+import type * as React from "react";
22
33 import { cn } from "@/lib/utils";
44
src/components/ui/label.tsx+1−1
@@ -1,7 +1,7 @@
11 "use client";
22
3-import * as React from "react";
43 import { Label as LabelPrimitive } from "radix-ui";
4+import type * as React from "react";
55
66 import { cn } from "@/lib/utils";
77
src/components/ui/select.tsx+2−3
@@ -1,10 +1,9 @@
11 "use client";
22
3-import * as React from "react";
3+import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
44 import { Select as SelectPrimitive } from "radix-ui";
5-
5+import type * as React from "react";
66 import { cn } from "@/lib/utils";
7-import { ChevronDownIcon, CheckIcon, ChevronUpIcon } from "lucide-react";
87
98 function Select({
109 ...props
src/components/ui/separator.tsx+1−1
@@ -1,7 +1,7 @@
11 "use client";
22
3-import * as React from "react";
43 import { Separator as SeparatorPrimitive } from "radix-ui";
4+import type * as React from "react";
55
66 import { cn } from "@/lib/utils";
77
src/components/ui/sheet.tsx+3−4
@@ -1,11 +1,10 @@
11 "use client";
22
3-import * as React from "react";
3+import { XIcon } from "lucide-react";
44 import { Dialog as SheetPrimitive } from "radix-ui";
5-
6-import { cn } from "@/lib/utils";
5+import type * as React from "react";
76 import { Button } from "@/components/ui/button";
8-import { XIcon } from "lucide-react";
7+import { cn } from "@/lib/utils";
98
109 function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {
1110 return <SheetPrimitive.Root data-slot="sheet" {...props} />;
src/components/ui/textarea.tsx+1−1
@@ -1,4 +1,4 @@
1-import * as React from "react";
1+import type * as React from "react";
22
33 import { cn } from "@/lib/utils";
44
src/components/ui/tooltip.tsx+1−1
@@ -1,7 +1,7 @@
11 "use client";
22
3-import * as React from "react";
43 import { Tooltip as TooltipPrimitive } from "radix-ui";
4+import type * as React from "react";
55
66 import { cn } from "@/lib/utils";