diff --git a/package.json b/package.json
index a6e269d..b4a9193 100644
--- a/package.json
+++ b/package.json
@@ -42,5 +42,14 @@
},
"engines": {
"node": ">=18.17.0"
+ },
+ "dependencies": {
+ "@react-three/fiber": "^8.17.7",
+ "@tabler/icons-react": "^3.16.0",
+ "@types/three": "^0.168.0",
+ "clsx": "^2.1.1",
+ "framer-motion": "^11.5.4",
+ "tailwind-merge": "^2.5.2",
+ "three": "^0.168.0"
}
}
diff --git a/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_components/bg-lines.tsx b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_components/bg-lines.tsx
new file mode 100644
index 0000000..b28b22a
--- /dev/null
+++ b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_components/bg-lines.tsx
@@ -0,0 +1,142 @@
+"use client";
+
+import { cn } from "../_lib/utils";
+import { motion } from "framer-motion";
+
+export const BackgroundLines = ({
+ children,
+ className,
+ svgOptions,
+}: {
+ children: React.ReactNode;
+ className?: string;
+ svgOptions?: {
+ duration?: number;
+ };
+}) => {
+ return (
+
+
+ {children}
+
+ );
+};
+
+const pathVariants = {
+ initial: { strokeDashoffset: 800, strokeDasharray: "50 800" },
+ animate: {
+ strokeDashoffset: 0,
+ strokeDasharray: "20 800",
+ opacity: [0, 1, 1, 0],
+ },
+};
+
+const SVG = ({
+ svgOptions,
+}: {
+ svgOptions?: {
+ duration?: number;
+ };
+}) => {
+ const paths = [
+ "M720 450C720 450 742.459 440.315 755.249 425.626C768.039 410.937 778.88 418.741 789.478 401.499C800.076 384.258 817.06 389.269 826.741 380.436C836.423 371.603 851.957 364.826 863.182 356.242C874.408 347.657 877.993 342.678 898.867 333.214C919.741 323.75 923.618 319.88 934.875 310.177C946.133 300.474 960.784 300.837 970.584 287.701C980.384 274.564 993.538 273.334 1004.85 263.087C1016.15 252.84 1026.42 250.801 1038.22 242.1C1050.02 233.399 1065.19 230.418 1074.63 215.721C1084.07 201.024 1085.49 209.128 1112.65 194.884C1139.8 180.64 1132.49 178.205 1146.43 170.636C1160.37 163.066 1168.97 158.613 1181.46 147.982C1193.95 137.35 1191.16 131.382 1217.55 125.645C1243.93 119.907 1234.19 118.899 1254.53 100.846C1274.86 82.7922 1275.12 92.8914 1290.37 76.09C1305.62 59.2886 1313.91 62.1868 1323.19 56.7536C1332.48 51.3204 1347.93 42.8082 1361.95 32.1468C1375.96 21.4855 1374.06 25.168 1397.08 10.1863C1420.09 -4.79534 1421.41 -3.16992 1431.52 -15.0078",
+ "M720 450C720 450 741.044 435.759 753.062 410.636C765.079 385.514 770.541 386.148 782.73 370.489C794.918 354.83 799.378 353.188 811.338 332.597C823.298 312.005 825.578 306.419 843.707 295.493C861.837 284.568 856.194 273.248 877.376 256.48C898.558 239.713 887.536 227.843 909.648 214.958C931.759 202.073 925.133 188.092 941.063 177.621C956.994 167.151 952.171 154.663 971.197 135.041C990.222 115.418 990.785 109.375 999.488 96.1291C1008.19 82.8827 1011.4 82.2181 1032.65 61.8861C1053.9 41.5541 1045.74 48.0281 1064.01 19.5798C1082.29 -8.86844 1077.21 -3.89415 1093.7 -19.66C1110.18 -35.4258 1105.91 -46.1146 1127.68 -60.2834C1149.46 -74.4523 1144.37 -72.1024 1154.18 -97.6802C1163.99 -123.258 1165.6 -111.332 1186.21 -135.809C1206.81 -160.285 1203.29 -160.861 1220.31 -177.633C1237.33 -194.406 1236.97 -204.408 1250.42 -214.196",
+ "M720 450C720 450 712.336 437.768 690.248 407.156C668.161 376.544 672.543 394.253 665.951 365.784C659.358 337.316 647.903 347.461 636.929 323.197C625.956 298.933 626.831 303.639 609.939 281.01C593.048 258.381 598.7 255.282 582.342 242.504C565.985 229.726 566.053 217.66 559.169 197.116C552.284 176.572 549.348 171.846 529.347 156.529C509.345 141.211 522.053 134.054 505.192 115.653C488.33 97.2527 482.671 82.5627 473.599 70.7833C464.527 59.0039 464.784 50.2169 447 32.0721C429.215 13.9272 436.29 0.858563 423.534 -12.6868C410.777 -26.2322 407.424 -44.0808 394.364 -56.4916C381.303 -68.9024 373.709 -72.6804 365.591 -96.1992C357.473 -119.718 358.364 -111.509 338.222 -136.495C318.08 -161.481 322.797 -149.499 315.32 -181.761C307.843 -214.023 294.563 -202.561 285.795 -223.25C277.026 -243.94 275.199 -244.055 258.602 -263.871",
+ "M720 450C720 450 738.983 448.651 790.209 446.852C841.436 445.052 816.31 441.421 861.866 437.296C907.422 433.172 886.273 437.037 930.656 436.651C975.04 436.264 951.399 432.343 1001.57 425.74C1051.73 419.138 1020.72 425.208 1072.85 424.127C1124.97 423.047 1114.39 420.097 1140.02 414.426C1165.65 408.754 1173.1 412.143 1214.55 411.063C1256.01 409.983 1242.78 406.182 1285.56 401.536C1328.35 396.889 1304.66 400.796 1354.41 399.573C1404.16 398.35 1381.34 394.315 1428.34 389.376C1475.35 384.438 1445.96 386.509 1497.93 385.313C1549.9 384.117 1534.63 382.499 1567.23 381.48",
+ "M720 450C720 450 696.366 458.841 682.407 472.967C668.448 487.093 673.23 487.471 647.919 492.882C622.608 498.293 636.85 499.899 609.016 512.944C581.182 525.989 596.778 528.494 571.937 533.778C547.095 539.062 551.762 548.656 536.862 556.816C521.962 564.975 515.626 563.279 497.589 575.159C479.552 587.04 484.343 590.435 461.111 598.728C437.879 607.021 442.512 605.226 423.603 618.397C404.694 631.569 402.411 629.541 390.805 641.555C379.2 653.568 369.754 658.175 353.238 663.929C336.722 669.683 330.161 674.689 312.831 684.116C295.5 693.543 288.711 698.815 278.229 704.041C267.747 709.267 258.395 712.506 240.378 726.65C222.361 740.795 230.097 738.379 203.447 745.613C176.797 752.847 193.747 752.523 166.401 767.148C139.056 781.774 151.342 783.641 130.156 791.074C108.97 798.507 116.461 802.688 96.0974 808.817C75.7334 814.946 83.8553 819.505 59.4513 830.576C35.0473 841.648 48.2548 847.874 21.8337 853.886C-4.58739 859.898 10.5966 869.102 -16.396 874.524",
+ "M720 450C720 450 695.644 482.465 682.699 506.197C669.755 529.929 671.059 521.996 643.673 556.974C616.286 591.951 625.698 590.8 606.938 615.255C588.178 639.71 592.715 642.351 569.76 665.92C546.805 689.49 557.014 687.498 538.136 722.318C519.258 757.137 520.671 760.818 503.256 774.428C485.841 788.038 491.288 790.063 463.484 831.358C435.681 872.653 437.554 867.001 425.147 885.248C412.74 903.495 411.451 911.175 389.505 934.331C367.559 957.486 375.779 966.276 352.213 990.918C328.647 1015.56 341.908 1008.07 316.804 1047.24C291.699 1086.42 301.938 1060.92 276.644 1100.23C251.349 1139.54 259.792 1138.78 243.151 1153.64",
+ "M719.974 450C719.974 450 765.293 459.346 789.305 476.402C813.318 493.459 825.526 487.104 865.093 495.586C904.659 504.068 908.361 510.231 943.918 523.51C979.475 536.789 963.13 535.277 1009.79 547.428C1056.45 559.579 1062.34 555.797 1089.82 568.96C1117.31 582.124 1133.96 582.816 1159.12 592.861C1184.28 602.906 1182.84 603.359 1233.48 614.514C1284.12 625.67 1254.63 632.207 1306.33 644.465C1358.04 656.723 1359.27 656.568 1378.67 670.21C1398.07 683.852 1406.16 676.466 1456.34 692.827C1506.51 709.188 1497.73 708.471 1527.54 715.212",
+ "M720 450C720 450 727.941 430.821 734.406 379.251C740.87 327.681 742.857 359.402 757.864 309.798C772.871 260.194 761.947 271.093 772.992 244.308C784.036 217.524 777.105 200.533 786.808 175.699C796.511 150.864 797.141 144.333 808.694 107.307C820.247 70.2821 812.404 88.4169 819.202 37.1016C826 -14.2137 829.525 -0.990829 839.341 -30.3874C849.157 -59.784 844.404 -61.5924 855.042 -98.7516C865.68 -135.911 862.018 -144.559 876.924 -167.488C891.83 -190.418 886.075 -213.535 892.87 -237.945C899.664 -262.355 903.01 -255.031 909.701 -305.588C916.393 -356.144 917.232 -330.612 925.531 -374.777",
+ "M720 450C720 450 722.468 499.363 726.104 520.449C729.739 541.535 730.644 550.025 738.836 589.07C747.028 628.115 743.766 639.319 746.146 659.812C748.526 680.306 754.006 693.598 757.006 732.469C760.007 771.34 760.322 765.244 763.893 805.195C767.465 845.146 769.92 822.227 773.398 868.469C776.875 914.71 776.207 901.365 778.233 940.19C780.259 979.015 782.53 990.477 787.977 1010.39C793.424 1030.3 791.788 1060.01 797.243 1082.24C802.698 1104.47 801.758 1130.29 808.181 1149.64C814.604 1168.99 813.135 1171.5 818.026 1225.28C822.918 1279.06 820.269 1267.92 822.905 1293.75",
+ "M720 450C720 450 737.033 492.46 757.251 515.772C777.468 539.084 768.146 548.687 785.517 570.846C802.887 593.005 814.782 609.698 824.589 634.112C834.395 658.525 838.791 656.702 855.55 695.611C872.31 734.519 875.197 724.854 890.204 764.253C905.21 803.653 899.844 790.872 919.927 820.763C940.01 850.654 939.071 862.583 954.382 886.946C969.693 911.309 968.683 909.254 993.997 945.221C1019.31 981.187 1006.67 964.436 1023.49 1007.61C1040.32 1050.79 1046.15 1038.25 1059.01 1073.05C1071.88 1107.86 1081.39 1096.19 1089.45 1131.96C1097.51 1167.73 1106.52 1162.12 1125.77 1196.89",
+ "M720 450C720 450 687.302 455.326 670.489 467.898C653.676 480.47 653.159 476.959 626.58 485.127C600.002 493.295 599.626 495.362 577.94 503.841C556.254 512.319 556.35 507.426 533.958 517.44C511.566 527.454 505.82 526.441 486.464 539.172C467.108 551.904 461.312 546.36 439.357 553.508C417.402 560.657 406.993 567.736 389.393 572.603C371.794 577.47 371.139 583.76 344.54 587.931C317.941 592.102 327.375 593.682 299.411 607.275C271.447 620.868 283.617 615.022 249.868 622.622C216.119 630.223 227.07 630.86 203.77 638.635C180.47 646.41 168.948 652.487 156.407 657.28C143.866 662.073 132.426 669.534 110.894 675.555C89.3615 681.575 90.3234 680.232 61.1669 689.897C32.0105 699.562 34.3696 702.021 15.9011 709.789C-2.56738 717.558 2.38861 719.841 -29.9494 729.462C-62.2873 739.083 -52.5552 738.225 -77.4307 744.286",
+ "M720 450C720 450 743.97 465.061 754.884 490.648C765.798 516.235 781.032 501.34 791.376 525.115C801.72 548.889 808.417 538.333 829.306 564.807C850.195 591.281 852.336 582.531 865.086 601.843C877.835 621.155 874.512 621.773 902.383 643.857C930.255 665.94 921.885 655.976 938.025 681.74C954.164 707.505 959.384 709.719 977.273 720.525C995.162 731.33 994.233 731.096 1015.92 757.676C1037.61 784.257 1025.74 768.848 1047.82 795.343C1069.91 821.837 1065.95 815.45 1085.93 834.73C1105.91 854.009 1110.53 848.089 1124.97 869.759C1139.4 891.428 1140.57 881.585 1158.53 911.499C1176.5 941.414 1184.96 933.829 1194.53 948.792C1204.09 963.755 1221.35 973.711 1232.08 986.224C1242.8 998.738 1257.34 1015.61 1269.99 1026.53C1282.63 1037.45 1293.81 1040.91 1307.21 1064.56",
+ "M720 450C720 450 718.24 412.717 716.359 397.31C714.478 381.902 713.988 362.237 710.785 344.829C707.582 327.42 708.407 322.274 701.686 292.106C694.965 261.937 699.926 270.857 694.84 240.765C689.753 210.674 693.055 217.076 689.674 184.902C686.293 152.728 686.041 149.091 682.676 133.657C679.311 118.223 682.23 106.005 681.826 80.8297C681.423 55.6545 677.891 60.196 675.66 30.0226C673.429 -0.150848 672.665 -7.94842 668.592 -26.771C664.52 -45.5935 664.724 -43.0755 661.034 -78.7766C657.343 -114.478 658.509 -103.181 653.867 -133.45C649.226 -163.719 650.748 -150.38 647.052 -182.682C643.357 -214.984 646.125 -214.921 645.216 -238.402C644.307 -261.883 640.872 -253.4 637.237 -291.706C633.602 -330.012 634.146 -309.868 630.717 -343.769C627.288 -377.669 628.008 -370.682 626.514 -394.844",
+ "M720 450C720 450 730.384 481.55 739.215 507.557C748.047 533.564 751.618 537.619 766.222 562.033C780.825 586.447 774.187 582.307 787.606 618.195C801.025 654.082 793.116 653.536 809.138 678.315C825.16 703.095 815.485 717.073 829.898 735.518C844.311 753.964 845.351 773.196 852.197 786.599C859.042 800.001 862.876 805.65 872.809 845.974C882.742 886.297 885.179 874.677 894.963 903.246C904.747 931.816 911.787 924.243 921.827 961.809C931.867 999.374 927.557 998.784 940.377 1013.59C953.197 1028.4 948.555 1055.77 966.147 1070.54C983.739 1085.31 975.539 1105.69 988.65 1125.69C1001.76 1145.69 1001.82 1141.59 1007.54 1184.37C1013.27 1227.15 1018.98 1198.8 1029.67 1241.58",
+ "M720 450C720 450 684.591 447.135 657.288 439.014C629.985 430.894 618.318 435.733 600.698 431.723C583.077 427.714 566.975 425.639 537.839 423.315C508.704 420.991 501.987 418.958 476.29 413.658C450.592 408.359 460.205 410.268 416.97 408.927C373.736 407.586 396.443 401.379 359.262 396.612C322.081 391.844 327.081 393.286 300.224 391.917C273.368 390.547 264.902 385.49 241.279 382.114C217.655 378.739 205.497 378.95 181.98 377.253C158.464 375.556 150.084 369.938 117.474 366.078C84.8644 362.218 81.5401 361.501 58.8734 358.545C36.2067 355.59 33.6442 351.938 -3.92281 346.728C-41.4898 341.519 -18.6466 345.082 -61.4654 341.179C-104.284 337.275 -102.32 338.048 -121.821 332.369",
+ "M720 450C720 450 714.384 428.193 708.622 410.693C702.86 393.193 705.531 397.066 703.397 372.66C701.264 348.254 697.8 345.181 691.079 330.466C684.357 315.751 686.929 312.356 683.352 292.664C679.776 272.973 679.079 273.949 674.646 255.07C670.213 236.192 670.622 244.371 665.271 214.561C659.921 184.751 659.864 200.13 653.352 172.377C646.841 144.623 647.767 151.954 644.123 136.021C640.48 120.088 638.183 107.491 636.127 96.8178C634.072 86.1443 632.548 77.5871 626.743 54.0492C620.938 30.5112 622.818 28.9757 618.613 16.577C614.407 4.17831 615.555 -13.1527 608.752 -24.5691C601.95 -35.9855 603.375 -51.0511 599.526 -60.1492C595.678 -69.2472 593.676 -79.3623 587.865 -100.431C582.053 -121.5 584.628 -117.913 578.882 -139.408C573.137 -160.903 576.516 -161.693 571.966 -182.241C567.416 -202.789 567.42 -198.681 562.834 -218.28C558.248 -237.879 555.335 -240.47 552.072 -260.968C548.808 -281.466 547.605 -280.956 541.772 -296.427C535.94 -311.898 537.352 -315.211 535.128 -336.018C532.905 -356.826 531.15 -360.702 524.129 -377.124",
+ "M720 450C720 450 711.433 430.82 707.745 409.428C704.056 388.035 704.937 381.711 697.503 370.916C690.069 360.121 691.274 359.999 685.371 334.109C679.469 308.22 677.496 323.883 671.24 294.303C664.984 264.724 667.608 284.849 662.065 258.116C656.522 231.383 656.357 229.024 647.442 216.172C638.527 203.319 640.134 192.925 635.555 178.727C630.976 164.529 630.575 150.179 624.994 139.987C619.413 129.794 615.849 112.779 612.251 103.074C608.654 93.3696 606.942 85.6729 603.041 63.0758C599.14 40.4787 595.242 36.9267 589.533 23.8967C583.823 10.8666 581.18 -2.12401 576.96 -14.8333C572.739 -27.5425 572.696 -37.7703 568.334 -51.3441C563.972 -64.9179 562.14 -67.2124 556.992 -93.299C551.844 -119.386 550.685 -109.743 544.056 -129.801C537.428 -149.859 534.97 -151.977 531.034 -170.076C527.099 -188.175 522.979 -185.119 519.996 -207.061C517.012 -229.004 511.045 -224.126 507.478 -247.077C503.912 -270.029 501.417 -271.033 495.534 -287C489.651 -302.968 491.488 -300.977 484.68 -326.317C477.872 -351.657 476.704 -348.494 472.792 -363.258",
+ "M720 450C720 450 723.524 466.673 728.513 497.319C733.503 527.964 731.894 519.823 740.001 542.706C748.108 565.589 744.225 560.598 748.996 588.365C753.766 616.131 756.585 602.096 761.881 636.194C767.178 670.293 768.155 649.089 771.853 679.845C775.551 710.6 775.965 703.738 781.753 724.555C787.54 745.372 787.248 758.418 791.422 773.79C795.596 789.162 798.173 807.631 804.056 819.914C809.938 832.197 806.864 843.07 811.518 865.275C816.171 887.48 816.551 892.1 822.737 912.643C828.922 933.185 830.255 942.089 833.153 956.603C836.052 971.117 839.475 969.242 846.83 1003.98C854.185 1038.71 850.193 1028.86 854.119 1048.67C858.045 1068.48 857.963 1074.39 863.202 1094.94C868.44 1115.49 867.891 1108.03 874.497 1138.67C881.102 1169.31 880.502 1170.72 887.307 1186.56C894.111 1202.4 890.388 1209.75 896.507 1231.25C902.627 1252.76 902.54 1245.39 906.742 1279.23",
+ "M720 450C720 450 698.654 436.893 669.785 424.902C640.916 412.91 634.741 410.601 615.568 402.586C596.396 394.571 594.829 395.346 568.66 378.206C542.492 361.067 547.454 359.714 514.087 348.978C480.721 338.242 479.79 334.731 467.646 329.846C455.502 324.96 448.63 312.156 416.039 303.755C383.448 295.354 391.682 293.73 365.021 280.975C338.36 268.219 328.715 267.114 309.809 252.575C290.903 238.036 277.185 246.984 259.529 230.958C241.873 214.931 240.502 224.403 211.912 206.241C183.323 188.078 193.288 190.89 157.03 181.714C120.772 172.538 127.621 170.109 108.253 154.714C88.8857 139.319 75.4927 138.974 56.9647 132.314C38.4366 125.654 33.8997 118.704 4.77584 106.7C-24.348 94.6959 -19.1326 90.266 -46.165 81.9082",
+ "M720 450C720 450 711.596 475.85 701.025 516.114C690.455 556.378 697.124 559.466 689.441 579.079C681.758 598.693 679.099 597.524 675.382 642.732C671.665 687.94 663.4 677.024 657.844 700.179C652.288 723.333 651.086 724.914 636.904 764.536C622.723 804.158 631.218 802.853 625.414 827.056C619.611 851.259 613.734 856.28 605.94 892.262C598.146 928.244 595.403 924.314 588.884 957.785C582.364 991.255 583.079 991.176 575.561 1022.63C568.044 1054.08 566.807 1058.45 558.142 1084.32C549.476 1110.2 553.961 1129.13 542.367 1149.25C530.772 1169.37 538.268 1180.37 530.338 1207.27C522.407 1234.17 520.826 1245.53 512.156 1274.2",
+ "M720 450C720 450 730.571 424.312 761.424 411.44C792.277 398.569 772.385 393.283 804.069 377.232C835.752 361.182 829.975 361.373 848.987 342.782C867.999 324.192 877.583 330.096 890.892 303.897C904.201 277.698 910.277 282.253 937.396 264.293C964.514 246.333 949.357 246.834 978.7 230.438C1008.04 214.042 990.424 217.952 1021.51 193.853C1052.6 169.753 1054.28 184.725 1065.97 158.075C1077.65 131.425 1087.76 139.068 1111.12 120.345C1134.49 101.622 1124.9 104.858 1151.67 86.3162C1178.43 67.7741 1167.09 66.2676 1197.53 47.2606C1227.96 28.2536 1225.78 23.2186 1239.27 12.9649C1252.76 2.7112 1269.32 -9.47929 1282.88 -28.5587C1296.44 -47.6381 1305.81 -41.3853 1323.82 -62.7027C1341.83 -84.0202 1340.32 -82.3794 1368.98 -98.9326",
+ ];
+
+ const colors = [
+ "#46A5CA",
+ "#8C2F2F",
+ "#4FAE4D",
+ "#D6590C",
+ "#811010",
+ "#247AFB",
+ "#A534A0",
+ "#A8A438",
+ "#D6590C",
+ "#46A29C",
+ "#670F6D",
+ "#D7C200",
+ "#59BBEB",
+ "#504F1C",
+ "#55BC54",
+ "#4D3568",
+ "#9F39A5",
+ "#363636",
+ "#860909",
+ "#6A286F",
+ "#604483",
+ ];
+ return (
+
+ {paths.map((path, idx) => (
+
+ ))}
+
+ {/* duplicate for more paths */}
+ {paths.map((path, idx) => (
+
+ ))}
+
+ );
+};
diff --git a/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_components/floating_bar.tsx b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_components/floating_bar.tsx
new file mode 100644
index 0000000..e025490
--- /dev/null
+++ b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_components/floating_bar.tsx
@@ -0,0 +1,179 @@
+"use client";
+
+import { useRef, useState } from "react";
+import Link from "next/link";
+import { cn } from "../_lib/utils";
+import { IconLayoutNavbarCollapse } from "@tabler/icons-react";
+import { AnimatePresence, MotionValue, motion, useMotionValue, useSpring, useTransform } from "framer-motion";
+
+export const FloatingDock = ({
+ items,
+ desktopClassName,
+ mobileClassName,
+}: {
+ items: { title: string; icon: React.ReactNode; href: string }[];
+ desktopClassName?: string;
+ mobileClassName?: string;
+}) => {
+ return (
+ <>
+
+
+ >
+ );
+};
+
+const FloatingDockMobile = ({
+ items,
+ className,
+}: {
+ items: { title: string; icon: React.ReactNode; href: string }[];
+ className?: string;
+}) => {
+ const [open, setOpen] = useState(false);
+ return (
+
+
+ {open && (
+
+ {items.map((item, idx) => (
+
+
+ {item.icon}
+
+
+ ))}
+
+ )}
+
+
+
+ );
+};
+
+const FloatingDockDesktop = ({
+ items,
+ className,
+}: {
+ items: { title: string; icon: React.ReactNode; href: string }[];
+ className?: string;
+}) => {
+ const mouseX = useMotionValue(Infinity);
+ return (
+ mouseX.set(e.pageX)}
+ onMouseLeave={() => mouseX.set(Infinity)}
+ className={cn(
+ "mx-auto hidden md:flex h-16 gap-4 items-end rounded-2xl bg-gray-50 dark:bg-neutral-900 px-4 pb-3",
+ className,
+ )}
+ >
+ {items.map(item => (
+
+ ))}
+
+ );
+};
+
+function IconContainer({
+ mouseX,
+ title,
+ icon,
+ href,
+}: {
+ mouseX: MotionValue;
+ title: string;
+ icon: React.ReactNode;
+ href: string;
+}) {
+ const ref = useRef(null);
+
+ const distance = useTransform(mouseX, val => {
+ const bounds = ref.current?.getBoundingClientRect() ?? { x: 0, width: 0 };
+
+ return val - bounds.x - bounds.width / 2;
+ });
+
+ const widthTransform = useTransform(distance, [-150, 0, 150], [40, 80, 40]);
+ const heightTransform = useTransform(distance, [-150, 0, 150], [40, 80, 40]);
+
+ const widthTransformIcon = useTransform(distance, [-150, 0, 150], [20, 40, 20]);
+ const heightTransformIcon = useTransform(distance, [-150, 0, 150], [20, 40, 20]);
+
+ const width = useSpring(widthTransform, {
+ mass: 0.1,
+ stiffness: 150,
+ damping: 12,
+ });
+ const height = useSpring(heightTransform, {
+ mass: 0.1,
+ stiffness: 150,
+ damping: 12,
+ });
+
+ const widthIcon = useSpring(widthTransformIcon, {
+ mass: 0.1,
+ stiffness: 150,
+ damping: 12,
+ });
+ const heightIcon = useSpring(heightTransformIcon, {
+ mass: 0.1,
+ stiffness: 150,
+ damping: 12,
+ });
+
+ const [hovered, setHovered] = useState(false);
+
+ return (
+
+ setHovered(true)}
+ onMouseLeave={() => setHovered(false)}
+ className="aspect-square rounded-full bg-gray-200 dark:bg-neutral-800 flex items-center justify-center relative"
+ >
+
+ {hovered && (
+
+ {title}
+
+ )}
+
+
+ {icon}
+
+
+
+ );
+}
diff --git a/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_lib/utils.ts b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_lib/utils.ts
new file mode 100644
index 0000000..cec6ac9
--- /dev/null
+++ b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/_lib/utils.ts
@@ -0,0 +1,6 @@
+import { ClassValue, clsx } from "clsx";
+import { twMerge } from "tailwind-merge";
+
+export function cn(...inputs: ClassValue[]) {
+ return twMerge(clsx(inputs));
+}
diff --git a/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/page.tsx b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/page.tsx
new file mode 100644
index 0000000..41025d7
--- /dev/null
+++ b/packages/nextjs/app/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c/page.tsx
@@ -0,0 +1,71 @@
+import { BackgroundLines } from "./_components/bg-lines";
+import { FloatingDock } from "./_components/floating_bar";
+import {
+ IconBrandGithub,
+ IconBrandInstagram,
+ IconBrandTelegram,
+ IconBrandX,
+ IconHome,
+ IconTower,
+} from "@tabler/icons-react";
+import type { NextPage } from "next";
+import { Address } from "~~/components/scaffold-eth";
+
+const links = [
+ {
+ title: "Website",
+ icon: ,
+ href: "https://styles-portfolio.vercel.app/",
+ },
+ {
+ title: "GitHub",
+ icon: ,
+ href: "https://github.com/ishtails",
+ },
+ {
+ title: "BuidlGuidl",
+ icon: ,
+ href: "https://app.buidlguidl.com/builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c",
+ },
+ {
+ title: "Telegram",
+ icon: ,
+ href: "https://t.me/ishtails",
+ },
+ {
+ title: "X",
+ icon: ,
+ href: "https://x.com/ishtails",
+ },
+ {
+ title: "Instagram",
+ icon: ,
+ href: "https://www.instagram.com/ishtails",
+ },
+];
+
+const STYLESPage: NextPage = () => {
+ return (
+
+
+
+
+ STYLES.
+
+
+
+ full stack developer, designer & achitect, web3 enthusiast, musician, and possibly a human.
+
+
+
+
+
+
+
+
+ );
+};
+
+export default STYLESPage;
diff --git a/yarn.lock b/yarn.lock
index 02531e1..3efa303 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -144,6 +144,15 @@ __metadata:
languageName: node
linkType: hard
+"@babel/runtime@npm:^7.17.8":
+ version: 7.25.6
+ resolution: "@babel/runtime@npm:7.25.6"
+ dependencies:
+ regenerator-runtime: ^0.14.0
+ checksum: ee1a69d3ac7802803f5ee6a96e652b78b8addc28c6a38c725a4ad7d61a059d9e6cb9f6550ed2f63cce67a1bd82e0b1ef66a1079d895be6bfb536a5cfbd9ccc32
+ languageName: node
+ linkType: hard
+
"@babel/runtime@npm:^7.19.4":
version: 7.24.5
resolution: "@babel/runtime@npm:7.24.5"
@@ -2018,6 +2027,48 @@ __metadata:
languageName: node
linkType: hard
+"@react-three/fiber@npm:^8.17.7":
+ version: 8.17.7
+ resolution: "@react-three/fiber@npm:8.17.7"
+ dependencies:
+ "@babel/runtime": ^7.17.8
+ "@types/debounce": ^1.2.1
+ "@types/react-reconciler": ^0.26.7
+ "@types/webxr": "*"
+ base64-js: ^1.5.1
+ buffer: ^6.0.3
+ debounce: ^1.2.1
+ its-fine: ^1.0.6
+ react-reconciler: ^0.27.0
+ scheduler: ^0.21.0
+ suspend-react: ^0.1.3
+ zustand: ^3.7.1
+ peerDependencies:
+ expo: ">=43.0"
+ expo-asset: ">=8.4"
+ expo-file-system: ">=11.0"
+ expo-gl: ">=11.0"
+ react: ">=18.0"
+ react-dom: ">=18.0"
+ react-native: ">=0.64"
+ three: ">=0.133"
+ peerDependenciesMeta:
+ expo:
+ optional: true
+ expo-asset:
+ optional: true
+ expo-file-system:
+ optional: true
+ expo-gl:
+ optional: true
+ react-dom:
+ optional: true
+ react-native:
+ optional: true
+ checksum: a809d9138356d92d2a0f81ec34bcb6b4d8f2c5b67fcd1e6a0c54063f50edc2eb0143d9c4bc9fd5d55ed1553420fc7abd4a9386b72ed0dd078525c70d170a7f28
+ languageName: node
+ linkType: hard
+
"@rollup/pluginutils@npm:^4.0.0":
version: 4.2.1
resolution: "@rollup/pluginutils@npm:4.2.1"
@@ -2536,6 +2587,24 @@ __metadata:
languageName: node
linkType: hard
+"@tabler/icons-react@npm:^3.16.0":
+ version: 3.16.0
+ resolution: "@tabler/icons-react@npm:3.16.0"
+ dependencies:
+ "@tabler/icons": 3.16.0
+ peerDependencies:
+ react: ">= 16"
+ checksum: ae51e369b0961f198417fa50db95bf4c5b4c07d89b2a50911ad3752940d3894e403197c6d54516f44ff3d4da7ff83379b04a3e5a397871d97a7dedb54de9d39f
+ languageName: node
+ linkType: hard
+
+"@tabler/icons@npm:3.16.0":
+ version: 3.16.0
+ resolution: "@tabler/icons@npm:3.16.0"
+ checksum: 4df777c90f8cd9e85f60659a5394a99450247d8313aafb4bc1420d9e6a2e3e239ad6b0b05596d095480a1e6e9e8ea9fd58fef0c4c4cafb9e7b1affa4719778b4
+ languageName: node
+ linkType: hard
+
"@tanstack/query-core@npm:5.28.6":
version: 5.28.6
resolution: "@tanstack/query-core@npm:5.28.6"
@@ -2621,6 +2690,13 @@ __metadata:
languageName: node
linkType: hard
+"@tweenjs/tween.js@npm:~23.1.3":
+ version: 23.1.3
+ resolution: "@tweenjs/tween.js@npm:23.1.3"
+ checksum: 2f8a908b275bb6729bde4b863c277bf7411d2e0302ceb0455369479077b89eaf8380cd9206b91ff574416418a95c6f06db4e1ddea732a286d0db0ba8e7c093d3
+ languageName: node
+ linkType: hard
+
"@typechain/ethers-v5@npm:^10.1.0":
version: 10.2.1
resolution: "@typechain/ethers-v5@npm:10.2.1"
@@ -2708,6 +2784,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/debounce@npm:^1.2.1":
+ version: 1.2.4
+ resolution: "@types/debounce@npm:1.2.4"
+ checksum: decef3eee65d681556d50f7fac346f1b33134f6b21f806d41326f9dfb362fa66b0282ff0640ae6791b690694c9dc3dad4e146e909e707e6f96650f3aa325b9da
+ languageName: node
+ linkType: hard
+
"@types/debug@npm:^4.1.7":
version: 4.1.9
resolution: "@types/debug@npm:4.1.9"
@@ -2899,6 +2982,24 @@ __metadata:
languageName: node
linkType: hard
+"@types/react-reconciler@npm:^0.26.7":
+ version: 0.26.7
+ resolution: "@types/react-reconciler@npm:0.26.7"
+ dependencies:
+ "@types/react": "*"
+ checksum: 4122d2b08580f775d0aeae9bd10b68248f894096ed14c0ebbc143ef712e21b159e89d0c628bd95dd3329947fc1ee94a0cb1d2d32b32b1d5d225e70030e91e58f
+ languageName: node
+ linkType: hard
+
+"@types/react-reconciler@npm:^0.28.0":
+ version: 0.28.8
+ resolution: "@types/react-reconciler@npm:0.28.8"
+ dependencies:
+ "@types/react": "*"
+ checksum: 14565638bb34443212738f4dd2e3c9ebccfb5b42e3e94e50feef58dc661a0da3a4eab0d0191d9668e400b9f1dff6cb13fe23b5d1b00f4b13574071d9073c9229
+ languageName: node
+ linkType: hard
+
"@types/react@npm:*, @types/react@npm:^18.0.9":
version: 18.2.23
resolution: "@types/react@npm:18.2.23"
@@ -2952,6 +3053,27 @@ __metadata:
languageName: node
linkType: hard
+"@types/stats.js@npm:*":
+ version: 0.17.3
+ resolution: "@types/stats.js@npm:0.17.3"
+ checksum: 4f84a012f630532877f62959b6335d3fa081ccaac15ce3f1f916741db265bda22b9c927d7efc9cc3389ffd60919a370673cb0b4e7221d580c571031e94b689fd
+ languageName: node
+ linkType: hard
+
+"@types/three@npm:^0.168.0":
+ version: 0.168.0
+ resolution: "@types/three@npm:0.168.0"
+ dependencies:
+ "@tweenjs/tween.js": ~23.1.3
+ "@types/stats.js": "*"
+ "@types/webxr": "*"
+ "@webgpu/types": "*"
+ fflate: ~0.8.2
+ meshoptimizer: ~0.18.1
+ checksum: 2f4e36689170617ec8b8b085d20257adc5c69278265c040836e5cf4d336fa055fcec3a91d5e0de760abfb38953aee74e874fd1682bb61e31787514425eaa5182
+ languageName: node
+ linkType: hard
+
"@types/trusted-types@npm:^2.0.2":
version: 2.0.4
resolution: "@types/trusted-types@npm:2.0.4"
@@ -2959,6 +3081,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/webxr@npm:*":
+ version: 0.5.20
+ resolution: "@types/webxr@npm:0.5.20"
+ checksum: 8085c291ca8a8adfe03245725384234e62d61cc0f5f7b9985c2a0ba2b2a794cac538861c4904d8fcd28e3e381f0a4ecc5d4514d143dbf3fc0cf3193dc1cc7a54
+ languageName: node
+ linkType: hard
+
"@types/ws@npm:^8.5.5":
version: 8.5.6
resolution: "@types/ws@npm:8.5.6"
@@ -3864,6 +3993,13 @@ __metadata:
languageName: node
linkType: hard
+"@webgpu/types@npm:*":
+ version: 0.1.45
+ resolution: "@webgpu/types@npm:0.1.45"
+ checksum: dd68337f40421133bf124737ec780846a8d31d51e05ba1a68962c9ffe69716822f63661044f1701bd249e01b455301d49a75ec8d6dd940a2ae55838ff1318fce
+ languageName: node
+ linkType: hard
+
"abbrev@npm:1, abbrev@npm:^1.0.0":
version: 1.1.1
resolution: "abbrev@npm:1.1.1"
@@ -4605,7 +4741,7 @@ __metadata:
languageName: node
linkType: hard
-"base64-js@npm:^1.3.1":
+"base64-js@npm:^1.3.1, base64-js@npm:^1.5.1":
version: 1.5.1
resolution: "base64-js@npm:1.5.1"
checksum: 669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005
@@ -5286,6 +5422,13 @@ __metadata:
languageName: node
linkType: hard
+"clsx@npm:^2.1.1":
+ version: 2.1.1
+ resolution: "clsx@npm:2.1.1"
+ checksum: acd3e1ab9d8a433ecb3cc2f6a05ab95fe50b4a3cfc5ba47abb6cbf3754585fcb87b84e90c822a1f256c4198e3b41c7f6c391577ffc8678ad587fc0976b24fd57
+ languageName: node
+ linkType: hard
+
"cluster-key-slot@npm:^1.1.0":
version: 1.1.2
resolution: "cluster-key-slot@npm:1.1.2"
@@ -5663,6 +5806,13 @@ __metadata:
languageName: node
linkType: hard
+"debounce@npm:^1.2.1":
+ version: 1.2.1
+ resolution: "debounce@npm:1.2.1"
+ checksum: 682a89506d9e54fb109526f4da255c5546102fbb8e3ae75eef3b04effaf5d4853756aee97475cd4650641869794e44f410eeb20ace2b18ea592287ab2038519e
+ languageName: node
+ linkType: hard
+
"debug@npm:3.2.6":
version: 3.2.6
resolution: "debug@npm:3.2.6"
@@ -7380,6 +7530,13 @@ __metadata:
languageName: node
linkType: hard
+"fflate@npm:~0.8.2":
+ version: 0.8.2
+ resolution: "fflate@npm:0.8.2"
+ checksum: 29470337b85d3831826758e78f370e15cda3169c5cd4477c9b5eea2402261a74b2975bae816afabe1c15d21d98591e0d30a574f7103aa117bff60756fa3035d4
+ languageName: node
+ linkType: hard
+
"file-entry-cache@npm:^6.0.1":
version: 6.0.1
resolution: "file-entry-cache@npm:6.0.1"
@@ -7596,6 +7753,26 @@ __metadata:
languageName: node
linkType: hard
+"framer-motion@npm:^11.5.4":
+ version: 11.5.4
+ resolution: "framer-motion@npm:11.5.4"
+ dependencies:
+ tslib: ^2.4.0
+ peerDependencies:
+ "@emotion/is-prop-valid": "*"
+ react: ^18.0.0
+ react-dom: ^18.0.0
+ peerDependenciesMeta:
+ "@emotion/is-prop-valid":
+ optional: true
+ react:
+ optional: true
+ react-dom:
+ optional: true
+ checksum: da7cee2203797692033344a2ea9f9699b17a7f95db0bcfeb13ab65d8705a3b5616ff5a61c49b5ddafeff1206c4cc52fc63396752cc9f031ff5d375163e4ae02f
+ languageName: node
+ linkType: hard
+
"fs-extra@npm:11.1.0":
version: 11.1.0
resolution: "fs-extra@npm:11.1.0"
@@ -9226,6 +9403,17 @@ __metadata:
languageName: node
linkType: hard
+"its-fine@npm:^1.0.6":
+ version: 1.2.5
+ resolution: "its-fine@npm:1.2.5"
+ dependencies:
+ "@types/react-reconciler": ^0.28.0
+ peerDependencies:
+ react: ">=18.0"
+ checksum: b801f101a618f0659566d1793efd2498719463a3f1a93c063c0745524fbfae1abc5e0bafdb4fd4d7d4382ac845755e86197f3c7cb5d0c07b56d380acb9b7c6d4
+ languageName: node
+ linkType: hard
+
"jackspeak@npm:^2.3.5":
version: 2.3.5
resolution: "jackspeak@npm:2.3.5"
@@ -10029,6 +10217,13 @@ __metadata:
languageName: node
linkType: hard
+"meshoptimizer@npm:~0.18.1":
+ version: 0.18.1
+ resolution: "meshoptimizer@npm:0.18.1"
+ checksum: 101dbed8abd4cf167cdb7a0bc13db90dd0743332c689e43b18cc5254d238f0766750752432401fa63dc7e9e32399ef68daacf48f0d89db1484042c1761c7362d
+ languageName: node
+ linkType: hard
+
"micro-ftch@npm:^0.3.1":
version: 0.3.1
resolution: "micro-ftch@npm:0.3.1"
@@ -11922,6 +12117,18 @@ __metadata:
languageName: node
linkType: hard
+"react-reconciler@npm:^0.27.0":
+ version: 0.27.0
+ resolution: "react-reconciler@npm:0.27.0"
+ dependencies:
+ loose-envify: ^1.1.0
+ scheduler: ^0.21.0
+ peerDependencies:
+ react: ^18.0.0
+ checksum: c2ae111f150c2a46970182df12ea8254719fdfec5e26574711b1838fc37863c63671460a351570fd359c088d891e7bb0ff89023c2f7c1582393b57dd517b92c2
+ languageName: node
+ linkType: hard
+
"react-remove-scroll-bar@npm:^2.3.4":
version: 2.3.4
resolution: "react-remove-scroll-bar@npm:2.3.4"
@@ -12534,6 +12741,15 @@ __metadata:
languageName: node
linkType: hard
+"scheduler@npm:^0.21.0":
+ version: 0.21.0
+ resolution: "scheduler@npm:0.21.0"
+ dependencies:
+ loose-envify: ^1.1.0
+ checksum: 4f8285076041ed2c81acdd1faa987f1655fdbd30554bc667c1ea64743fc74fb3a04ca7d27454b3d678735df5a230137a3b84756061b43dc5796e80701b66d124
+ languageName: node
+ linkType: hard
+
"scheduler@npm:^0.23.0":
version: 0.23.0
resolution: "scheduler@npm:0.23.0"
@@ -12561,8 +12777,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "se-2@workspace:."
dependencies:
+ "@react-three/fiber": ^8.17.7
+ "@tabler/icons-react": ^3.16.0
+ "@types/three": ^0.168.0
+ clsx: ^2.1.1
+ framer-motion: ^11.5.4
husky: ^8.0.1
lint-staged: ^13.0.3
+ tailwind-merge: ^2.5.2
+ three: ^0.168.0
languageName: unknown
linkType: soft
@@ -13394,6 +13617,15 @@ __metadata:
languageName: node
linkType: hard
+"suspend-react@npm:^0.1.3":
+ version: 0.1.3
+ resolution: "suspend-react@npm:0.1.3"
+ peerDependencies:
+ react: ">=17.0"
+ checksum: 280de571d33ffe825bb28fab25e81272b396c3295d91f50ac48b6a3777830035fa40909015dfaef17e34b9ad4ce15fcb4d73cc59530d4bc82490471322f7dbbe
+ languageName: node
+ linkType: hard
+
"sync-request@npm:^6.0.0":
version: 6.1.0
resolution: "sync-request@npm:6.1.0"
@@ -13439,6 +13671,13 @@ __metadata:
languageName: node
linkType: hard
+"tailwind-merge@npm:^2.5.2":
+ version: 2.5.2
+ resolution: "tailwind-merge@npm:2.5.2"
+ checksum: af745fc16245ac14eb5d3f0b9d076c024321877ad45f43b324465f6aa7f8b5de3816640594fbf6ac8b3500f70ff2687345787888744196ff6f82dfe9a1f99b97
+ languageName: node
+ linkType: hard
+
"tailwindcss@npm:^3.4.3":
version: 3.4.3
resolution: "tailwindcss@npm:3.4.3"
@@ -13561,6 +13800,13 @@ __metadata:
languageName: node
linkType: hard
+"three@npm:^0.168.0":
+ version: 0.168.0
+ resolution: "three@npm:0.168.0"
+ checksum: 1f186006ad5c8df348d4a2bcdccc078f0454f196b8ccc450d405cdf8c88436ff773e545725ef1122891b5552b5cf03add8394288b58985a0c3ebe66b588cab2f
+ languageName: node
+ linkType: hard
+
"time-span@npm:4.0.0":
version: 4.0.0
resolution: "time-span@npm:4.0.0"
@@ -15212,3 +15458,15 @@ __metadata:
checksum: 80acd0fbf633782996642802c8692bbb80ae5c80a8dff4c501b88250acd5ccd468fbc6398bdce198475a25e3839c91385b81da921274f33ffb5c2d08c3eab400
languageName: node
linkType: hard
+
+"zustand@npm:^3.7.1":
+ version: 3.7.2
+ resolution: "zustand@npm:3.7.2"
+ peerDependencies:
+ react: ">=16.8"
+ peerDependenciesMeta:
+ react:
+ optional: true
+ checksum: 18f025b1b666a311121d3855303ff58e6a21fd107920ca474307e86984c13338d6c4cfa5cdf13382a9e0f76821f2554a12d4d200a98a66b58637e729f149797b
+ languageName: node
+ linkType: hard