initialized UI redesign

This commit is contained in:
NicholaiVogel 2025-09-25 01:03:04 -06:00
parent 1ba950f11a
commit 24c3df3085
14 changed files with 1677 additions and 130 deletions

22
components.json Normal file
View File

@ -0,0 +1,22 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"registries": {}
}

608
package-lock.json generated
View File

@ -8,9 +8,19 @@
"name": "bingus-app", "name": "bingus-app",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@studio-freight/lenis": "^1.0.42",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lenis": "^1.3.11",
"lucide-react": "^0.544.0",
"next": "15.5.4", "next": "15.5.4",
"react": "19.1.0", "react": "19.1.0",
"react-dom": "19.1.0" "react-dom": "19.1.0",
"tailwind-merge": "^3.3.1",
"vaul": "^1.1.2"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3", "@eslint/eslintrc": "^3",
@ -21,6 +31,7 @@
"eslint": "^9", "eslint": "^9",
"eslint-config-next": "15.5.4", "eslint-config-next": "15.5.4",
"tailwindcss": "^4", "tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"typescript": "^5" "typescript": "^5"
} }
}, },
@ -959,6 +970,360 @@
"node": ">=12.4.0" "node": ">=12.4.0"
} }
}, },
"node_modules/@radix-ui/primitive": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz",
"integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==",
"license": "MIT"
},
"node_modules/@radix-ui/react-compose-refs": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
"integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-context": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",
"integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-dialog": {
"version": "1.1.15",
"resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz",
"integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==",
"license": "MIT",
"dependencies": {
"@radix-ui/primitive": "1.1.3",
"@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-context": "1.1.2",
"@radix-ui/react-dismissable-layer": "1.1.11",
"@radix-ui/react-focus-guards": "1.1.3",
"@radix-ui/react-focus-scope": "1.1.7",
"@radix-ui/react-id": "1.1.1",
"@radix-ui/react-portal": "1.1.9",
"@radix-ui/react-presence": "1.1.5",
"@radix-ui/react-primitive": "2.1.3",
"@radix-ui/react-slot": "1.2.3",
"@radix-ui/react-use-controllable-state": "1.2.2",
"aria-hidden": "^1.2.4",
"react-remove-scroll": "^2.6.3"
},
"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
}
}
},
"node_modules/@radix-ui/react-dismissable-layer": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz",
"integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==",
"license": "MIT",
"dependencies": {
"@radix-ui/primitive": "1.1.3",
"@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-primitive": "2.1.3",
"@radix-ui/react-use-callback-ref": "1.1.1",
"@radix-ui/react-use-escape-keydown": "1.1.1"
},
"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
}
}
},
"node_modules/@radix-ui/react-focus-guards": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz",
"integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-focus-scope": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz",
"integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-primitive": "2.1.3",
"@radix-ui/react-use-callback-ref": "1.1.1"
},
"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
}
}
},
"node_modules/@radix-ui/react-id": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz",
"integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-portal": {
"version": "1.1.9",
"resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz",
"integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-primitive": "2.1.3",
"@radix-ui/react-use-layout-effect": "1.1.1"
},
"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
}
}
},
"node_modules/@radix-ui/react-presence": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz",
"integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-use-layout-effect": "1.1.1"
},
"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
}
}
},
"node_modules/@radix-ui/react-primitive": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",
"integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-slot": "1.2.3"
},
"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
}
}
},
"node_modules/@radix-ui/react-separator": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.7.tgz",
"integrity": "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-primitive": "2.1.3"
},
"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
}
}
},
"node_modules/@radix-ui/react-slot": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",
"integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-compose-refs": "1.1.2"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-use-callback-ref": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",
"integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-use-controllable-state": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz",
"integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-use-effect-event": "0.0.2",
"@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-use-effect-event": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz",
"integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-use-escape-keydown": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz",
"integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-use-callback-ref": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-use-layout-effect": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
"integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
"license": "MIT",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@rtsao/scc": { "node_modules/@rtsao/scc": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",
@ -973,6 +1338,13 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/@studio-freight/lenis": {
"version": "1.0.42",
"resolved": "https://registry.npmjs.org/@studio-freight/lenis/-/lenis-1.0.42.tgz",
"integrity": "sha512-HJAGf2DeM+BTvKzHv752z6Z7zy6bA643nZM7W88Ft9tnw2GsJSp6iJ+3cekjyMIWH+cloL2U9X82dKXgdU8kPg==",
"deprecated": "The '@studio-freight/lenis' package has been renamed to 'lenis'. Please update your dependencies: npm install lenis and visit the documentation: https://www.npmjs.com/package/lenis",
"license": "MIT"
},
"node_modules/@swc/helpers": { "node_modules/@swc/helpers": {
"version": "0.5.15", "version": "0.5.15",
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",
@ -1304,7 +1676,7 @@
"version": "19.1.13", "version": "19.1.13",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.13.tgz", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.13.tgz",
"integrity": "sha512-hHkbU/eoO3EG5/MZkuFSKmYqPbSVk5byPFa3e7y/8TybHiLMACgI8seVYlicwk7H5K/rI2px9xrQp/C+AUDTiQ==", "integrity": "sha512-hHkbU/eoO3EG5/MZkuFSKmYqPbSVk5byPFa3e7y/8TybHiLMACgI8seVYlicwk7H5K/rI2px9xrQp/C+AUDTiQ==",
"dev": true, "devOptional": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"csstype": "^3.0.2" "csstype": "^3.0.2"
@ -1314,7 +1686,7 @@
"version": "19.1.9", "version": "19.1.9",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.1.9.tgz", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.1.9.tgz",
"integrity": "sha512-qXRuZaOsAdXKFyOhRBg6Lqqc0yay13vN7KrIg4L7N4aaHN68ma9OK3NE1BoDFgFOTfM7zg+3/8+2n8rLUH3OKQ==", "integrity": "sha512-qXRuZaOsAdXKFyOhRBg6Lqqc0yay13vN7KrIg4L7N4aaHN68ma9OK3NE1BoDFgFOTfM7zg+3/8+2n8rLUH3OKQ==",
"dev": true, "devOptional": true,
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@types/react": "^19.0.0" "@types/react": "^19.0.0"
@ -1940,6 +2312,18 @@
"dev": true, "dev": true,
"license": "Python-2.0" "license": "Python-2.0"
}, },
"node_modules/aria-hidden": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",
"integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",
"license": "MIT",
"dependencies": {
"tslib": "^2.0.0"
},
"engines": {
"node": ">=10"
}
},
"node_modules/aria-query": { "node_modules/aria-query": {
"version": "5.3.2", "version": "5.3.2",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",
@ -2301,12 +2685,33 @@
"node": ">=18" "node": ">=18"
} }
}, },
"node_modules/class-variance-authority": {
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz",
"integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==",
"license": "Apache-2.0",
"dependencies": {
"clsx": "^2.1.1"
},
"funding": {
"url": "https://polar.sh/cva"
}
},
"node_modules/client-only": { "node_modules/client-only": {
"version": "0.0.1", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
"integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==", "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/clsx": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
"integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
"license": "MIT",
"engines": {
"node": ">=6"
}
},
"node_modules/color-convert": { "node_modules/color-convert": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@ -2353,7 +2758,7 @@
"version": "3.1.3", "version": "3.1.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
"integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
"dev": true, "devOptional": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/damerau-levenshtein": { "node_modules/damerau-levenshtein": {
@ -2488,6 +2893,12 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/detect-node-es": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
"integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==",
"license": "MIT"
},
"node_modules/doctrine": { "node_modules/doctrine": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
@ -3360,6 +3771,15 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/get-nonce": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
"integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",
"license": "MIT",
"engines": {
"node": ">=6"
}
},
"node_modules/get-proto": { "node_modules/get-proto": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
@ -4164,6 +4584,32 @@
"node": ">=0.10" "node": ">=0.10"
} }
}, },
"node_modules/lenis": {
"version": "1.3.11",
"resolved": "https://registry.npmjs.org/lenis/-/lenis-1.3.11.tgz",
"integrity": "sha512-lkyBnNTVwJzlupp+VL6LTn62WeT8WponuLpmTU0Z20cMwMsLLjqbSqwuA7I1yKSVWCBj/awo4jnFzOMOVCB8OQ==",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/darkroomengineering"
},
"peerDependencies": {
"@nuxt/kit": ">=3.0.0",
"react": ">=17.0.0",
"vue": ">=3.0.0"
},
"peerDependenciesMeta": {
"@nuxt/kit": {
"optional": true
},
"react": {
"optional": true
},
"vue": {
"optional": true
}
}
},
"node_modules/levn": { "node_modules/levn": {
"version": "0.4.1", "version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
@ -4453,6 +4899,15 @@
"loose-envify": "cli.js" "loose-envify": "cli.js"
} }
}, },
"node_modules/lucide-react": {
"version": "0.544.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.544.0.tgz",
"integrity": "sha512-t5tS44bqd825zAW45UQxpG2CvcC4urOwn2TrwSH8u+MjeE+1NnWl6QqeQ/6NdjMqdOygyiT9p3Ev0p1NJykxjw==",
"license": "ISC",
"peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/magic-string": { "node_modules/magic-string": {
"version": "0.30.19", "version": "0.30.19",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.19.tgz", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.19.tgz",
@ -5041,6 +5496,75 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/react-remove-scroll": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.1.tgz",
"integrity": "sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA==",
"license": "MIT",
"dependencies": {
"react-remove-scroll-bar": "^2.3.7",
"react-style-singleton": "^2.2.3",
"tslib": "^2.1.0",
"use-callback-ref": "^1.3.3",
"use-sidecar": "^1.1.3"
},
"engines": {
"node": ">=10"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/react-remove-scroll-bar": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz",
"integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==",
"license": "MIT",
"dependencies": {
"react-style-singleton": "^2.2.2",
"tslib": "^2.0.0"
},
"engines": {
"node": ">=10"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/react-style-singleton": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",
"integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==",
"license": "MIT",
"dependencies": {
"get-nonce": "^1.0.0",
"tslib": "^2.0.0"
},
"engines": {
"node": ">=10"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/reflect.getprototypeof": { "node_modules/reflect.getprototypeof": {
"version": "1.0.10", "version": "1.0.10",
"resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz",
@ -5641,6 +6165,16 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/tailwind-merge": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.3.1.tgz",
"integrity": "sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/dcastil"
}
},
"node_modules/tailwindcss": { "node_modules/tailwindcss": {
"version": "4.1.13", "version": "4.1.13",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.13.tgz", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.13.tgz",
@ -5772,6 +6306,16 @@
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD" "license": "0BSD"
}, },
"node_modules/tw-animate-css": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/tw-animate-css/-/tw-animate-css-1.4.0.tgz",
"integrity": "sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/Wombosvideo"
}
},
"node_modules/type-check": { "node_modules/type-check": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@ -5948,6 +6492,62 @@
"punycode": "^2.1.0" "punycode": "^2.1.0"
} }
}, },
"node_modules/use-callback-ref": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",
"integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==",
"license": "MIT",
"dependencies": {
"tslib": "^2.0.0"
},
"engines": {
"node": ">=10"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/use-sidecar": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz",
"integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",
"license": "MIT",
"dependencies": {
"detect-node-es": "^1.1.0",
"tslib": "^2.0.0"
},
"engines": {
"node": ">=10"
},
"peerDependencies": {
"@types/react": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/vaul": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vaul/-/vaul-1.1.2.tgz",
"integrity": "sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-dialog": "^1.1.1"
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"
}
},
"node_modules/which": { "node_modules/which": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",

View File

@ -9,19 +9,30 @@
"lint": "eslint" "lint": "eslint"
}, },
"dependencies": { "dependencies": {
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@studio-freight/lenis": "^1.0.42",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lenis": "^1.3.11",
"lucide-react": "^0.544.0",
"next": "15.5.4",
"react": "19.1.0", "react": "19.1.0",
"react-dom": "19.1.0", "react-dom": "19.1.0",
"next": "15.5.4" "tailwind-merge": "^3.3.1",
"vaul": "^1.1.2"
}, },
"devDependencies": { "devDependencies": {
"typescript": "^5", "@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4",
"@types/node": "^20", "@types/node": "^20",
"@types/react": "^19", "@types/react": "^19",
"@types/react-dom": "^19", "@types/react-dom": "^19",
"@tailwindcss/postcss": "^4",
"tailwindcss": "^4",
"eslint": "^9", "eslint": "^9",
"eslint-config-next": "15.5.4", "eslint-config-next": "15.5.4",
"@eslint/eslintrc": "^3" "tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"typescript": "^5"
} }
} }

