Hero Icons and Headless UI for navbar

This commit is contained in:
Nick Bland 2022-04-19 20:49:10 +10:00
parent 7a9f291eaf
commit a10772c958
No known key found for this signature in database
GPG Key ID: B46CF88E4DAB4A2C
2 changed files with 36 additions and 0 deletions

34
package-lock.json generated
View File

@ -8,6 +8,8 @@
"name": "website-2.0", "name": "website-2.0",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@headlessui/react": "^1.5.0",
"@heroicons/react": "^1.0.6",
"next": "12.1.4", "next": "12.1.4",
"next-themes": "^0.1.1", "next-themes": "^0.1.1",
"react": "18.0.0", "react": "18.0.0",
@ -70,6 +72,26 @@
"node": "^12.22.0 || ^14.17.0 || >=16.0.0" "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
} }
}, },
"node_modules/@headlessui/react": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.5.0.tgz",
"integrity": "sha512-aaRnYxBb3MU2FNJf3Ut9RMTUqqU3as0aI1lQhgo2n9Fa67wRu14iOGqx93xB+uMNVfNwZ5B3y/Ndm7qZGuFeMQ==",
"engines": {
"node": ">=10"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18"
}
},
"node_modules/@heroicons/react": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.6.tgz",
"integrity": "sha512-JJCXydOFWMDpCP4q13iEplA503MQO3xLoZiKum+955ZCtHINWnx26CUxVxxFQu/uLb4LW3ge15ZpzIkXKkJ8oQ==",
"peerDependencies": {
"react": ">= 16"
}
},
"node_modules/@humanwhocodes/config-array": { "node_modules/@humanwhocodes/config-array": {
"version": "0.9.5", "version": "0.9.5",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz",
@ -3489,6 +3511,18 @@
"strip-json-comments": "^3.1.1" "strip-json-comments": "^3.1.1"
} }
}, },
"@headlessui/react": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.5.0.tgz",
"integrity": "sha512-aaRnYxBb3MU2FNJf3Ut9RMTUqqU3as0aI1lQhgo2n9Fa67wRu14iOGqx93xB+uMNVfNwZ5B3y/Ndm7qZGuFeMQ==",
"requires": {}
},
"@heroicons/react": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.6.tgz",
"integrity": "sha512-JJCXydOFWMDpCP4q13iEplA503MQO3xLoZiKum+955ZCtHINWnx26CUxVxxFQu/uLb4LW3ge15ZpzIkXKkJ8oQ==",
"requires": {}
},
"@humanwhocodes/config-array": { "@humanwhocodes/config-array": {
"version": "0.9.5", "version": "0.9.5",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz",

View File

@ -9,6 +9,8 @@
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {
"@headlessui/react": "^1.5.0",
"@heroicons/react": "^1.0.6",
"next": "12.1.4", "next": "12.1.4",
"next-themes": "^0.1.1", "next-themes": "^0.1.1",
"react": "18.0.0", "react": "18.0.0",