create-revo 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -2
- package/template-nextjs/README.md +1 -1
- package/template-nextjs/package-lock.json +31 -4
- package/template-nextjs/package.json +2 -1
- package/template-nextjs/public/revo.svg +3 -3
- package/template-nextjs/public/websiteCard.svg +18 -0
- package/template-nextjs/src/app/layout.tsx +42 -15
- package/template-nextjs/src/components/LenisWrapper.tsx +25 -0
- package/template-reactjs/index.html +29 -6
- package/template-reactjs/package-lock.json +63 -22
- package/template-reactjs/package.json +2 -1
- package/template-reactjs/public/revo.svg +4 -0
- package/template-reactjs/src/assets/revo.svg +3 -3
- package/template-reactjs/src/assets/websiteCard.svg +18 -0
- package/template-reactjs/src/components/LenisWrapper.tsx +23 -0
- package/template-reactjs/src/main.tsx +14 -11
- package/template-nextjs/src/app/components/dltme +0 -0
- package/template-nextjs/src/app/favicon.ico +0 -0
- package/template-reactjs/public/favicon.ico +0 -0
- package/template-reactjs/src/components/dltme +0 -0
- package/test/README.md +0 -28
- package/test/eslint.config.js +0 -28
- package/test/index.html +0 -19
- package/test/package-lock.json +0 -4155
- package/test/package.json +0 -34
- package/test/postcss.config.js +0 -6
- package/test/public/favicon.ico +0 -0
- package/test/src/App.tsx +0 -34
- package/test/src/assets/revo.svg +0 -4
- package/test/src/components/dltme +0 -0
- package/test/src/index.css +0 -17
- package/test/src/main.tsx +0 -15
- package/test/src/vite-env.d.ts +0 -1
- package/test/tailwind.config.js +0 -11
- package/test/tsconfig.app.json +0 -24
- package/test/tsconfig.json +0 -7
- package/test/tsconfig.node.json +0 -24
- package/test/vite.config.ts +0 -10
- package/test2/README.md +0 -36
- package/test2/eslint.config.mjs +0 -25
- package/test2/next.config.ts +0 -8
- package/test2/package-lock.json +0 -6193
- package/test2/package.json +0 -29
- package/test2/postcss.config.mjs +0 -5
- package/test2/public/revo.svg +0 -4
- package/test2/src/app/components/dltme +0 -0
- package/test2/src/app/favicon.ico +0 -0
- package/test2/src/app/globals.css +0 -21
- package/test2/src/app/layout.tsx +0 -34
- package/test2/src/app/page.tsx +0 -32
- package/test2/tsconfig.json +0 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-revo",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Project setup tool for ReactJS and NextJS",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -24,5 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"author": "Tarun Gupta",
|
|
26
26
|
"license": "MIT",
|
|
27
|
-
"type": "module"
|
|
27
|
+
"type": "module",
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"lenis": "^1.3.11",
|
|
30
|
+
"revoicons": "^1.3.6"
|
|
31
|
+
}
|
|
28
32
|
}
|
|
@@ -14,7 +14,7 @@ pnpm dev
|
|
|
14
14
|
bun dev
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Open [http://localhost:
|
|
17
|
+
Open [http://localhost:5173](http://localhost:5173) with your browser to see the result.
|
|
18
18
|
|
|
19
19
|
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
20
20
|
|
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
"version": "0.1.0",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"framer-motion": "^12.23.12",
|
|
12
|
+
"lenis": "^1.3.11",
|
|
12
13
|
"next": "15.5.2",
|
|
13
14
|
"react": "19.1.0",
|
|
14
15
|
"react-dom": "19.1.0",
|
|
15
|
-
"revoicons": "^1.
|
|
16
|
+
"revoicons": "^1.3.6"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@eslint/eslintrc": "^3",
|
|
@@ -4215,6 +4216,32 @@
|
|
|
4215
4216
|
"node": ">=0.10"
|
|
4216
4217
|
}
|
|
4217
4218
|
},
|
|
4219
|
+
"node_modules/lenis": {
|
|
4220
|
+
"version": "1.3.11",
|
|
4221
|
+
"resolved": "https://registry.npmjs.org/lenis/-/lenis-1.3.11.tgz",
|
|
4222
|
+
"integrity": "sha512-lkyBnNTVwJzlupp+VL6LTn62WeT8WponuLpmTU0Z20cMwMsLLjqbSqwuA7I1yKSVWCBj/awo4jnFzOMOVCB8OQ==",
|
|
4223
|
+
"license": "MIT",
|
|
4224
|
+
"funding": {
|
|
4225
|
+
"type": "github",
|
|
4226
|
+
"url": "https://github.com/sponsors/darkroomengineering"
|
|
4227
|
+
},
|
|
4228
|
+
"peerDependencies": {
|
|
4229
|
+
"@nuxt/kit": ">=3.0.0",
|
|
4230
|
+
"react": ">=17.0.0",
|
|
4231
|
+
"vue": ">=3.0.0"
|
|
4232
|
+
},
|
|
4233
|
+
"peerDependenciesMeta": {
|
|
4234
|
+
"@nuxt/kit": {
|
|
4235
|
+
"optional": true
|
|
4236
|
+
},
|
|
4237
|
+
"react": {
|
|
4238
|
+
"optional": true
|
|
4239
|
+
},
|
|
4240
|
+
"vue": {
|
|
4241
|
+
"optional": true
|
|
4242
|
+
}
|
|
4243
|
+
}
|
|
4244
|
+
},
|
|
4218
4245
|
"node_modules/levn": {
|
|
4219
4246
|
"version": "0.4.1",
|
|
4220
4247
|
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
|
|
@@ -5220,9 +5247,9 @@
|
|
|
5220
5247
|
}
|
|
5221
5248
|
},
|
|
5222
5249
|
"node_modules/revoicons": {
|
|
5223
|
-
"version": "1.
|
|
5224
|
-
"resolved": "https://registry.npmjs.org/revoicons/-/revoicons-1.
|
|
5225
|
-
"integrity": "sha512-
|
|
5250
|
+
"version": "1.3.6",
|
|
5251
|
+
"resolved": "https://registry.npmjs.org/revoicons/-/revoicons-1.3.6.tgz",
|
|
5252
|
+
"integrity": "sha512-Q3KXpkFzAVy6Qc8Dm+5OkcN6pA2FomwcxOJt2M7h1dt85eTL0J19qsxGVQs9Ws6KL6XwwLYUazkT0HT5yvYUMg==",
|
|
5226
5253
|
"license": "MIT",
|
|
5227
5254
|
"peerDependencies": {
|
|
5228
5255
|
"react": ">=17 || >=18",
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"framer-motion": "^12.23.12",
|
|
13
|
+
"lenis": "^1.3.11",
|
|
13
14
|
"next": "15.5.2",
|
|
14
15
|
"react": "19.1.0",
|
|
15
16
|
"react-dom": "19.1.0",
|
|
16
|
-
"revoicons": "^1.
|
|
17
|
+
"revoicons": "^1.3.6"
|
|
17
18
|
},
|
|
18
19
|
"devDependencies": {
|
|
19
20
|
"@eslint/eslintrc": "^3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
1
|
+
<svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="40" cy="40" r="37" fill="white" stroke="black" stroke-width="6"/>
|
|
3
|
+
<path d="M40.3203 63.3602L63.5203 40.1602M63.5203 40.1602H46.2403M63.5203 40.1602V57.4402" stroke="black" stroke-width="6"/>
|
|
4
4
|
</svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg width="1200" height="630" viewBox="0 0 1200 630" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2090_2)">
|
|
3
|
+
<rect width="1200" height="630" fill="white"/>
|
|
4
|
+
<rect width="180" height="530" transform="matrix(-1 0 0 1 1200 50)" stroke="black" stroke-opacity="0.5"/>
|
|
5
|
+
<rect y="50" width="180" height="530" stroke="black" stroke-opacity="0.5"/>
|
|
6
|
+
<rect x="180" width="840" height="50" stroke="black" stroke-opacity="0.5"/>
|
|
7
|
+
<rect x="180" y="580" width="840" height="50" stroke="black" stroke-opacity="0.5"/>
|
|
8
|
+
<path d="M499.438 291V256.091H511.643C514.075 256.091 516.08 256.511 517.66 257.352C519.239 258.182 520.415 259.301 521.188 260.71C521.961 262.108 522.347 263.659 522.347 265.364C522.347 266.864 522.08 268.102 521.546 269.08C521.023 270.057 520.33 270.83 519.467 271.398C518.614 271.966 517.688 272.386 516.688 272.659V273C517.756 273.068 518.83 273.443 519.91 274.125C520.989 274.807 521.893 275.784 522.62 277.057C523.347 278.33 523.711 279.886 523.711 281.727C523.711 283.477 523.313 285.051 522.518 286.449C521.722 287.847 520.467 288.955 518.751 289.773C517.035 290.591 514.802 291 512.052 291H499.438ZM503.665 287.25H512.052C514.813 287.25 516.773 286.716 517.933 285.648C519.103 284.568 519.688 283.261 519.688 281.727C519.688 280.545 519.387 279.455 518.785 278.455C518.183 277.443 517.325 276.636 516.211 276.034C515.097 275.42 513.779 275.114 512.256 275.114H503.665V287.25ZM503.665 271.432H511.506C512.779 271.432 513.927 271.182 514.95 270.682C515.984 270.182 516.802 269.477 517.404 268.568C518.018 267.659 518.325 266.591 518.325 265.364C518.325 263.83 517.79 262.528 516.722 261.46C515.654 260.381 513.961 259.841 511.643 259.841H503.665V271.432ZM546.612 280.295V264.818H550.634V291H546.612V286.568H546.339C545.725 287.898 544.771 289.028 543.475 289.96C542.18 290.881 540.543 291.341 538.566 291.341C536.93 291.341 535.475 290.983 534.202 290.267C532.93 289.54 531.93 288.449 531.202 286.994C530.475 285.528 530.112 283.682 530.112 281.455V264.818H534.134V281.182C534.134 283.091 534.668 284.614 535.737 285.75C536.816 286.886 538.191 287.455 539.862 287.455C540.862 287.455 541.879 287.199 542.913 286.688C543.958 286.176 544.833 285.392 545.538 284.335C546.254 283.278 546.612 281.932 546.612 280.295ZM558.002 291V264.818H562.025V291H558.002ZM560.048 260.455C559.263 260.455 558.587 260.188 558.019 259.653C557.462 259.119 557.184 258.477 557.184 257.727C557.184 256.977 557.462 256.335 558.019 255.801C558.587 255.267 559.263 255 560.048 255C560.832 255 561.502 255.267 562.059 255.801C562.627 256.335 562.911 256.977 562.911 257.727C562.911 258.477 562.627 259.119 562.059 259.653C561.502 260.188 560.832 260.455 560.048 260.455ZM573.415 256.091V291H569.393V256.091H573.415ZM592.17 264.818V268.227H578.602V264.818H592.17ZM582.556 258.545H586.579V283.5C586.579 284.636 586.744 285.489 587.073 286.057C587.414 286.614 587.846 286.989 588.369 287.182C588.903 287.364 589.465 287.455 590.056 287.455C590.499 287.455 590.863 287.432 591.147 287.386C591.431 287.33 591.658 287.284 591.829 287.25L592.647 290.864C592.374 290.966 591.994 291.068 591.505 291.17C591.016 291.284 590.397 291.341 589.647 291.341C588.511 291.341 587.397 291.097 586.306 290.608C585.227 290.119 584.329 289.375 583.613 288.375C582.908 287.375 582.556 286.114 582.556 284.591V258.545ZM617.653 291L609.675 264.818H613.903L619.562 284.864H619.835L625.425 264.818H629.721L635.244 284.795H635.516L641.175 264.818H645.403L637.425 291H633.471L627.744 270.886H627.335L621.607 291H617.653ZM650.721 291V264.818H654.744V291H650.721ZM652.766 260.455C651.982 260.455 651.306 260.188 650.738 259.653C650.181 259.119 649.903 258.477 649.903 257.727C649.903 256.977 650.181 256.335 650.738 255.801C651.306 255.267 651.982 255 652.766 255C653.55 255 654.221 255.267 654.778 255.801C655.346 256.335 655.63 256.977 655.63 257.727C655.63 258.477 655.346 259.119 654.778 259.653C654.221 260.188 653.55 260.455 652.766 260.455ZM673.498 264.818V268.227H659.93V264.818H673.498ZM663.884 258.545H667.907V283.5C667.907 284.636 668.072 285.489 668.401 286.057C668.742 286.614 669.174 286.989 669.697 287.182C670.231 287.364 670.793 287.455 671.384 287.455C671.827 287.455 672.191 287.432 672.475 287.386C672.759 287.33 672.987 287.284 673.157 287.25L673.975 290.864C673.702 290.966 673.322 291.068 672.833 291.17C672.344 291.284 671.725 291.341 670.975 291.341C669.839 291.341 668.725 291.097 667.634 290.608C666.555 290.119 665.657 289.375 664.941 288.375C664.237 287.375 663.884 286.114 663.884 284.591V258.545ZM684.134 275.25V291H680.112V256.091H684.134V268.909H684.475C685.089 267.557 686.009 266.483 687.237 265.688C688.475 264.881 690.123 264.477 692.18 264.477C693.964 264.477 695.526 264.835 696.867 265.551C698.208 266.256 699.248 267.341 699.987 268.807C700.737 270.261 701.112 272.114 701.112 274.364V291H697.089V274.636C697.089 272.557 696.549 270.949 695.469 269.812C694.401 268.665 692.918 268.091 691.021 268.091C689.702 268.091 688.521 268.369 687.475 268.926C686.441 269.483 685.623 270.295 685.021 271.364C684.43 272.432 684.134 273.727 684.134 275.25Z" fill="black" fill-opacity="0.5"/>
|
|
9
|
+
<path d="M544.936 365V310.455H553.033V318.693H553.601C554.595 315.994 556.394 313.804 558.999 312.124C561.603 310.443 564.538 309.602 567.805 309.602C568.421 309.602 569.19 309.614 570.114 309.638C571.037 309.661 571.735 309.697 572.209 309.744V318.267C571.925 318.196 571.274 318.089 570.256 317.947C569.261 317.782 568.208 317.699 567.095 317.699C564.444 317.699 562.076 318.255 559.993 319.368C557.933 320.457 556.3 321.972 555.092 323.913C553.909 325.831 553.317 328.021 553.317 330.483V365H544.936ZM603.352 366.136C598.097 366.136 593.563 364.976 589.751 362.656C585.964 360.312 583.04 357.045 580.98 352.855C578.944 348.641 577.926 343.741 577.926 338.153C577.926 332.566 578.944 327.642 580.98 323.381C583.04 319.096 585.904 315.758 589.574 313.366C593.267 310.952 597.576 309.744 602.5 309.744C605.341 309.744 608.146 310.218 610.916 311.165C613.686 312.112 616.207 313.651 618.48 315.781C620.753 317.888 622.564 320.682 623.913 324.162C625.263 327.642 625.938 331.927 625.938 337.017V340.568H583.892V333.324H617.415C617.415 330.246 616.799 327.5 615.568 325.085C614.361 322.67 612.633 320.765 610.384 319.368C608.158 317.971 605.53 317.273 602.5 317.273C599.162 317.273 596.274 318.101 593.835 319.759C591.42 321.392 589.562 323.523 588.26 326.151C586.958 328.778 586.307 331.596 586.307 334.602V339.432C586.307 343.551 587.017 347.043 588.438 349.908C589.882 352.749 591.882 354.915 594.439 356.406C596.996 357.874 599.967 358.608 603.352 358.608C605.554 358.608 607.543 358.3 609.318 357.685C611.117 357.045 612.668 356.098 613.97 354.844C615.272 353.565 616.278 351.979 616.989 350.085L625.085 352.358C624.233 355.104 622.801 357.519 620.788 359.602C618.776 361.662 616.29 363.272 613.331 364.432C610.372 365.568 607.045 366.136 603.352 366.136ZM681.628 310.455L661.458 365H652.935L632.765 310.455H641.855L656.912 353.92H657.48L672.537 310.455H681.628ZM712.896 366.136C707.972 366.136 703.651 364.964 699.934 362.621C696.241 360.277 693.353 356.998 691.27 352.784C689.21 348.57 688.18 343.646 688.18 338.011C688.18 332.33 689.21 327.37 691.27 323.132C693.353 318.894 696.241 315.604 699.934 313.26C703.651 310.916 707.972 309.744 712.896 309.744C717.82 309.744 722.129 310.916 725.822 313.26C729.539 315.604 732.427 318.894 734.487 323.132C736.57 327.37 737.612 332.33 737.612 338.011C737.612 343.646 736.57 348.57 734.487 352.784C732.427 356.998 729.539 360.277 725.822 362.621C722.129 364.964 717.82 366.136 712.896 366.136ZM712.896 358.608C716.636 358.608 719.714 357.649 722.129 355.732C724.544 353.814 726.331 351.293 727.491 348.168C728.651 345.043 729.231 341.657 729.231 338.011C729.231 334.366 728.651 330.968 727.491 327.82C726.331 324.671 724.544 322.126 722.129 320.185C719.714 318.243 716.636 317.273 712.896 317.273C709.155 317.273 706.078 318.243 703.663 320.185C701.248 322.126 699.461 324.671 698.301 327.82C697.141 330.968 696.561 334.366 696.561 338.011C696.561 341.657 697.141 345.043 698.301 348.168C699.461 351.293 701.248 353.814 703.663 355.732C706.078 357.649 709.155 358.608 712.896 358.608Z" fill="black"/>
|
|
10
|
+
<circle cx="497" cy="336" r="37" stroke="black" stroke-width="6"/>
|
|
11
|
+
<path d="M497.32 359.36L520.52 336.16M520.52 336.16H503.24M520.52 336.16V353.44" stroke="black" stroke-width="6"/>
|
|
12
|
+
</g>
|
|
13
|
+
<defs>
|
|
14
|
+
<clipPath id="clip0_2090_2">
|
|
15
|
+
<rect width="1200" height="630" fill="white"/>
|
|
16
|
+
</clipPath>
|
|
17
|
+
</defs>
|
|
18
|
+
</svg>
|
|
@@ -1,20 +1,49 @@
|
|
|
1
1
|
import type { Metadata } from "next";
|
|
2
|
-
import { Geist, Geist_Mono } from "next/font/google";
|
|
3
2
|
import "./globals.css";
|
|
3
|
+
import LenisWrapper from "@/components/LenisWrapper";
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
variable: "--font-geist-sans",
|
|
7
|
-
subsets: ["latin"],
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
const geistMono = Geist_Mono({
|
|
11
|
-
variable: "--font-geist-mono",
|
|
12
|
-
subsets: ["latin"],
|
|
13
|
-
});
|
|
5
|
+
// replace the below metadata according to your project
|
|
14
6
|
|
|
15
7
|
export const metadata: Metadata = {
|
|
16
8
|
title: "revo",
|
|
17
|
-
description: "
|
|
9
|
+
description: "Built with revo",
|
|
10
|
+
keywords: ["revo", "next.js", "npm", "package"],
|
|
11
|
+
authors: [{ name: "maybetarun.in" }],
|
|
12
|
+
viewport: "width=device-width, initial-scale=1.0",
|
|
13
|
+
robots: "index, follow",
|
|
14
|
+
icons: "/revo.svg",
|
|
15
|
+
|
|
16
|
+
// For Facebook, LinkedIn, etc.
|
|
17
|
+
openGraph: {
|
|
18
|
+
title: "revo",
|
|
19
|
+
description: "Built with revo",
|
|
20
|
+
type: "website",
|
|
21
|
+
url: "https://maybetarun.in",
|
|
22
|
+
images: [
|
|
23
|
+
{
|
|
24
|
+
url: "/websiteCard.svg",
|
|
25
|
+
width: 1200,
|
|
26
|
+
height: 630,
|
|
27
|
+
alt: "revo",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
// for Twitter
|
|
33
|
+
twitter: {
|
|
34
|
+
card: "summary_large_image",
|
|
35
|
+
title: "revo",
|
|
36
|
+
description: "Built with revo",
|
|
37
|
+
images: [
|
|
38
|
+
{
|
|
39
|
+
url: "/websiteCard.svg",
|
|
40
|
+
width: 1200,
|
|
41
|
+
height: 630,
|
|
42
|
+
alt: "revo",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
creator: "@maybetarun",
|
|
46
|
+
},
|
|
18
47
|
};
|
|
19
48
|
|
|
20
49
|
export default function RootLayout({
|
|
@@ -24,10 +53,8 @@ export default function RootLayout({
|
|
|
24
53
|
}>) {
|
|
25
54
|
return (
|
|
26
55
|
<html lang="en">
|
|
27
|
-
<body
|
|
28
|
-
|
|
29
|
-
>
|
|
30
|
-
{children}
|
|
56
|
+
<body className="antialiased">
|
|
57
|
+
<LenisWrapper>{children}</LenisWrapper>
|
|
31
58
|
</body>
|
|
32
59
|
</html>
|
|
33
60
|
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { useEffect } from "react";
|
|
4
|
+
import Lenis from "lenis";
|
|
5
|
+
|
|
6
|
+
export default function LenisWrapper({ children }: { children: React.ReactNode }) {
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
const lenis = new Lenis({
|
|
9
|
+
duration: 1.2,
|
|
10
|
+
smoothWheel: true,
|
|
11
|
+
wheelMultiplier: 1.0,
|
|
12
|
+
touchMultiplier: 2.0,
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
function raf(time: number) {
|
|
16
|
+
lenis.raf(time);
|
|
17
|
+
requestAnimationFrame(raf);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
requestAnimationFrame(raf);
|
|
21
|
+
return () => lenis.destroy();
|
|
22
|
+
}, []);
|
|
23
|
+
|
|
24
|
+
return <>{children}</>;
|
|
25
|
+
}
|
|
@@ -2,15 +2,38 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/revo.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
|
|
8
|
+
<!-- replace the below metadata according to your project -->
|
|
9
|
+
|
|
7
10
|
<title>revo</title>
|
|
8
11
|
<meta name="author" content="Tarun Gupta" />
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<!--
|
|
12
|
+
<meta name="keywords" content="revo, react.js, npm, package" />
|
|
13
|
+
<meta name="description" content="Built with revo" />
|
|
14
|
+
<meta name="robots" content="index, follow" />
|
|
15
|
+
|
|
16
|
+
<!-- For Facebook, LinkedIn, etc. -->
|
|
17
|
+
<meta property="og:type" content="website" />
|
|
18
|
+
<meta property="og:title" content="revo" />
|
|
19
|
+
<meta property="og:description" content="Built with revo" />
|
|
20
|
+
<meta property="og:url" content="https://maybetarun.in" />
|
|
21
|
+
<meta property="og:image" content="/websiteCard.svg" />
|
|
22
|
+
<meta property="og:image:width" content="1200" />
|
|
23
|
+
<meta property="og:image:height" content="630" />
|
|
24
|
+
<meta property="og:image:alt" content="revo" />
|
|
25
|
+
|
|
26
|
+
<!-- for Twitter -->
|
|
27
|
+
<meta name="twitter:card" content="summary_large_image" />
|
|
28
|
+
<meta name="twitter:title" content="revo" />
|
|
29
|
+
<meta name="twitter:description" content="Built with revo" />
|
|
30
|
+
<meta name="twitter:image" content="/websiteCard.svg" />
|
|
31
|
+
<meta name="twitter:image:width" content="1200" />
|
|
32
|
+
<meta name="twitter:image:height" content="630" />
|
|
33
|
+
<meta name="twitter:image:alt" content="revo" />
|
|
34
|
+
<meta name="twitter:creator" content="@maybetarun" />
|
|
35
|
+
|
|
36
|
+
<link rel="canonical" href="https://maybetarun.in" />
|
|
14
37
|
</head>
|
|
15
38
|
<body>
|
|
16
39
|
<div id="root"></div>
|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
"name": "{{projectName}}",
|
|
9
9
|
"version": "0.0.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
+
"lenis": "^1.3.11",
|
|
11
12
|
"motion": "^11.11.15",
|
|
12
13
|
"react": "^18.3.1",
|
|
13
14
|
"react-dom": "^18.3.1",
|
|
14
15
|
"react-router-dom": "^6.28.0",
|
|
15
|
-
"revoicons": "^1.
|
|
16
|
+
"revoicons": "^1.3.6"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@eslint/js": "^9.13.0",
|
|
@@ -560,18 +561,32 @@
|
|
|
560
561
|
}
|
|
561
562
|
},
|
|
562
563
|
"node_modules/@eslint/plugin-kit": {
|
|
563
|
-
"version": "0.2.
|
|
564
|
-
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.
|
|
565
|
-
"integrity": "sha512-
|
|
564
|
+
"version": "0.2.8",
|
|
565
|
+
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.8.tgz",
|
|
566
|
+
"integrity": "sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==",
|
|
566
567
|
"dev": true,
|
|
567
568
|
"license": "Apache-2.0",
|
|
568
569
|
"dependencies": {
|
|
570
|
+
"@eslint/core": "^0.13.0",
|
|
569
571
|
"levn": "^0.4.1"
|
|
570
572
|
},
|
|
571
573
|
"engines": {
|
|
572
574
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
573
575
|
}
|
|
574
576
|
},
|
|
577
|
+
"node_modules/@eslint/plugin-kit/node_modules/@eslint/core": {
|
|
578
|
+
"version": "0.13.0",
|
|
579
|
+
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.13.0.tgz",
|
|
580
|
+
"integrity": "sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==",
|
|
581
|
+
"dev": true,
|
|
582
|
+
"license": "Apache-2.0",
|
|
583
|
+
"dependencies": {
|
|
584
|
+
"@types/json-schema": "^7.0.15"
|
|
585
|
+
},
|
|
586
|
+
"engines": {
|
|
587
|
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
575
590
|
"node_modules/@humanfs/core": {
|
|
576
591
|
"version": "0.19.1",
|
|
577
592
|
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
|
|
@@ -1437,9 +1452,9 @@
|
|
|
1437
1452
|
}
|
|
1438
1453
|
},
|
|
1439
1454
|
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
|
|
1440
|
-
"version": "2.0.
|
|
1441
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.
|
|
1442
|
-
"integrity": "sha512-
|
|
1455
|
+
"version": "2.0.2",
|
|
1456
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
|
|
1457
|
+
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
|
|
1443
1458
|
"dev": true,
|
|
1444
1459
|
"license": "MIT",
|
|
1445
1460
|
"dependencies": {
|
|
@@ -1692,9 +1707,9 @@
|
|
|
1692
1707
|
}
|
|
1693
1708
|
},
|
|
1694
1709
|
"node_modules/brace-expansion": {
|
|
1695
|
-
"version": "1.1.
|
|
1696
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.
|
|
1697
|
-
"integrity": "sha512-
|
|
1710
|
+
"version": "1.1.12",
|
|
1711
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
|
|
1712
|
+
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
|
|
1698
1713
|
"dev": true,
|
|
1699
1714
|
"license": "MIT",
|
|
1700
1715
|
"dependencies": {
|
|
@@ -2457,9 +2472,9 @@
|
|
|
2457
2472
|
}
|
|
2458
2473
|
},
|
|
2459
2474
|
"node_modules/glob/node_modules/brace-expansion": {
|
|
2460
|
-
"version": "2.0.
|
|
2461
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.
|
|
2462
|
-
"integrity": "sha512-
|
|
2475
|
+
"version": "2.0.2",
|
|
2476
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
|
|
2477
|
+
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
|
|
2463
2478
|
"dev": true,
|
|
2464
2479
|
"license": "MIT",
|
|
2465
2480
|
"dependencies": {
|
|
@@ -2717,6 +2732,32 @@
|
|
|
2717
2732
|
"json-buffer": "3.0.1"
|
|
2718
2733
|
}
|
|
2719
2734
|
},
|
|
2735
|
+
"node_modules/lenis": {
|
|
2736
|
+
"version": "1.3.11",
|
|
2737
|
+
"resolved": "https://registry.npmjs.org/lenis/-/lenis-1.3.11.tgz",
|
|
2738
|
+
"integrity": "sha512-lkyBnNTVwJzlupp+VL6LTn62WeT8WponuLpmTU0Z20cMwMsLLjqbSqwuA7I1yKSVWCBj/awo4jnFzOMOVCB8OQ==",
|
|
2739
|
+
"license": "MIT",
|
|
2740
|
+
"funding": {
|
|
2741
|
+
"type": "github",
|
|
2742
|
+
"url": "https://github.com/sponsors/darkroomengineering"
|
|
2743
|
+
},
|
|
2744
|
+
"peerDependencies": {
|
|
2745
|
+
"@nuxt/kit": ">=3.0.0",
|
|
2746
|
+
"react": ">=17.0.0",
|
|
2747
|
+
"vue": ">=3.0.0"
|
|
2748
|
+
},
|
|
2749
|
+
"peerDependenciesMeta": {
|
|
2750
|
+
"@nuxt/kit": {
|
|
2751
|
+
"optional": true
|
|
2752
|
+
},
|
|
2753
|
+
"react": {
|
|
2754
|
+
"optional": true
|
|
2755
|
+
},
|
|
2756
|
+
"vue": {
|
|
2757
|
+
"optional": true
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
},
|
|
2720
2761
|
"node_modules/levn": {
|
|
2721
2762
|
"version": "0.4.1",
|
|
2722
2763
|
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
|
|
@@ -2883,9 +2924,9 @@
|
|
|
2883
2924
|
}
|
|
2884
2925
|
},
|
|
2885
2926
|
"node_modules/nanoid": {
|
|
2886
|
-
"version": "3.3.
|
|
2887
|
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.
|
|
2888
|
-
"integrity": "sha512-
|
|
2927
|
+
"version": "3.3.11",
|
|
2928
|
+
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
|
|
2929
|
+
"integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
|
|
2889
2930
|
"dev": true,
|
|
2890
2931
|
"funding": [
|
|
2891
2932
|
{
|
|
@@ -3433,9 +3474,9 @@
|
|
|
3433
3474
|
}
|
|
3434
3475
|
},
|
|
3435
3476
|
"node_modules/revoicons": {
|
|
3436
|
-
"version": "1.
|
|
3437
|
-
"resolved": "https://registry.npmjs.org/revoicons/-/revoicons-1.
|
|
3438
|
-
"integrity": "sha512-
|
|
3477
|
+
"version": "1.3.6",
|
|
3478
|
+
"resolved": "https://registry.npmjs.org/revoicons/-/revoicons-1.3.6.tgz",
|
|
3479
|
+
"integrity": "sha512-Q3KXpkFzAVy6Qc8Dm+5OkcN6pA2FomwcxOJt2M7h1dt85eTL0J19qsxGVQs9Ws6KL6XwwLYUazkT0HT5yvYUMg==",
|
|
3439
3480
|
"license": "MIT",
|
|
3440
3481
|
"peerDependencies": {
|
|
3441
3482
|
"react": ">=17 || >=18",
|
|
@@ -3945,9 +3986,9 @@
|
|
|
3945
3986
|
"license": "MIT"
|
|
3946
3987
|
},
|
|
3947
3988
|
"node_modules/vite": {
|
|
3948
|
-
"version": "5.4.
|
|
3949
|
-
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.
|
|
3950
|
-
"integrity": "sha512-
|
|
3989
|
+
"version": "5.4.20",
|
|
3990
|
+
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.20.tgz",
|
|
3991
|
+
"integrity": "sha512-j3lYzGC3P+B5Yfy/pfKNgVEg4+UtcIJcVRt2cDjIOmhLourAqPqf8P7acgxeiSgUB7E3p2P8/3gNIgDLpwzs4g==",
|
|
3951
3992
|
"dev": true,
|
|
3952
3993
|
"license": "MIT",
|
|
3953
3994
|
"dependencies": {
|
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
"preview": "vite preview"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
+
"lenis": "^1.3.11",
|
|
12
13
|
"motion": "^11.11.15",
|
|
13
14
|
"react": "^18.3.1",
|
|
14
15
|
"react-dom": "^18.3.1",
|
|
15
16
|
"react-router-dom": "^6.28.0",
|
|
16
|
-
"revoicons": "^1.
|
|
17
|
+
"revoicons": "^1.3.6"
|
|
17
18
|
},
|
|
18
19
|
"devDependencies": {
|
|
19
20
|
"@eslint/js": "^9.13.0",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="40" cy="40" r="37" fill="white" stroke="black" stroke-width="6"/>
|
|
3
|
+
<path d="M40.3203 63.3602L63.5203 40.1602M63.5203 40.1602H46.2403M63.5203 40.1602V57.4402" stroke="black" stroke-width="6"/>
|
|
4
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
1
|
+
<svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="40" cy="40" r="37" fill="white" stroke="black" stroke-width="6"/>
|
|
3
|
+
<path d="M40.3203 63.3602L63.5203 40.1602M63.5203 40.1602H46.2403M63.5203 40.1602V57.4402" stroke="black" stroke-width="6"/>
|
|
4
4
|
</svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg width="1200" height="630" viewBox="0 0 1200 630" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2090_2)">
|
|
3
|
+
<rect width="1200" height="630" fill="white"/>
|
|
4
|
+
<rect width="180" height="530" transform="matrix(-1 0 0 1 1200 50)" stroke="black" stroke-opacity="0.5"/>
|
|
5
|
+
<rect y="50" width="180" height="530" stroke="black" stroke-opacity="0.5"/>
|
|
6
|
+
<rect x="180" width="840" height="50" stroke="black" stroke-opacity="0.5"/>
|
|
7
|
+
<rect x="180" y="580" width="840" height="50" stroke="black" stroke-opacity="0.5"/>
|
|
8
|
+
<path d="M499.438 291V256.091H511.643C514.075 256.091 516.08 256.511 517.66 257.352C519.239 258.182 520.415 259.301 521.188 260.71C521.961 262.108 522.347 263.659 522.347 265.364C522.347 266.864 522.08 268.102 521.546 269.08C521.023 270.057 520.33 270.83 519.467 271.398C518.614 271.966 517.688 272.386 516.688 272.659V273C517.756 273.068 518.83 273.443 519.91 274.125C520.989 274.807 521.893 275.784 522.62 277.057C523.347 278.33 523.711 279.886 523.711 281.727C523.711 283.477 523.313 285.051 522.518 286.449C521.722 287.847 520.467 288.955 518.751 289.773C517.035 290.591 514.802 291 512.052 291H499.438ZM503.665 287.25H512.052C514.813 287.25 516.773 286.716 517.933 285.648C519.103 284.568 519.688 283.261 519.688 281.727C519.688 280.545 519.387 279.455 518.785 278.455C518.183 277.443 517.325 276.636 516.211 276.034C515.097 275.42 513.779 275.114 512.256 275.114H503.665V287.25ZM503.665 271.432H511.506C512.779 271.432 513.927 271.182 514.95 270.682C515.984 270.182 516.802 269.477 517.404 268.568C518.018 267.659 518.325 266.591 518.325 265.364C518.325 263.83 517.79 262.528 516.722 261.46C515.654 260.381 513.961 259.841 511.643 259.841H503.665V271.432ZM546.612 280.295V264.818H550.634V291H546.612V286.568H546.339C545.725 287.898 544.771 289.028 543.475 289.96C542.18 290.881 540.543 291.341 538.566 291.341C536.93 291.341 535.475 290.983 534.202 290.267C532.93 289.54 531.93 288.449 531.202 286.994C530.475 285.528 530.112 283.682 530.112 281.455V264.818H534.134V281.182C534.134 283.091 534.668 284.614 535.737 285.75C536.816 286.886 538.191 287.455 539.862 287.455C540.862 287.455 541.879 287.199 542.913 286.688C543.958 286.176 544.833 285.392 545.538 284.335C546.254 283.278 546.612 281.932 546.612 280.295ZM558.002 291V264.818H562.025V291H558.002ZM560.048 260.455C559.263 260.455 558.587 260.188 558.019 259.653C557.462 259.119 557.184 258.477 557.184 257.727C557.184 256.977 557.462 256.335 558.019 255.801C558.587 255.267 559.263 255 560.048 255C560.832 255 561.502 255.267 562.059 255.801C562.627 256.335 562.911 256.977 562.911 257.727C562.911 258.477 562.627 259.119 562.059 259.653C561.502 260.188 560.832 260.455 560.048 260.455ZM573.415 256.091V291H569.393V256.091H573.415ZM592.17 264.818V268.227H578.602V264.818H592.17ZM582.556 258.545H586.579V283.5C586.579 284.636 586.744 285.489 587.073 286.057C587.414 286.614 587.846 286.989 588.369 287.182C588.903 287.364 589.465 287.455 590.056 287.455C590.499 287.455 590.863 287.432 591.147 287.386C591.431 287.33 591.658 287.284 591.829 287.25L592.647 290.864C592.374 290.966 591.994 291.068 591.505 291.17C591.016 291.284 590.397 291.341 589.647 291.341C588.511 291.341 587.397 291.097 586.306 290.608C585.227 290.119 584.329 289.375 583.613 288.375C582.908 287.375 582.556 286.114 582.556 284.591V258.545ZM617.653 291L609.675 264.818H613.903L619.562 284.864H619.835L625.425 264.818H629.721L635.244 284.795H635.516L641.175 264.818H645.403L637.425 291H633.471L627.744 270.886H627.335L621.607 291H617.653ZM650.721 291V264.818H654.744V291H650.721ZM652.766 260.455C651.982 260.455 651.306 260.188 650.738 259.653C650.181 259.119 649.903 258.477 649.903 257.727C649.903 256.977 650.181 256.335 650.738 255.801C651.306 255.267 651.982 255 652.766 255C653.55 255 654.221 255.267 654.778 255.801C655.346 256.335 655.63 256.977 655.63 257.727C655.63 258.477 655.346 259.119 654.778 259.653C654.221 260.188 653.55 260.455 652.766 260.455ZM673.498 264.818V268.227H659.93V264.818H673.498ZM663.884 258.545H667.907V283.5C667.907 284.636 668.072 285.489 668.401 286.057C668.742 286.614 669.174 286.989 669.697 287.182C670.231 287.364 670.793 287.455 671.384 287.455C671.827 287.455 672.191 287.432 672.475 287.386C672.759 287.33 672.987 287.284 673.157 287.25L673.975 290.864C673.702 290.966 673.322 291.068 672.833 291.17C672.344 291.284 671.725 291.341 670.975 291.341C669.839 291.341 668.725 291.097 667.634 290.608C666.555 290.119 665.657 289.375 664.941 288.375C664.237 287.375 663.884 286.114 663.884 284.591V258.545ZM684.134 275.25V291H680.112V256.091H684.134V268.909H684.475C685.089 267.557 686.009 266.483 687.237 265.688C688.475 264.881 690.123 264.477 692.18 264.477C693.964 264.477 695.526 264.835 696.867 265.551C698.208 266.256 699.248 267.341 699.987 268.807C700.737 270.261 701.112 272.114 701.112 274.364V291H697.089V274.636C697.089 272.557 696.549 270.949 695.469 269.812C694.401 268.665 692.918 268.091 691.021 268.091C689.702 268.091 688.521 268.369 687.475 268.926C686.441 269.483 685.623 270.295 685.021 271.364C684.43 272.432 684.134 273.727 684.134 275.25Z" fill="black" fill-opacity="0.5"/>
|
|
9
|
+
<path d="M544.936 365V310.455H553.033V318.693H553.601C554.595 315.994 556.394 313.804 558.999 312.124C561.603 310.443 564.538 309.602 567.805 309.602C568.421 309.602 569.19 309.614 570.114 309.638C571.037 309.661 571.735 309.697 572.209 309.744V318.267C571.925 318.196 571.274 318.089 570.256 317.947C569.261 317.782 568.208 317.699 567.095 317.699C564.444 317.699 562.076 318.255 559.993 319.368C557.933 320.457 556.3 321.972 555.092 323.913C553.909 325.831 553.317 328.021 553.317 330.483V365H544.936ZM603.352 366.136C598.097 366.136 593.563 364.976 589.751 362.656C585.964 360.312 583.04 357.045 580.98 352.855C578.944 348.641 577.926 343.741 577.926 338.153C577.926 332.566 578.944 327.642 580.98 323.381C583.04 319.096 585.904 315.758 589.574 313.366C593.267 310.952 597.576 309.744 602.5 309.744C605.341 309.744 608.146 310.218 610.916 311.165C613.686 312.112 616.207 313.651 618.48 315.781C620.753 317.888 622.564 320.682 623.913 324.162C625.263 327.642 625.938 331.927 625.938 337.017V340.568H583.892V333.324H617.415C617.415 330.246 616.799 327.5 615.568 325.085C614.361 322.67 612.633 320.765 610.384 319.368C608.158 317.971 605.53 317.273 602.5 317.273C599.162 317.273 596.274 318.101 593.835 319.759C591.42 321.392 589.562 323.523 588.26 326.151C586.958 328.778 586.307 331.596 586.307 334.602V339.432C586.307 343.551 587.017 347.043 588.438 349.908C589.882 352.749 591.882 354.915 594.439 356.406C596.996 357.874 599.967 358.608 603.352 358.608C605.554 358.608 607.543 358.3 609.318 357.685C611.117 357.045 612.668 356.098 613.97 354.844C615.272 353.565 616.278 351.979 616.989 350.085L625.085 352.358C624.233 355.104 622.801 357.519 620.788 359.602C618.776 361.662 616.29 363.272 613.331 364.432C610.372 365.568 607.045 366.136 603.352 366.136ZM681.628 310.455L661.458 365H652.935L632.765 310.455H641.855L656.912 353.92H657.48L672.537 310.455H681.628ZM712.896 366.136C707.972 366.136 703.651 364.964 699.934 362.621C696.241 360.277 693.353 356.998 691.27 352.784C689.21 348.57 688.18 343.646 688.18 338.011C688.18 332.33 689.21 327.37 691.27 323.132C693.353 318.894 696.241 315.604 699.934 313.26C703.651 310.916 707.972 309.744 712.896 309.744C717.82 309.744 722.129 310.916 725.822 313.26C729.539 315.604 732.427 318.894 734.487 323.132C736.57 327.37 737.612 332.33 737.612 338.011C737.612 343.646 736.57 348.57 734.487 352.784C732.427 356.998 729.539 360.277 725.822 362.621C722.129 364.964 717.82 366.136 712.896 366.136ZM712.896 358.608C716.636 358.608 719.714 357.649 722.129 355.732C724.544 353.814 726.331 351.293 727.491 348.168C728.651 345.043 729.231 341.657 729.231 338.011C729.231 334.366 728.651 330.968 727.491 327.82C726.331 324.671 724.544 322.126 722.129 320.185C719.714 318.243 716.636 317.273 712.896 317.273C709.155 317.273 706.078 318.243 703.663 320.185C701.248 322.126 699.461 324.671 698.301 327.82C697.141 330.968 696.561 334.366 696.561 338.011C696.561 341.657 697.141 345.043 698.301 348.168C699.461 351.293 701.248 353.814 703.663 355.732C706.078 357.649 709.155 358.608 712.896 358.608Z" fill="black"/>
|
|
10
|
+
<circle cx="497" cy="336" r="37" fill="white" stroke="black" stroke-width="6"/>
|
|
11
|
+
<path d="M497.32 359.36L520.52 336.16M520.52 336.16H503.24M520.52 336.16V353.44" stroke="black" stroke-width="6"/>
|
|
12
|
+
</g>
|
|
13
|
+
<defs>
|
|
14
|
+
<clipPath id="clip0_2090_2">
|
|
15
|
+
<rect width="1200" height="630" fill="white"/>
|
|
16
|
+
</clipPath>
|
|
17
|
+
</defs>
|
|
18
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
import Lenis from "lenis";
|
|
3
|
+
|
|
4
|
+
export default function LenisWrapper({ children }: { children: React.ReactNode }) {
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
const lenis = new Lenis({
|
|
7
|
+
duration: 1.2,
|
|
8
|
+
smoothWheel: true,
|
|
9
|
+
wheelMultiplier: 1.0,
|
|
10
|
+
touchMultiplier: 2.0,
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
function raf(time: number) {
|
|
14
|
+
lenis.raf(time);
|
|
15
|
+
requestAnimationFrame(raf);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
requestAnimationFrame(raf);
|
|
19
|
+
return () => lenis.destroy();
|
|
20
|
+
}, []);
|
|
21
|
+
|
|
22
|
+
return <>{children}</>;
|
|
23
|
+
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { StrictMode } from 'react'
|
|
2
|
-
import { createRoot } from 'react-dom/client'
|
|
3
|
-
import { BrowserRouter, Routes, Route } from 'react-router-dom'
|
|
4
|
-
import './index.css'
|
|
5
|
-
import App from './App
|
|
1
|
+
import { StrictMode } from 'react';
|
|
2
|
+
import { createRoot } from 'react-dom/client';
|
|
3
|
+
import { BrowserRouter, Routes, Route } from 'react-router-dom';
|
|
4
|
+
import './index.css';
|
|
5
|
+
import App from './App';
|
|
6
|
+
import LenisWrapper from './components/LenisWrapper';
|
|
6
7
|
|
|
7
8
|
createRoot(document.getElementById('root')!).render(
|
|
8
9
|
<StrictMode>
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
<LenisWrapper>
|
|
11
|
+
<BrowserRouter>
|
|
12
|
+
<Routes>
|
|
13
|
+
<Route path="/" element={<App />} />
|
|
14
|
+
</Routes>
|
|
15
|
+
</BrowserRouter>
|
|
16
|
+
</LenisWrapper>
|
|
14
17
|
</StrictMode>,
|
|
15
|
-
)
|
|
18
|
+
);
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/test/README.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# test
|
|
2
|
-
|
|
3
|
-
This is a React project bootstrapped with [`create-revo`](https://www.npmjs.com/package/create-revo).
|
|
4
|
-
|
|
5
|
-
## Getting Started
|
|
6
|
-
|
|
7
|
-
First, run the development server:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm run dev
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Open [http://localhost:5173](http://localhost:5173) with your browser to see the result.
|
|
14
|
-
|
|
15
|
-
## Features
|
|
16
|
-
|
|
17
|
-
- ⚡ Vite for fast development
|
|
18
|
-
- ⚛️ React 18 with TypeScript
|
|
19
|
-
- 🎨 Tailwind CSS for styling
|
|
20
|
-
- 🔧 ESLint for code quality
|
|
21
|
-
- 🚀 Motion for animations
|
|
22
|
-
|
|
23
|
-
## Learn More
|
|
24
|
-
|
|
25
|
-
To learn more about React, take a look at the following resources:
|
|
26
|
-
|
|
27
|
-
- [React Documentation](https://react.dev) - learn about React features and API.
|
|
28
|
-
- [Vite Documentation](https://vitejs.dev) - learn about Vite features and configuration.
|
package/test/eslint.config.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import js from '@eslint/js'
|
|
2
|
-
import globals from 'globals'
|
|
3
|
-
import reactHooks from 'eslint-plugin-react-hooks'
|
|
4
|
-
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
5
|
-
import tseslint from 'typescript-eslint'
|
|
6
|
-
|
|
7
|
-
export default tseslint.config(
|
|
8
|
-
{ ignores: ['dist'] },
|
|
9
|
-
{
|
|
10
|
-
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
11
|
-
files: ['**/*.{ts,tsx}'],
|
|
12
|
-
languageOptions: {
|
|
13
|
-
ecmaVersion: 2020,
|
|
14
|
-
globals: globals.browser,
|
|
15
|
-
},
|
|
16
|
-
plugins: {
|
|
17
|
-
'react-hooks': reactHooks,
|
|
18
|
-
'react-refresh': reactRefresh,
|
|
19
|
-
},
|
|
20
|
-
rules: {
|
|
21
|
-
...reactHooks.configs.recommended.rules,
|
|
22
|
-
'react-refresh/only-export-components': [
|
|
23
|
-
'warn',
|
|
24
|
-
{ allowConstantExport: true },
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
)
|