View File

@ -1,26 +1,190 @@
@import "tailwindcss"; @import "tailwindcss";
@import "tw-animate-css";
:root { @custom-variant dark (&:is(.dark *));
--background: #ffffff;
--foreground: #171717;
}
@theme inline { @theme inline {
--color-background: var(--background); --color-background: var(--background);
--color-foreground: var(--foreground); --color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans); --font-sans: Inter, ui-monospace, monospace;
--font-mono: var(--font-geist-mono); --font-mono: Chivo Mono, ui-monospace, monospace;
--font-serif: Adamina, ui-serif, serif;
--radius: 0.175rem;
--tracking-tighter: calc(var(--tracking-normal) - 0.05em);
--tracking-tight: calc(var(--tracking-normal) - 0.025em);
--tracking-wide: calc(var(--tracking-normal) + 0.025em);
--tracking-wider: calc(var(--tracking-normal) + 0.05em);
--tracking-widest: calc(var(--tracking-normal) + 0.1em);
--tracking-normal: var(--tracking-normal);
--shadow-2xl: var(--shadow-2xl);
--shadow-xl: var(--shadow-xl);
--shadow-lg: var(--shadow-lg);
--shadow-md: var(--shadow-md);
--shadow: var(--shadow);
--shadow-sm: var(--shadow-sm);
--shadow-xs: var(--shadow-xs);
--shadow-2xs: var(--shadow-2xs);
--spacing: var(--spacing);
--letter-spacing: var(--letter-spacing);
--shadow-offset-y: var(--shadow-offset-y);
--shadow-offset-x: var(--shadow-offset-x);
--shadow-spread: var(--shadow-spread);
--shadow-blur: var(--shadow-blur);
--shadow-opacity: var(--shadow-opacity);
--color-shadow-color: var(--shadow-color);
--color-destructive-foreground: var(--destructive-foreground);
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
} }
@media (prefers-color-scheme: dark) { :root {
:root { --radius: 0.175rem;
--background: #0a0a0a; --background: oklch(1.0000 0 0);
--foreground: #ededed; --foreground: oklch(0.2138 0.0019 286.2347);
--card: oklch(1.0000 0 0);
--card-foreground: oklch(0.2138 0.0019 286.2347);
--popover: oklch(1.0000 0 0);
--popover-foreground: oklch(0.2138 0.0019 286.2347);
--primary: oklch(0.2138 0.0019 286.2347);
--primary-foreground: oklch(0.9581 0 0);
--secondary: oklch(0.6677 0.2235 36.9862);
--secondary-foreground: oklch(0.2138 0.0019 286.2347);
--muted: oklch(0.9702 0 0);
--muted-foreground: oklch(0.5555 0 0);
--accent: oklch(0.6677 0.2235 36.9862);
--accent-foreground: oklch(0.2138 0.0019 286.2347);
--destructive: oklch(0.6677 0.2235 36.9862);
--border: oklch(0.9219 0 0);
--input: oklch(0.9219 0 0);
--ring: oklch(0.7090 0 0);
--chart-1: oklch(0.7475 0.1605 43.1311);
--chart-2: oklch(0.7095 0.1902 41.4239);
--chart-3: oklch(0.6677 0.2235 36.9862);
--chart-4: oklch(0.5183 0.1712 37.5972);
--chart-5: oklch(0.4646 0.1509 38.3501);
--sidebar: oklch(0.9851 0 0);
--sidebar-foreground: oklch(0.2138 0.0019 286.2347);
--sidebar-primary: oklch(0.2138 0.0019 286.2347);
--sidebar-primary-foreground: oklch(0.9851 0 0);
--sidebar-accent: oklch(0.9702 0 0);
--sidebar-accent-foreground: oklch(0.2138 0.0019 286.2347);
--sidebar-border: oklch(0.9219 0 0);
--sidebar-ring: oklch(0.7090 0 0);
--destructive-foreground: oklch(1.0000 0 0);
--font-sans: Chivo Mono, ui-monospace, monospace;
--font-serif: Adamina, ui-serif, serif;
--font-mono: Chivo Mono, ui-monospace, monospace;
--shadow-color: oklch(0 0 0);
--shadow-opacity: 0.03;
--shadow-blur: 1.5px;
--shadow-spread: -0.5px;
--shadow-offset-x: 3.5px;
--shadow-offset-y: 4px;
--letter-spacing: -0.025em;
--spacing: 0.27rem;
--shadow-2xs: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.01);
--shadow-xs: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.01);
--shadow-sm: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.03), 3.5px 1px 2px -1.5px hsl(0 0% 0% / 0.03);
--shadow: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.03), 3.5px 1px 2px -1.5px hsl(0 0% 0% / 0.03);
--shadow-md: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.03), 3.5px 2px 4px -1.5px hsl(0 0% 0% / 0.03);
--shadow-lg: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.03), 3.5px 4px 6px -1.5px hsl(0 0% 0% / 0.03);
--shadow-xl: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.03), 3.5px 8px 10px -1.5px hsl(0 0% 0% / 0.03);
--shadow-2xl: 3.5px 4px 1.5px -0.5px hsl(0 0% 0% / 0.07);
--tracking-normal: -0.025em;
}
.dark {
--background: oklch(0 0 0);
--foreground: oklch(0.8822 0 0);
--card: oklch(0.1822 0 0);
--card-foreground: oklch(0.9851 0 0);
--popover: oklch(0.2686 0 0);
--popover-foreground: oklch(0.9851 0 0);
--primary: oklch(0.9219 0 0);
--primary-foreground: oklch(0.2138 0.0019 286.2347);
--secondary: oklch(0.6677 0.2235 36.9862);
--secondary-foreground: oklch(0 0 0);
--muted: oklch(0.2686 0 0);
--muted-foreground: oklch(0.7090 0 0);
--accent: oklch(0.6677 0.2235 36.9862);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.6677 0.2235 36.9862);
--border: oklch(0.2768 0 0);
--input: oklch(0.3250 0 0);
--ring: oklch(0.5555 0 0);
--chart-1: oklch(0.7475 0.1605 43.1311);
--chart-2: oklch(0.7095 0.1902 41.4239);
--chart-3: oklch(0.6677 0.2235 36.9862);
--chart-4: oklch(0.5183 0.1712 37.5972);
--chart-5: oklch(0.4646 0.1509 38.3501);
--sidebar: oklch(0.2138 0.0019 286.2347);
--sidebar-foreground: oklch(0.9851 0 0);
--sidebar-primary: oklch(0.6677 0.2235 36.9862);
--sidebar-primary-foreground: oklch(0.9851 0 0);
--sidebar-accent: oklch(0.2686 0 0);
--sidebar-accent-foreground: oklch(0.9851 0 0);
--sidebar-border: oklch(0.2768 0 0);
--sidebar-ring: oklch(0.4386 0 0);
--destructive-foreground: oklch(0.9851 0 0);
--radius: 0.175rem;
--font-sans: Chivo Mono, ui-monospace, monospace;
--font-serif: Adamina, ui-serif, serif;
--font-mono: Chivo Mono, ui-monospace, monospace;
--shadow-color: #ff4d00;
--shadow-opacity: 0.03;
--shadow-blur: 1.5px;
--shadow-spread: -0.5px;
--shadow-offset-x: 3.5px;
--shadow-offset-y: 4px;
--letter-spacing: -0.025em;
--spacing: 0.27rem;
--shadow-2xs: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.01);
--shadow-xs: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.01);
--shadow-sm: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.03), 3.5px 1px 2px -1.5px hsl(18.1176 100% 50% / 0.03);
--shadow: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.03), 3.5px 1px 2px -1.5px hsl(18.1176 100% 50% / 0.03);
--shadow-md: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.03), 3.5px 2px 4px -1.5px hsl(18.1176 100% 50% / 0.03);
--shadow-lg: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.03), 3.5px 4px 6px -1.5px hsl(18.1176 100% 50% / 0.03);
--shadow-xl: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.03), 3.5px 8px 10px -1.5px hsl(18.1176 100% 50% / 0.03);
--shadow-2xl: 3.5px 4px 1.5px -0.5px hsl(18.1176 100% 50% / 0.07);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
letter-spacing: var(--tracking-normal);
} }
} }
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}

