diff --git a/app/layout.tsx b/app/layout.tsx index 702d699c..8a670a45 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,3 +1,4 @@ +import { Navbar } from '@/components/navbar' import type { Metadata } from 'next' import { Sawarabi_Gothic } from 'next/font/google' import type React from 'react' @@ -20,7 +21,10 @@ export default function RootLayout({ }) { return ( - {children} + + + {children} + ) } diff --git a/app/page.test.tsx b/app/page.test.tsx index 82510bb2..ec467c72 100644 --- a/app/page.test.tsx +++ b/app/page.test.tsx @@ -6,15 +6,14 @@ render() test('p test', () => { const p = document.querySelectorAll('p') - expect(p[0]?.innerText).toEqual('Get started by editing\u00A0app/page.tsx') - expect(p[1]?.innerText).toEqual( + expect(p[0]?.innerText).toEqual( 'Find in-depth information about Next.js features and API.', ) - expect(p[2]?.innerText).toEqual( + expect(p[1]?.innerText).toEqual( 'Learn about Next.js in an interactive course with\u00A0quizzes!', ) - expect(p[3]?.innerText).toEqual('Explore starter templates for Next.js.') - expect(p[4]?.innerText).toEqual( + expect(p[2]?.innerText).toEqual('Explore starter templates for Next.js.') + expect(p[3]?.innerText).toEqual( 'Instantly deploy your Next.js site to a shareable URL with Vercel.', ) }) diff --git a/app/page.tsx b/app/page.tsx index fcf3ac3b..8ee8b8b6 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -4,10 +4,6 @@ export default function Home() { return (
-

- Get started by editing  - app/page.tsx -

+ + +
+ +
+ + Your Company + + + +
+
+
+
+ + Product + + + Features + + + Marketplace + + + Company + +
+
+
+
+
+ + ) +} diff --git a/package.json b/package.json index 0cf28b98..5ce29fdb 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,8 @@ "lint": "bunx @biomejs/biome check --apply ." }, "dependencies": { + "@headlessui/react": "^1.7.18", + "@heroicons/react": "^2.1.1", "next": "canary", "react": "canary", "react-dom": "canary" diff --git a/public/favicon.png b/public/favicon.png new file mode 100644 index 00000000..b94f5438 Binary files /dev/null and b/public/favicon.png differ diff --git a/yarn.lock b/yarn.lock index 6b64c284..3c59569f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,6 +1,6 @@ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 -# bun ./bun.lockb --hash: 44A51E48B03767D7-62cc2ce941833873-ADABB4F81C8689A4-5a71cab9c355ced4 +# bun ./bun.lockb --hash: 5588BA308481B8AD-7ab2d1f434fdff23-23125F6ED0B2FDA4-a8e42dee1294bbf6 "@alloc/quick-lru@^5.2.0": @@ -98,6 +98,19 @@ dependencies: happy-dom "^13.6.2" +"@headlessui/react@^1.7.18": + version "1.7.18" + resolved "https://registry.npmjs.org/@headlessui/react/-/react-1.7.18.tgz" + integrity sha512-4i5DOrzwN4qSgNsL4Si61VMkUcWbcSKueUV7sFhpHzQcSShdlHENE5+QBntMSRvHt8NyoFO2AGG8si9lq+w4zQ== + dependencies: + "@tanstack/react-virtual" "^3.0.0-beta.60" + client-only "^0.0.1" + +"@heroicons/react@^2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.1.1.tgz" + integrity sha512-JyyN9Lo66kirbCMuMMRPtJxtKJoIsXKS569ebHGGRKbl8s4CtUfLnyKJxteA+vIKySocO4s1SkTkGS4xtG/yEA== + "@isaacs/cliui@^8.0.2": version "8.0.2" resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz" @@ -142,55 +155,55 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@next/env@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/env/-/env-14.1.1-canary.73.tgz" - integrity sha512-jHjdxAZlaTvHGu5LqF53nmhHbGaCzXkyv9QjZwWyIfToqkSJVJ+q49ICoOhJQ/1YCIGdHmWi07CKo2EZVAyIGg== - -"@next/swc-darwin-arm64@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.1-canary.73.tgz" - integrity sha512-H6yhID3Jj5XBN+6Tc6T9XZSFjPxIvqk90hVKgq++lUCGCvknEOwucNrY8KO6uGzDB20GpL9jbFkNQ7r77yem2Q== - -"@next/swc-darwin-x64@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.1-canary.73.tgz" - integrity sha512-TIqBR6e/b5RF94ctthCJcxzUchybYs9n1DV/ykcBeslwplJq1AxfJMCAFlhJNtGh5Kd5DzNUz/pwVBhYNuDi3g== - -"@next/swc-linux-arm64-gnu@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.1-canary.73.tgz" - integrity sha512-LsuBszrhcUwapCF4sjzxMJvQMmrh63Hb69E5oMvfQpMGRBM+aVaXBkNoYvNH5AoF+HhRTOZbYK46HYhbvvmiOg== - -"@next/swc-linux-arm64-musl@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.1-canary.73.tgz" - integrity sha512-smCsf8B1mPh0Vh5gT9vysMac0G0W+ZQ2jP6tkJrDTHka6cA4bzv9jkCbfUi9yV7nTQdLaPNuzQMOnfF8YylG3w== - -"@next/swc-linux-x64-gnu@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.1-canary.73.tgz" - integrity sha512-56m3z4K7KtfBv4nE0p5zTrvkGoKkCNd4xLZ2df5/fm2PgAD5dtX/x7v9VOiViLkWdMlRFMlcE+JD9q9jYlQAFA== - -"@next/swc-linux-x64-musl@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.1-canary.73.tgz" - integrity sha512-zgNYR1VQ03Nd0IX6nuet/3wB/wk4/ALZ6BJmcleLwZqRAFobh9qphz7BfhQEMhhWLtn0esVRCzPHLvnxxZunBg== - -"@next/swc-win32-arm64-msvc@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.1-canary.73.tgz" - integrity sha512-Y5/13cyNw5EJlXTrEWIqSEFSZtHIDFhwK71gfyK0Dz/Uq8XzFkcV5Am7O9cl+OUM2jgOl+Iv5kuZmhlfMKX2QA== - -"@next/swc-win32-ia32-msvc@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.1-canary.73.tgz" - integrity sha512-2qKzl4Ng6BRK0osakOUTgnHb9Hm9M9IaS4BYJOwmWtFcsz0Wzczqi49vY0vw9BqKCzcmetlTuybvdTU7gS8fyw== - -"@next/swc-win32-x64-msvc@14.1.1-canary.73": - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.1-canary.73.tgz" - integrity sha512-T9/BGnoVBbn9ClyWbW/jToUL4u9ZVX/LMlOlMygi9O/yjWQ7G+2LRnI/PrwtT+bbt0NwN4f62g1pZdUR8I1pHw== +"@next/env@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/env/-/env-14.1.1-canary.74.tgz" + integrity sha512-0VTqjCwjkzC1ItMykqSQ6L6W38Zr3SlppVsU1A87Pju16LFo1FCZALOed19m+5mi9MHtvOaKbFTsQaV64W+66A== + +"@next/swc-darwin-arm64@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.1-canary.74.tgz" + integrity sha512-aIh/IVbESK+wcFiirzgb/KYPQOKozrcZItcbTsV0rP6VnLu9hek9rjSsnf9ulNUWz1pqd+5THE/n5xuqth0tJQ== + +"@next/swc-darwin-x64@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.1-canary.74.tgz" + integrity sha512-tl4Nea9habOkCrvFufR+6Zt0mXWkh6pN/vgHz8dnEXAkefiuVWbC54YwOf2/MBQ/b31cL4P3WUDnjd9IXLdSEg== + +"@next/swc-linux-arm64-gnu@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.1-canary.74.tgz" + integrity sha512-JGmww0WdAlqDCAB1Ak71Al6U0lwLcjZ8FfI39ELLhZS+NTcu1peJwXSZr9ePIg0D1aQasU/XGdyF3SwaUpl0RQ== + +"@next/swc-linux-arm64-musl@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.1-canary.74.tgz" + integrity sha512-0zEFqCmoLBxaZ4rlRUtOL1/vD0Tvt+ntyTRTKCXAjGkd7v3luuiD2w6yNUmOAg3g9xKzwCcxjeoS29gAut5ZWQ== + +"@next/swc-linux-x64-gnu@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.1-canary.74.tgz" + integrity sha512-WjvlImMQ8SPTtXh+5MaoLNMUfy0NGzIDpV8AblSCZPbnULiChvICea/QgDgRkoFH9IyB4UbnWJPZaIYadDW7ug== + +"@next/swc-linux-x64-musl@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.1-canary.74.tgz" + integrity sha512-3CKVBRg65e9hKtwKgiyCNshqDR6j1DmVSdRvBrC6mnvYAPEYdsJ2FmTqDcs6mfQXQkw5V8pzCPbYNoA2OD29RQ== + +"@next/swc-win32-arm64-msvc@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.1-canary.74.tgz" + integrity sha512-xSG5YNhNvh4EqaYz5paqF+7yFxtKrtulsYrASSijPsZ5CSwlgyEeoaQWbK0Zir7SlfveqnpgZGkfCnnEC7VtrQ== + +"@next/swc-win32-ia32-msvc@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.1-canary.74.tgz" + integrity sha512-7YQuz7277ghHFHlD4Al6AYdcnULPcAVqMbE7FIzuwov99K6HrnusWSZ9chhf307YSQX3GYxlMpvXoAW0Pv2tNQ== + +"@next/swc-win32-x64-msvc@14.1.1-canary.74": + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.1-canary.74.tgz" + integrity sha512-Uvti2G7hvnIK/yH+opavHwRm1z8fiY/73qXijuCnFUiqLzjGtm9QdCUrntwWIEw0UshZgJANueyiTzIdre9QwA== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -231,6 +244,18 @@ "@swc/counter" "^0.1.3" tslib "^2.4.0" +"@tanstack/react-virtual@^3.0.0-beta.60": + version "3.1.2" + resolved "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.1.2.tgz" + integrity sha512-qibmxtctgOZo2I+3Rw5GR9kXgaa15U5r3/idDY1ItUKW15UK7GhCfyIfE6qYuJ1fxQF6dJDsD8SbpPyuJgpxuA== + dependencies: + "@tanstack/virtual-core" "3.1.2" + +"@tanstack/virtual-core@3.1.2": + version "3.1.2" + resolved "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.1.2.tgz" + integrity sha512-DATZJs8iejkIUqXZe6ruDAnjFo78BKnIIgqQZrc7CmEFqfLEN/TPD91n4hRfo6hpRB6xC00bwKxv7vdjFNEmOg== + "@testing-library/dom@^9.0.0": version "9.3.4" resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.4.tgz" @@ -472,7 +497,7 @@ chokidar@^3.5.3: optionalDependencies: fsevents "~2.3.2" -client-only@0.0.1: +client-only@0.0.1, client-only@^0.0.1: version "0.0.1" resolved "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz" integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA== @@ -1040,11 +1065,11 @@ nanoid@^3.3.6, nanoid@^3.3.7: integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== next@canary: - version "14.1.1-canary.73" - resolved "https://registry.npmjs.org/next/-/next-14.1.1-canary.73.tgz" - integrity sha512-uQ5e+o7LnoSKrVHz5FqElD00LoV0LqcuCZ9wL6w3MZmtmp67TyweTVVdAziTsgP97vUgl6LqWm/oGzRe0dMwFA== + version "14.1.1-canary.74" + resolved "https://registry.npmjs.org/next/-/next-14.1.1-canary.74.tgz" + integrity sha512-e+p6eRT9QC/YAt1cTDqJER7DjJj0fg7jV9t2h13I4ctce4wAkvvsENcnCyBW/RnR4ohHk+bEsnN5Mg+jQMK+Iw== dependencies: - "@next/env" "14.1.1-canary.73" + "@next/env" "14.1.1-canary.74" "@swc/helpers" "0.5.5" busboy "1.6.0" caniuse-lite "^1.0.30001579" @@ -1052,15 +1077,15 @@ next@canary: postcss "8.4.31" styled-jsx "5.1.1" optionalDependencies: - "@next/swc-darwin-arm64" "14.1.1-canary.73" - "@next/swc-darwin-x64" "14.1.1-canary.73" - "@next/swc-linux-arm64-gnu" "14.1.1-canary.73" - "@next/swc-linux-arm64-musl" "14.1.1-canary.73" - "@next/swc-linux-x64-gnu" "14.1.1-canary.73" - "@next/swc-linux-x64-musl" "14.1.1-canary.73" - "@next/swc-win32-arm64-msvc" "14.1.1-canary.73" - "@next/swc-win32-ia32-msvc" "14.1.1-canary.73" - "@next/swc-win32-x64-msvc" "14.1.1-canary.73" + "@next/swc-darwin-arm64" "14.1.1-canary.74" + "@next/swc-darwin-x64" "14.1.1-canary.74" + "@next/swc-linux-arm64-gnu" "14.1.1-canary.74" + "@next/swc-linux-arm64-musl" "14.1.1-canary.74" + "@next/swc-linux-x64-gnu" "14.1.1-canary.74" + "@next/swc-linux-x64-musl" "14.1.1-canary.74" + "@next/swc-win32-arm64-msvc" "14.1.1-canary.74" + "@next/swc-win32-ia32-msvc" "14.1.1-canary.74" + "@next/swc-win32-x64-msvc" "14.1.1-canary.74" normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" @@ -1224,14 +1249,14 @@ queue-microtask@^1.2.2: resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -"react@18.3.0-canary-6c3b8dbfe-20240226", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", react@^18.0.0, react@^18.2.0, react@canary: +"react@18.3.0-canary-6c3b8dbfe-20240226", "react@>= 16", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", "react@^16 || ^17 || ^18", "react@^16.8.0 || ^17.0.0 || ^18.0.0", react@^18.0.0, react@^18.2.0, react@canary: version "18.3.0-canary-6c3b8dbfe-20240226" resolved "https://registry.npmjs.org/react/-/react-18.3.0-canary-6c3b8dbfe-20240226.tgz" integrity sha512-3lqR1QguxZql/iOp0VLk+AGHS/fs6xs797znqrzR+XGXrDrP3599eXXGuPtTAVX+47uBJ9IPIEFnKEMu1SCsHA== dependencies: loose-envify "^1.1.0" -react-dom@^18.0.0, react-dom@^18.2.0, react-dom@canary: +"react-dom@^16 || ^17 || ^18", "react-dom@^16.8.0 || ^17.0.0 || ^18.0.0", react-dom@^18.0.0, react-dom@^18.2.0, react-dom@canary: version "18.3.0-canary-6c3b8dbfe-20240226" resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.3.0-canary-6c3b8dbfe-20240226.tgz" integrity sha512-q022ainNEHVMYwH3jFdH5SUDaU1xfY9YyezlXeSlki4+d91by8ecDbWUILvIoGCzBaptetb7763K5VhLwDoK8A==