View File

@ -1,6 +1,21 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google"; import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { Inter, Chivo_Mono, Adamina } from "next/font/google";
import LenisProvider from '@/lib/lenis-provider'
const chivoMono = Chivo_Mono({
subsets: ["latin"],
variable: "--font-chivo-mono",
display: "swap",
});
const adamina = Adamina({
weight: "400",
subsets: ["latin"],
variable: "--font-adamina",
display: "swap",
});
const geistSans = Geist({ const geistSans = Geist({
variable: "--font-geist-sans", variable: "--font-geist-sans",
@ -24,10 +39,8 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="en"> <html lang="en">
<body <body className={`antialiased`}>
className={`${geistSans.variable} ${geistMono.variable} antialiased`} <LenisProvider>{children}</LenisProvider>
>
{children}
</body> </body>
</html> </html>
); );

View File

@ -1,103 +1,457 @@
import Image from "next/image"; 'use client'
import { useState, useEffect } from 'react'
import { Menu, X, Plus, ArrowRight, Github, Twitter, Instagram } from 'lucide-react'
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
import { Separator } from "@/components/ui/separator"
import {
Drawer,
DrawerClose,
DrawerContent,
DrawerDescription,
DrawerFooter,
DrawerHeader,
DrawerTitle,
DrawerTrigger,
} from "@/components/ui/drawer"
export default function TypeFoundryPage() {
const [isMenuOpen, setIsMenuOpen] = useState(false)
const [currentSection, setCurrentSection] = useState(0)
// Type faces data
const typefaces = [
{ name: "BASEMENT GROTESQUE", number: "10", glyphs: "99 GLYPHS", modes: "$ MODE 1", mode2: "MODE 2" },
{ name: "ADHESION", number: "", glyphs: "", modes: "", mode2: "" },
{ name: "B-MECHA", number: "", glyphs: "", modes: "", mode2: "" },
{ name: "BLOB", number: "", glyphs: "", modes: "", mode2: "" },
{ name: "BUNKER", number: "3", glyphs: "", modes: "", mode2: "" },
{ name: "CANICHE", number: "", glyphs: "99 GLYPHS", modes: "$ MODE 1", mode2: "NODE 2" },
{ name: "CARPENTER", number: "", glyphs: "103 GLYPHS", modes: "$ MODE 1", mode2: "MODE 2" },
{ name: "CURIA", number: "", glyphs: "", modes: "", mode2: "" },
{ name: "FFFLAUTA", number: "4", glyphs: "", modes: "", mode2: "" },
{ name: "TROVADOR", number: "", glyphs: "", modes: "", mode2: "" },
{ name: "XERO", number: "", glyphs: "", modes: "", mode2: "" },
]
const faqItems = [
{
question: "What is the difference between a font and a typeface?",
answer: "A FONT IS A SPECIFIC WEIGHT, STYLE, AND SIZE OF A TYPEFACE. A TYPEFACE IS A COLLECTION OF FONTS THAT SHARE COMMON DESIGN FEATURES. FOR EXAMPLE, HELVETICA IS A TYPEFACE AND HELVETICA BOLD IS A FONT."
},
{
question: "Can I use any font in a commercial product?",
answer: ""
},
{
question: "Can I use any font in a logo?",
answer: ""
},
{
question: "Can I use any font in print, on websites, or on apps?",
answer: ""
},
{
question: "What is the small number right next to the font name on the navigation-bar?",
answer: ""
},
{
question: "How do I contact BASEMENT FOUNDRY?",
answer: ""
}
]
const [selectedFaq, setSelectedFaq] = useState(0)
// Smooth scrolling effect for sections
useEffect(() => {
const handleScroll = () => {
const sections = ['hero', 'typefaces', 'faq', 'contact']
const scrollPosition = window.scrollY + 100
sections.forEach((section, index) => {
const element = document.getElementById(section)
if (element) {
const offsetTop = element.offsetTop
const height = element.offsetHeight
if (scrollPosition >= offsetTop && scrollPosition < offsetTop + height) {
setCurrentSection(index)
}
}
})
}
window.addEventListener('scroll', handleScroll)
return () => window.removeEventListener('scroll', handleScroll)
}, [])
export default function Home() {
return ( return (
<div className="font-sans grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20"> <div className="min-h-screen bg-black text-white overflow-x-hidden">
<main className="flex flex-col gap-[32px] row-start-2 items-center sm:items-start"> {/* Fixed Navigation Sidebar */}
<Image <div className="fixed left-0 top-0 h-screen w-64 bg-black border-r border-white/20 z-40 flex flex-col">
className="dark:invert" {/* Logo */}
src="/next.svg" <div className="p-6 border-b border-white/20">
alt="Next.js logo" <div className="text-2xl font-mono font-bold text-orange-500">
width={180} BIOHAZARD VFX
height={38} </div>
priority <div className="text-lg font-mono text-orange-500">
/> Visual Research Studio
<ol className="font-mono list-inside list-decimal text-sm/6 text-center sm:text-left"> </div>
<li className="mb-2 tracking-[-.01em]">
Get started by editing{" "}
<code className="bg-black/[.05] dark:bg-white/[.06] font-mono font-semibold px-1 py-0.5 rounded">
src/app/page.tsx
</code>
.
</li>
<li className="tracking-[-.01em]">
Save and see your changes instantly.
</li>
</ol>
<div className="flex gap-4 items-center flex-col sm:flex-row">
<a
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:w-auto"
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
className="dark:invert"
src="/vercel.svg"
alt="Vercel logomark"
width={20}
height={20}
/>
Deploy now
</a>
<a
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 w-full sm:w-auto md:w-[158px]"
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Read our docs
</a>
</div> </div>
</main>
<footer className="row-start-3 flex gap-[24px] flex-wrap items-center justify-center"> {/* Typefaces List */}
<a <div className="flex-1 overflow-y-auto">
className="flex items-center gap-2 hover:underline hover:underline-offset-4" <div className="p-6">
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app" <div className="text-xs text-white/60 mb-4 tracking-wider"> TYPEFACES</div>
target="_blank" <div className="space-y-2">
rel="noopener noreferrer" {typefaces.map((typeface, index) => (
> <div key={index} className="flex items-center justify-between">
<Image <div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">
aria-hidden {typeface.name}
src="/file.svg" </div>
alt="File icon" {typeface.number && (
width={16} <div className="text-xs text-white/40 bg-white/10 px-1 rounded">
height={16} {typeface.number}
/> </div>
Learn )}
</a> </div>
<a ))}
className="flex items-center gap-2 hover:underline hover:underline-offset-4" </div>
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app" </div>
target="_blank" </div>
rel="noopener noreferrer"
> {/* Bottom Navigation */}
<Image <div className="border-t border-white/20">
aria-hidden <div className="p-6 space-y-4">
src="/window.svg" <div>
alt="Window icon" <div className="text-xs text-white/60 mb-2 tracking-wider"> LEGAL</div>
width={16} <div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">EULA</div>
height={16} </div>
/>
Examples <div>
</a> <div className="text-xs text-white/60 mb-2 tracking-wider"> SOCIAL</div>
<a <div className="space-y-1">
className="flex items-center gap-2 hover:underline hover:underline-offset-4" <div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">TWITTER</div>
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app" <div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">TWITCH</div>
target="_blank" <div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">INSTAGRAM</div>
rel="noopener noreferrer" <div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">GITHUB</div>
> </div>
<Image </div>
aria-hidden
src="/globe.svg" <div>
alt="Globe icon" <div className="text-xs text-white/60 mb-2 tracking-wider"> SUPPORT</div>
width={16} <div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">
height={16} FOUNDRY@BASEMENT.STUDIO
/> </div>
Go to nextjs.org </div>
</a> </div>
</footer> </div>
</div>
{/* Main Content */}
<div className="ml-64">
{/* Top Banner */}
<div className="fixed top-0 right-0 left-64 z-30 bg-black border-b border-white/20">
<div className="px-6 py-2 text-xs font-mono text-white/80 overflow-hidden whitespace-nowrap">
<div className="animate-marquee inline-block">
95% OF THE WEB IS MADE OUT OF FONTS; CHOOSE WISELY BY BASEMENT.STUDIO, COMPUTING YOU CAN TRUST! NOT YOUR AVERAGE FONT SHOP 95% OF THE WEB IS MADE OUT OF FONTS; CHOOSE WISELY
</div>
</div>
</div>
{/* Hero Section */}
<section id="hero" className="min-h-screen pt-16 relative overflow-hidden">
{/* Large Typography Display */}
<div className="absolute inset-0 flex items-center justify-center">
<div className="text-[20rem] md:text-[25rem] lg:text-[30rem] font-black leading-none text-orange-500 opacity-90 select-none pointer-events-none">
FONT
</div>
</div>
{/* Overlay Pattern */}
<div className="absolute inset-0 bg-gradient-to-br from-black/80 via-transparent to-black/80">
<div
className="absolute inset-0 opacity-20"
style={{
backgroundImage: `
radial-gradient(circle at 25px 25px, white 2px, transparent 0),
radial-gradient(circle at 75px 75px, white 2px, transparent 0)
`,
backgroundSize: '100px 100px'
}}
/>
</div>
{/* Content */}
<div className="relative z-10 h-screen flex flex-col justify-end pb-20">
<div className="px-12">
<div className="max-w-6xl">
<h1 className="text-5xl md:text-7xl lg:text-8xl font-black mb-6 leading-tight">
WE CREATED A
<br />
<span className="text-orange-500">DISTINGUISHED</span>
<br />
& EVER-EVOLVING
<br />
CATALOG OF
<br />
<span className="text-orange-500">TYPEFACES</span>
</h1>
<p className="text-lg text-white/80 max-w-2xl font-mono mb-8">
EVERY GLYPH HAS BEEN CAREFULLY CRAFTED WITH OBSESSIVE ATTENTION TO DETAIL,
ENSURING EACH TYPEFACE EMBODIES THE SPIRIT OF ITS ERA WHILE REMAINING TIMELESS.
</p>
<div className="flex items-center gap-6">
<div className="text-right">
<div className="text-sm text-white/60 font-mono">CHECK THEM ALL, DOWNSTAIRS.</div>
</div>
<Button
variant="outline"
className="border-orange-500 text-orange-500 hover:bg-orange-500 hover:text-black transition-all duration-300 font-mono"
>
EXPLORE
<ArrowRight className="ml-2 h-4 w-4" />
</Button>
<div className="text-right">
<div className="text-sm text-white/60 font-mono">BASEMENT.STUDIO LLC 2025</div>
</div>
</div>
</div>
</div>
</div>
</section>
{/* Typefaces Section */}
<section id="typefaces" className="min-h-screen py-20">
<div className="px-12">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-20 items-center mb-32">
<div>
<h2 className="text-[12rem] font-black leading-none mb-8 text-white">
BUNKER
</h2>
<div className="space-y-4 font-mono">
<div className="flex justify-between">
<span className="text-white/60">CANICHE</span>
<span className="text-white">1 STYLE / 1 WEIGHT</span>
</div>
<div className="flex justify-between">
<span></span>
<span className="text-white">99 GLYPHS</span>
</div>
<div className="flex justify-between">
<span></span>
<span className="text-white flex items-center gap-2">
$ MODE 1
<span className="text-white/60">MODE 2</span>
</span>
</div>
<div className="flex justify-end gap-2 mt-6">
<Button
variant="outline"
size="sm"
className="border-orange-500 text-orange-500 hover:bg-orange-500 hover:text-black font-mono"
>
EXPLORE
</Button>
<Button
size="sm"
className="bg-orange-500 text-black hover:bg-orange-600 font-mono"
>
BUY NOW
</Button>
</div>
</div>
</div>
<div className="relative">
<div className="aspect-square bg-gradient-to-br from-orange-500/20 to-transparent rounded-lg flex items-center justify-center">
<div className="text-6xl font-mono text-white/20 select-none">
Aa
</div>
</div>
</div>
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-20 items-center">
<div className="relative">
<div className="text-[8rem] font-black leading-none text-white/10 select-none">
CANICHE
</div>
<div className="absolute inset-0 flex items-center justify-center">
<div className="text-4xl font-bold text-white transform -skew-y-12">
CANICHE
</div>
</div>
</div>
<div>
<div className="space-y-4 font-mono">
<div className="flex justify-between">
<span className="text-white/60">CARPENTER</span>
<span className="text-white">1 STYLE / 1 WEIGHT</span>
</div>
<div className="flex justify-between">
<span></span>
<span className="text-white">103 GLYPHS</span>
</div>
<div className="flex justify-between">
<span></span>
<span className="text-white flex items-center gap-2">
$ MODE 1
<span className="text-white/60">MODE 2</span>
</span>
</div>
<div className="flex justify-end gap-2 mt-6">
<Button
variant="outline"
size="sm"
className="border-orange-500 text-orange-500 hover:bg-orange-500 hover:text-black font-mono"
>
EXPLORE
</Button>
<Button
size="sm"
className="bg-orange-500 text-black hover:bg-orange-600 font-mono"
>
BUY NOW
</Button>
</div>
</div>
</div>
</div>
</div>
</section>
{/* FAQ Section */}
<section id="faq" className="min-h-screen py-20">
<div className="px-12">
<div className="mb-16">
<h2 className="text-sm font-mono text-white/60 mb-4 tracking-wider">FREQUENTLY ASKED QUESTIONS</h2>
<div className="text-sm font-mono text-white/60 mb-8">QUESTIONS YOU MAY HAVE</div>
<div className="text-sm font-mono text-white/60">SHOP WITH CONFIDENCE</div>
</div>
<div className="max-w-4xl">
<div className="space-y-1">
{faqItems.map((item, index) => (
<div key={index}>
<button
className={`w-full text-left py-4 text-lg font-mono transition-colors ${
selectedFaq === index ? 'text-orange-500' : 'text-white/60 hover:text-white'
}`}
onClick={() => setSelectedFaq(selectedFaq === index ? -1 : index)}
>
{item.question}
</button>
{selectedFaq === index && item.answer && (
<div className="pb-6 pr-8">
<div className="text-sm font-mono text-white bg-white/5 p-6 rounded border border-white/10">
{item.answer}
</div>
</div>
)}
<Separator className="bg-white/10" />
</div>
))}
</div>
</div>
</div>
</section>
{/* Footer/Contact Section */}
<section id="contact" className="min-h-screen py-20">
<div className="px-12">
<div className="relative">
{/* Large 3D Text Background */}
<div className="absolute inset-0 overflow-hidden">
<div className="text-[20rem] font-black leading-none text-white/5 select-none pointer-events-none whitespace-nowrap">
BSMNT
</div>
{/* Wireframe overlay effect */}
<div className="absolute inset-0">
<div
className="w-full h-full opacity-10"
style={{
backgroundImage: `
linear-gradient(to right, white 1px, transparent 1px),
linear-gradient(to bottom, white 1px, transparent 1px)
`,
backgroundSize: '50px 50px'
}}
/>
</div>
</div>
<div className="relative z-10 pt-20">
<div className="grid grid-cols-1 lg:grid-cols-4 gap-12">
{/* Typefaces */}
<div>
<div className="text-xs text-white/60 mb-4 tracking-wider"> TYPEFACES</div>
<div className="space-y-2">
{typefaces.slice(0, 4).map((typeface, index) => (
<div key={index} className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">
{typeface.name}
</div>
))}
{typefaces.slice(4, 8).map((typeface, index) => (
<div key={index} className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">
{typeface.name}
</div>
))}
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">TROVADOR</div>
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">XERO</div>
</div>
</div>
{/* Legal */}
<div>
<div className="text-xs text-white/60 mb-4 tracking-wider"> LEGAL</div>
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">EULA</div>
</div>
{/* Social */}
<div>
<div className="text-xs text-white/60 mb-4 tracking-wider"> SOCIAL</div>
<div className="space-y-2">
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">TWITTER</div>
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">TWITCH</div>
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">INSTAGRAM</div>
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">GITHUB</div>
</div>
</div>
{/* Support */}
<div>
<div className="text-xs text-white/60 mb-4 tracking-wider"> SUPPORT</div>
<div className="text-sm font-mono hover:text-orange-500 cursor-pointer transition-colors">
FOUNDRY@BASEMENT.STUDIO
</div>
</div>
</div>
{/* Copyright */}
<div className="mt-20 pt-8 border-t border-white/20 text-center">
<div className="text-sm font-mono text-white/60">
© BASEMENT.STUDIO LLC 2025
<br />
ALL RIGHTS RESERVED.
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<style jsx>{`
@keyframes marquee {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
.animate-marquee {
animation: marquee 30s linear infinite;
}
`}</style>
</div> </div>
); )
} }

View File

@ -0,0 +1,58 @@
import * as React from "react"
import { Slot } from "@radix-ui/react-slot"
import { cva, type VariantProps } from "class-variance-authority"
import { cn } from "@/lib/utils"
const buttonVariants = cva(
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
{
variants: {
variant: {
default: "bg-primary text-primary-foreground hover:bg-primary/90",
destructive:
"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
outline:
"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
ghost:
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
link: "text-primary underline-offset-4 hover:underline",
},
size: {
default: "h-9 px-4 py-2 has-[>svg]:px-3",
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
icon: "size-9",
},
},
defaultVariants: {
variant: "default",
size: "default",
},
}
)
function Button({
className,
variant,
size,
asChild = false,
...props
}: React.ComponentProps<"button"> &
VariantProps<typeof buttonVariants> & {
asChild?: boolean
}) {
const Comp = asChild ? Slot : "button"
return (
<Comp
data-slot="button"
className={cn(buttonVariants({ variant, size, className }))}
{...props}
/>
)
}
export { Button, buttonVariants }

View File

@ -0,0 +1,92 @@
import * as React from "react"
import { cn } from "@/lib/utils"
function Card({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card"
className={cn(
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
className
)}
{...props}
/>
)
}
function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card-header"
className={cn(
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
className
)}
{...props}
/>
)
}
function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card-title"
className={cn("leading-none font-semibold", className)}
{...props}
/>
)
}
function CardDescription({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card-description"
className={cn("text-muted-foreground text-sm", className)}
{...props}
/>
)
}
function CardAction({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card-action"
className={cn(
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
className
)}
{...props}
/>
)
}
function CardContent({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card-content"
className={cn("px-6", className)}
{...props}
/>
)
}
function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card-footer"
className={cn("flex items-center px-6 [.border-t]:pt-6", className)}
{...props}
/>
)
}
export {
Card,
CardHeader,
CardFooter,
CardTitle,
CardAction,
CardDescription,
CardContent,
}

View File

@ -0,0 +1,135 @@
"use client"
import * as React from "react"
import { Drawer as DrawerPrimitive } from "vaul"
import { cn } from "@/lib/utils"
function Drawer({
...props
}: React.ComponentProps<typeof DrawerPrimitive.Root>) {
return <DrawerPrimitive.Root data-slot="drawer" {...props} />
}
function DrawerTrigger({
...props
}: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {
return <DrawerPrimitive.Trigger data-slot="drawer-trigger" {...props} />
}
function DrawerPortal({
...props
}: React.ComponentProps<typeof DrawerPrimitive.Portal>) {
return <DrawerPrimitive.Portal data-slot="drawer-portal" {...props} />
}
function DrawerClose({
...props
}: React.ComponentProps<typeof DrawerPrimitive.Close>) {
return <DrawerPrimitive.Close data-slot="drawer-close" {...props} />
}
function DrawerOverlay({
className,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
return (
<DrawerPrimitive.Overlay
data-slot="drawer-overlay"
className={cn(
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
className
)}
{...props}
/>
)
}
function DrawerContent({
className,
children,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Content>) {
return (
<DrawerPortal data-slot="drawer-portal">
<DrawerOverlay />
<DrawerPrimitive.Content
data-slot="drawer-content"
className={cn(
"group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
className
)}
{...props}
>
<div className="bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" />
{children}
</DrawerPrimitive.Content>
</DrawerPortal>
)
}
function DrawerHeader({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="drawer-header"
className={cn(
"flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",
className
)}
{...props}
/>
)
}
function DrawerFooter({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="drawer-footer"
className={cn("mt-auto flex flex-col gap-2 p-4", className)}
{...props}
/>
)
}
function DrawerTitle({
className,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Title>) {
return (
<DrawerPrimitive.Title
data-slot="drawer-title"
className={cn("text-foreground font-semibold", className)}
{...props}
/>
)
}
function DrawerDescription({
className,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Description>) {
return (
<DrawerPrimitive.Description
data-slot="drawer-description"
className={cn("text-muted-foreground text-sm", className)}
{...props}
/>
)
}
export {
Drawer,
DrawerPortal,
DrawerOverlay,
DrawerTrigger,
DrawerClose,
DrawerContent,
DrawerHeader,
DrawerFooter,
DrawerTitle,
DrawerDescription,
}

View File

@ -0,0 +1,21 @@
import * as React from "react"
import { cn } from "@/lib/utils"
function Input({ className, type, ...props }: React.ComponentProps<"input">) {
return (
<input
type={type}
data-slot="input"
className={cn(
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
className
)}
{...props}
/>
)
}
export { Input }

View File

@ -0,0 +1,28 @@
"use client"
import * as React from "react"
import * as SeparatorPrimitive from "@radix-ui/react-separator"
import { cn } from "@/lib/utils"
function Separator({
className,
orientation = "horizontal",
decorative = true,
...props
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
return (
<SeparatorPrimitive.Root
data-slot="separator"
decorative={decorative}
orientation={orientation}
className={cn(
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
className
)}
{...props}
/>
)
}
export { Separator }

10
src/lib/lenis-config.ts Normal file
View File

@ -0,0 +1,10 @@
export const DEFAULT_LENSIS_CONFIG = {
lerp: 0.1,
smooth: true,
duration: 1.5,
easing: (t: number) => t * (2 - t)
}
export type LenisConfig = typeof DEFAULT_LENSIS_CONFIG & {
easing?: (t: number) => number
}

View File

@ -0,0 +1,33 @@
'use client'
import { useEffect } from 'react'
import Lenis from '@studio-freight/lenis'
import type { LenisConfig } from '@/lib/lenis-config'
export default function LenisProvider({
children,
}: {
children: React.ReactNode
}) {
useEffect(() => {
const lenis = new Lenis({
lerp: 0.1,
smooth: true,
duration: 1.5,
easing: (t) => t * (2 - t),
})
function raf(time: number) {
lenis.raf(time)
requestAnimationFrame(raf)
}
requestAnimationFrame(raf)
return () => {
lenis.destroy()
}
}, [])
return <>{children}</>
}

6
src/lib/utils.ts Normal file
View File

@ -0,0 +1,6 @@
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}