tanstack_start_ts 1.0.0
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/.wrangler/deploy/config.json +1 -0
- package/bunfig.toml +6 -0
- package/components.json +22 -0
- package/config.json +0 -0
- package/dist/client/.assetsignore +2 -0
- package/dist/client/assets/ProductCard-DbIkJAE-.js +1 -0
- package/dist/client/assets/about-AskxOruL.js +1 -0
- package/dist/client/assets/admin-BZVcAQM3.js +1 -0
- package/dist/client/assets/admin.functions--RdVcuBx.js +1 -0
- package/dist/client/assets/admin.login-QgrF_9Fp.js +1 -0
- package/dist/client/assets/affiliate-disclosure-BIAsA-HO.js +1 -0
- package/dist/client/assets/categories-D0N418mK.js +1 -0
- package/dist/client/assets/category._slug-aCaQm14E.js +1 -0
- package/dist/client/assets/contact-PhvO-V15.js +1 -0
- package/dist/client/assets/faq-BsiHWPM8.js +1 -0
- package/dist/client/assets/hero-bg-BP2eVUIX.jpg +0 -0
- package/dist/client/assets/index-BU9rnkF3.js +1 -0
- package/dist/client/assets/index-BpJWZkva.js +1 -0
- package/dist/client/assets/index-vRX-zAyq.js +1 -0
- package/dist/client/assets/login-DteE0ZGp.js +1 -0
- package/dist/client/assets/logo-pSNfLJQk.png +0 -0
- package/dist/client/assets/privacy-B_Pu7040.js +1 -0
- package/dist/client/assets/product-links-BkZ41Gv3.js +1 -0
- package/dist/client/assets/product._id-BVUysCW-.js +1 -0
- package/dist/client/assets/products.functions-cGzRziKO.js +1 -0
- package/dist/client/assets/profile-CveRcKq2.js +1 -0
- package/dist/client/assets/reset-password-ySEjItX_.js +1 -0
- package/dist/client/assets/saved-CHtdQDJF.js +1 -0
- package/dist/client/assets/search-CXWfET1y.js +1 -0
- package/dist/client/assets/signup-CEx90iuV.js +1 -0
- package/dist/client/assets/styles-DrNJG0BO.css +1 -0
- package/dist/client/assets/terms-VqJ9kX9b.js +1 -0
- package/dist/client/assets/update-password-C-d0ix5e.js +1 -0
- package/dist/client/assets/vendor-aria-hidden-DvXkyWUv.js +1 -0
- package/dist/client/assets/vendor-class-variance-authority-5VPnzWs2.js +1 -0
- package/dist/client/assets/vendor-clsx-B-dksMZM.js +1 -0
- package/dist/client/assets/vendor-cookie-es-CS0aJGDi.js +1 -0
- package/dist/client/assets/vendor-detect-node-es-l0sNRNKZ.js +1 -0
- package/dist/client/assets/vendor-floating-ui-core-BlUy28sp.js +1 -0
- package/dist/client/assets/vendor-floating-ui-dom-BxK0hn2R.js +1 -0
- package/dist/client/assets/vendor-floating-ui-react-dom-Bas3975S.js +1 -0
- package/dist/client/assets/vendor-floating-ui-utils-BfYUAVcw.js +1 -0
- package/dist/client/assets/vendor-framer-motion-BMdL-cuX.js +9 -0
- package/dist/client/assets/vendor-get-nonce-C-Z93AgS.js +1 -0
- package/dist/client/assets/vendor-iceberg-js-tWD4K6Lg.js +1 -0
- package/dist/client/assets/vendor-lovable.dev-cloud-auth-js-VuzqtJVg.js +1 -0
- package/dist/client/assets/vendor-lucide-react-b5K2fehp.js +1 -0
- package/dist/client/assets/vendor-motion-dom-BETJamZt.js +1 -0
- package/dist/client/assets/vendor-motion-utils-BuWewJbj.js +1 -0
- package/dist/client/assets/vendor-radix-ui-primitive-Dc_FVRD7.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-accordion-C22Rgxe9.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-arrow-DMHj2mKI.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-avatar-CVPBkFXg.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-collapsible-BvM-4sKX.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-collection-D9KtqmHm.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-compose-refs-Cvq0AS8Z.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-context-CAqqn5Nx.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-dialog-DZ01vOLq.js +5 -0
- package/dist/client/assets/vendor-radix-ui-react-direction-DxZwNuei.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-dismissable-layer-Dqgrs55Y.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-dropdown-menu-0uzvrqkn.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-focus-guards-DgWoZ-fP.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-focus-scope-BLIu5QaL.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-id-bpga_rLa.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-menu-D0qf2r6_.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-popper-BafIylxU.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-portal-BnAsfNCS.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-presence-C-f3UKQ2.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-primitive-zTHwXNoz.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-roving-focus-jyJB8K2E.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-slot-6LXHJrHl.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-callback-ref-E91aPc6s.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-controllable-state-Ca3eMtxa.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-effect-event-CPeX4A3c.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-escape-keydown-7n3YsXFo.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-is-hydrated-C1PY1qNv.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-layout-effect-B3AcGWPy.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-size-CXS04sct.js +1 -0
- package/dist/client/assets/vendor-react-dom-BnNs-kzm.js +9 -0
- package/dist/client/assets/vendor-react-gJPiVnX5.js +1 -0
- package/dist/client/assets/vendor-react-remove-scroll-DHKl-IMP.js +4 -0
- package/dist/client/assets/vendor-react-remove-scroll-bar-CSjdInc2.js +38 -0
- package/dist/client/assets/vendor-react-style-singleton-BqHpkgXn.js +1 -0
- package/dist/client/assets/vendor-scheduler-7OC5HNn7.js +1 -0
- package/dist/client/assets/vendor-seroval-B_Fur-nl.js +3 -0
- package/dist/client/assets/vendor-seroval-plugins-CBHnPkZJ.js +1 -0
- package/dist/client/assets/vendor-sonner-71-LdGG1.js +1 -0
- package/dist/client/assets/vendor-supabase-auth-js-DWrN-bIx.js +18 -0
- package/dist/client/assets/vendor-supabase-functions-js-uY_V-TxC.js +1 -0
- package/dist/client/assets/vendor-supabase-phoenix-BzEf37Ve.js +2 -0
- package/dist/client/assets/vendor-supabase-postgrest-js-C4rBWbCx.js +4 -0
- package/dist/client/assets/vendor-supabase-realtime-js-D6BlOYKE.js +23 -0
- package/dist/client/assets/vendor-supabase-storage-js-BG98L3Zz.js +1 -0
- package/dist/client/assets/vendor-supabase-supabase-js-DCCzdwBJ.js +1 -0
- package/dist/client/assets/vendor-tailwind-merge-Ct12j0u0.js +1 -0
- package/dist/client/assets/vendor-tanstack-history-C617CaxG.js +1 -0
- package/dist/client/assets/vendor-tanstack-query-core-7wuJJ5ZL.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-query-HImzo8sX.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-router-sIZLK-LU.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-start-client-GiYCfWmf.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-store-EvTi3ahh.js +1 -0
- package/dist/client/assets/vendor-tanstack-router-core-Cr7bYUZv.js +1 -0
- package/dist/client/assets/vendor-tanstack-start-client-core-C-00BBOu.js +2 -0
- package/dist/client/assets/vendor-tanstack-start-fn-stubs-l0sNRNKZ.js +1 -0
- package/dist/client/assets/vendor-tanstack-store-BC7mA7pq.js +1 -0
- package/dist/client/assets/vendor-tslib-Du-meQkk.js +1 -0
- package/dist/client/assets/vendor-use-callback-ref-C_fIAtot.js +1 -0
- package/dist/client/assets/vendor-use-sidecar-Bh0DDN6h.js +1 -0
- package/dist/client/assets/vendor-use-sync-external-store-ZvKHXaIn.js +1 -0
- package/dist/client/assets/vendor-vercel-analytics-DwPM5BWs.js +1 -0
- package/dist/client/assets/vendor-zod-By9teAtI.js +1 -0
- package/dist/client/robots.txt +2 -0
- package/dist/server/.dev.vars +5 -0
- package/dist/server/.vite/manifest.json +2528 -0
- package/dist/server/assets/ProductCard-CUPXy5Eo.js +149 -0
- package/dist/server/assets/_tanstack-start-manifest_v-do7vTWFD.js +4 -0
- package/dist/server/assets/about-TfKQw0Ga.js +28 -0
- package/dist/server/assets/admin-DspfJOJk.js +578 -0
- package/dist/server/assets/admin.functions-B78ppWLR.js +645 -0
- package/dist/server/assets/admin.functions-BWlKBoTL.js +93 -0
- package/dist/server/assets/admin.login-CV7QfeA6.js +139 -0
- package/dist/server/assets/affiliate-disclosure-B1wI1cDb.js +86 -0
- package/dist/server/assets/auth-middleware-Cn49MidW.js +62 -0
- package/dist/server/assets/categories-Z7jnAYZP.js +108 -0
- package/dist/server/assets/category._slug-D0XY3FGK.js +112 -0
- package/dist/server/assets/contact-IzyONsXs.js +104 -0
- package/dist/server/assets/faq-aRhB_CR3.js +133 -0
- package/dist/server/assets/hero-bg-BP2eVUIX.jpg +0 -0
- package/dist/server/assets/index-BTPHbXw9.js +221 -0
- package/dist/server/assets/index-ByJkHkrU.js +30 -0
- package/dist/server/assets/login-Dvy5Dm0f.js +175 -0
- package/dist/server/assets/logo-pSNfLJQk.png +0 -0
- package/dist/server/assets/privacy-B6Wiez1P.js +93 -0
- package/dist/server/assets/product-links-CGYEPP56.js +16 -0
- package/dist/server/assets/product._id-BpRa-1z0.js +231 -0
- package/dist/server/assets/products.functions-DSlmibYN.js +209 -0
- package/dist/server/assets/products.functions-DlHkRiqi.js +24 -0
- package/dist/server/assets/profile-B0NWzVAZ.js +314 -0
- package/dist/server/assets/reset-password-CY-rmqMr.js +115 -0
- package/dist/server/assets/saved-7FA6Dbom.js +126 -0
- package/dist/server/assets/search-Yw5c_fZa.js +329 -0
- package/dist/server/assets/signup-UPzgZo4i.js +143 -0
- package/dist/server/assets/styles-DrNJG0BO.css +1 -0
- package/dist/server/assets/terms-CMnX95bP.js +89 -0
- package/dist/server/assets/update-password-Cr94ea8n.js +131 -0
- package/dist/server/assets/vendor-aria-hidden-DPa16MWu.js +122 -0
- package/dist/server/assets/vendor-class-variance-authority-0YxJPB9Y.js +44 -0
- package/dist/server/assets/vendor-cloudflare-unenv-preset-ya0VEFBz.js +250 -0
- package/dist/server/assets/vendor-clsx-DgYk2OaC.js +16 -0
- package/dist/server/assets/vendor-cookie-es-DAoofYiI.js +44 -0
- package/dist/server/assets/vendor-detect-node-es-l0sNRNKZ.js +1 -0
- package/dist/server/assets/vendor-floating-ui-core-3tkK0THV.js +726 -0
- package/dist/server/assets/vendor-floating-ui-dom-C-cPtgJv.js +626 -0
- package/dist/server/assets/vendor-floating-ui-react-dom-CRG6gBpH.js +319 -0
- package/dist/server/assets/vendor-floating-ui-utils-DmXANH-E.js +320 -0
- package/dist/server/assets/vendor-framer-motion-X4zAkX3J.js +1979 -0
- package/dist/server/assets/vendor-get-nonce-DiSj3EHl.js +9 -0
- package/dist/server/assets/vendor-h3-v2-CCobnLY5.js +287 -0
- package/dist/server/assets/vendor-iceberg-js-bHCkXyJn.js +534 -0
- package/dist/server/assets/vendor-isbot-CZ7WjwVs.js +21 -0
- package/dist/server/assets/vendor-lovable.dev-cloud-auth-js-BE03njZw.js +180 -0
- package/dist/server/assets/vendor-lucide-react-Ddew6HYb.js +458 -0
- package/dist/server/assets/vendor-motion-dom-D2MTwGIG.js +5983 -0
- package/dist/server/assets/vendor-motion-utils-LJlIFN6m.js +161 -0
- package/dist/server/assets/vendor-radix-ui-primitive-B-mNdDrH.js +11 -0
- package/dist/server/assets/vendor-radix-ui-react-accordion-1Izf6x00.js +308 -0
- package/dist/server/assets/vendor-radix-ui-react-arrow-B882lnFK.js +23 -0
- package/dist/server/assets/vendor-radix-ui-react-avatar-BVgZt2Ab.js +209 -0
- package/dist/server/assets/vendor-radix-ui-react-collapsible-DCBbMZiS.js +147 -0
- package/dist/server/assets/vendor-radix-ui-react-collection-BZ2srfgU.js +150 -0
- package/dist/server/assets/vendor-radix-ui-react-compose-refs-D3qsKVk1.js +39 -0
- package/dist/server/assets/vendor-radix-ui-react-context-BVoNDLue.js +78 -0
- package/dist/server/assets/vendor-radix-ui-react-dialog-DlxMaNYK.js +406 -0
- package/dist/server/assets/vendor-radix-ui-react-direction-Dt_WDL1t.js +9 -0
- package/dist/server/assets/vendor-radix-ui-react-dismissable-layer-CjsuPohV.js +210 -0
- package/dist/server/assets/vendor-radix-ui-react-dropdown-menu-DVxKumY8.js +263 -0
- package/dist/server/assets/vendor-radix-ui-react-focus-guards-D_6NoePE.js +29 -0
- package/dist/server/assets/vendor-radix-ui-react-focus-scope-DEIhTJJH.js +206 -0
- package/dist/server/assets/vendor-radix-ui-react-id-DFFpgh6m.js +14 -0
- package/dist/server/assets/vendor-radix-ui-react-menu-CiTMLwjT.js +893 -0
- package/dist/server/assets/vendor-radix-ui-react-popper-23Ye2Vyc.js +286 -0
- package/dist/server/assets/vendor-radix-ui-react-portal-CZCH5uPk.js +16 -0
- package/dist/server/assets/vendor-radix-ui-react-presence-CaAULlDU.js +128 -0
- package/dist/server/assets/vendor-radix-ui-react-primitive-BeOk3UYa.js +124 -0
- package/dist/server/assets/vendor-radix-ui-react-roving-focus-DES9GR8l.js +224 -0
- package/dist/server/assets/vendor-radix-ui-react-slot-DUhZbzoH.js +103 -0
- package/dist/server/assets/vendor-radix-ui-react-use-callback-ref-BynBgohw.js +11 -0
- package/dist/server/assets/vendor-radix-ui-react-use-controllable-state-C9KpT6DG.js +69 -0
- package/dist/server/assets/vendor-radix-ui-react-use-effect-event-gpNY2xjS.js +1 -0
- package/dist/server/assets/vendor-radix-ui-react-use-escape-keydown-CcYRQ2pp.js +17 -0
- package/dist/server/assets/vendor-radix-ui-react-use-is-hydrated-D_LcBPXY.js +15 -0
- package/dist/server/assets/vendor-radix-ui-react-use-layout-effect-1LNLXAjr.js +6 -0
- package/dist/server/assets/vendor-radix-ui-react-use-size-D6fiKJQo.js +39 -0
- package/dist/server/assets/vendor-react-DvBrY0qp.js +511 -0
- package/dist/server/assets/vendor-react-dom-yvMLPM0j.js +10484 -0
- package/dist/server/assets/vendor-react-remove-scroll-BNtiEvVN.js +328 -0
- package/dist/server/assets/vendor-react-remove-scroll-bar-hLqRASRk.js +82 -0
- package/dist/server/assets/vendor-react-style-singleton-BXjcXskB.js +69 -0
- package/dist/server/assets/vendor-rou3-3NaGPdI8.js +8 -0
- package/dist/server/assets/vendor-seroval-dJyC-Zhz.js +1775 -0
- package/dist/server/assets/vendor-seroval-plugins-Pq_U2meB.js +58 -0
- package/dist/server/assets/vendor-sonner-CqbjhsRh.js +1086 -0
- package/dist/server/assets/vendor-srvx-BA-baEX9.js +6 -0
- package/dist/server/assets/vendor-supabase-auth-js-D4xjVprw.js +7602 -0
- package/dist/server/assets/vendor-supabase-functions-js-sWy4UYn1.js +322 -0
- package/dist/server/assets/vendor-supabase-phoenix-Bw3Uh2Nn.js +1777 -0
- package/dist/server/assets/vendor-supabase-postgrest-js-AO-BXa7I.js +4938 -0
- package/dist/server/assets/vendor-supabase-realtime-js-BtdNgJbm.js +2111 -0
- package/dist/server/assets/vendor-supabase-storage-js-Dk_MrPYO.js +2679 -0
- package/dist/server/assets/vendor-supabase-supabase-js-D1EEtG3j.js +697 -0
- package/dist/server/assets/vendor-tailwind-merge-BHb_obmC.js +3255 -0
- package/dist/server/assets/vendor-tanstack-history-C4pKJmkt.js +204 -0
- package/dist/server/assets/vendor-tanstack-query-core-PwwTR5ld.js +2552 -0
- package/dist/server/assets/vendor-tanstack-react-query-hhHzXAK1.js +190 -0
- package/dist/server/assets/vendor-tanstack-react-router-XzqpA65A.js +1120 -0
- package/dist/server/assets/vendor-tanstack-react-start-RvWUpvat.js +37 -0
- package/dist/server/assets/vendor-tanstack-react-start-client-gpNY2xjS.js +1 -0
- package/dist/server/assets/vendor-tanstack-react-start-server-uj_Y9pEN.js +15 -0
- package/dist/server/assets/vendor-tanstack-react-store-gpNY2xjS.js +1 -0
- package/dist/server/assets/vendor-tanstack-router-core-6wywV3KN.js +4252 -0
- package/dist/server/assets/vendor-tanstack-start-client-core-DoOKV2pA.js +1741 -0
- package/dist/server/assets/vendor-tanstack-start-fn-stubs-l0sNRNKZ.js +1 -0
- package/dist/server/assets/vendor-tanstack-start-server-core-CsAstXv7.js +1421 -0
- package/dist/server/assets/vendor-tanstack-start-storage-context-DgH9hIJT.js +17 -0
- package/dist/server/assets/vendor-tanstack-store-l0sNRNKZ.js +1 -0
- package/dist/server/assets/vendor-tslib-_8ICaZ64.js +67 -0
- package/dist/server/assets/vendor-unenv-DUvF4YIF.js +544 -0
- package/dist/server/assets/vendor-use-callback-ref-DMFDRvmi.js +66 -0
- package/dist/server/assets/vendor-use-sidecar-DG1tHua4.js +106 -0
- package/dist/server/assets/vendor-use-sync-external-store-rZ8vi0It.js +64 -0
- package/dist/server/assets/vendor-vercel-analytics-oP8BDp0L.js +168 -0
- package/dist/server/assets/vendor-zod-BRyQdbC-.js +3580 -0
- package/dist/server/index.js +158 -0
- package/dist/server/wrangler.json +1 -0
- package/enable-powershell.ps1 +7 -0
- package/eslint.config.js +41 -0
- package/lint.bat +4 -0
- package/package.json +95 -0
- package/public/robots.txt +2 -0
- package/run-npm-build.cjs +20 -0
- package/run-npm-build.js +20 -0
- package/src/assets/hero-bg.jpg +0 -0
- package/src/assets/logo.png +0 -0
- package/src/components/scrollsy/Footer.tsx +68 -0
- package/src/components/scrollsy/LiveTicker.tsx +31 -0
- package/src/components/scrollsy/Logo.tsx +28 -0
- package/src/components/scrollsy/Nav.tsx +255 -0
- package/src/components/scrollsy/ProductCard.tsx +190 -0
- package/src/components/scrollsy/ProductFilters.tsx +226 -0
- package/src/components/scrollsy/SupportWidget.tsx +197 -0
- package/src/components/ui/accordion.tsx +51 -0
- package/src/components/ui/alert-dialog.tsx +115 -0
- package/src/components/ui/alert.tsx +49 -0
- package/src/components/ui/aspect-ratio.tsx +5 -0
- package/src/components/ui/avatar.tsx +47 -0
- package/src/components/ui/badge.tsx +32 -0
- package/src/components/ui/breadcrumb.tsx +101 -0
- package/src/components/ui/button.tsx +49 -0
- package/src/components/ui/calendar.tsx +177 -0
- package/src/components/ui/card.tsx +55 -0
- package/src/components/ui/carousel.tsx +240 -0
- package/src/components/ui/chart.tsx +331 -0
- package/src/components/ui/checkbox.tsx +26 -0
- package/src/components/ui/collapsible.tsx +11 -0
- package/src/components/ui/command.tsx +143 -0
- package/src/components/ui/context-menu.tsx +187 -0
- package/src/components/ui/dialog.tsx +104 -0
- package/src/components/ui/drawer.tsx +98 -0
- package/src/components/ui/dropdown-menu.tsx +188 -0
- package/src/components/ui/form.tsx +171 -0
- package/src/components/ui/hover-card.tsx +27 -0
- package/src/components/ui/input-otp.tsx +69 -0
- package/src/components/ui/input.tsx +22 -0
- package/src/components/ui/label.tsx +21 -0
- package/src/components/ui/menubar.tsx +229 -0
- package/src/components/ui/navigation-menu.tsx +120 -0
- package/src/components/ui/pagination.tsx +98 -0
- package/src/components/ui/popover.tsx +31 -0
- package/src/components/ui/progress.tsx +25 -0
- package/src/components/ui/radio-group.tsx +36 -0
- package/src/components/ui/resizable.tsx +37 -0
- package/src/components/ui/scroll-area.tsx +44 -0
- package/src/components/ui/select.tsx +152 -0
- package/src/components/ui/separator.tsx +24 -0
- package/src/components/ui/sheet.tsx +122 -0
- package/src/components/ui/sidebar.tsx +744 -0
- package/src/components/ui/skeleton.tsx +7 -0
- package/src/components/ui/slider.tsx +23 -0
- package/src/components/ui/sonner.tsx +23 -0
- package/src/components/ui/switch.tsx +27 -0
- package/src/components/ui/table.tsx +94 -0
- package/src/components/ui/tabs.tsx +53 -0
- package/src/components/ui/textarea.tsx +21 -0
- package/src/components/ui/toggle-group.tsx +57 -0
- package/src/components/ui/toggle.tsx +42 -0
- package/src/components/ui/tooltip.tsx +32 -0
- package/src/hooks/use-auth.ts +26 -0
- package/src/hooks/use-mobile.tsx +19 -0
- package/src/integrations/lovable/index.ts +41 -0
- package/src/lib/admin.functions.ts +564 -0
- package/src/lib/error-capture.ts +27 -0
- package/src/lib/error-page.ts +30 -0
- package/src/lib/product-links.ts +39 -0
- package/src/lib/products.functions.ts +101 -0
- package/src/lib/utils.ts +6 -0
- package/src/routeTree.gen.ts +480 -0
- package/src/router.tsx +16 -0
- package/src/routes/__root.tsx +177 -0
- package/src/routes/about.tsx +66 -0
- package/src/routes/admin.login.tsx +95 -0
- package/src/routes/admin.tsx +811 -0
- package/src/routes/affiliate-disclosure.tsx +35 -0
- package/src/routes/categories.tsx +57 -0
- package/src/routes/category.$slug.tsx +51 -0
- package/src/routes/contact.tsx +69 -0
- package/src/routes/faq.tsx +63 -0
- package/src/routes/index.tsx +269 -0
- package/src/routes/login.tsx +160 -0
- package/src/routes/privacy.tsx +39 -0
- package/src/routes/product.$id.tsx +212 -0
- package/src/routes/profile.tsx +393 -0
- package/src/routes/reset-password.tsx +71 -0
- package/src/routes/saved.tsx +83 -0
- package/src/routes/search.tsx +136 -0
- package/src/routes/signup.tsx +108 -0
- package/src/routes/sitemap[.]xml.ts +34 -0
- package/src/routes/terms.tsx +40 -0
- package/src/routes/update-password.tsx +91 -0
- package/src/server.ts +80 -0
- package/src/start.ts +24 -0
- package/src/styles.css +333 -0
- package/terminal-test-output.txt +1 -0
- package/tsconfig.json +27 -0
- package/vercel.json +26 -0
- package/vite.config.ts +38 -0
- package/wrangler.jsonc +7 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { _ as _process } from "./assets/vendor-cloudflare-unenv-preset-ya0VEFBz.js";
|
|
2
|
+
import { r as renderErrorPage } from "./assets/vendor-tanstack-start-client-core-DoOKV2pA.js";
|
|
3
|
+
import "./assets/vendor-unenv-DUvF4YIF.js";
|
|
4
|
+
import "node:events";
|
|
5
|
+
import "./assets/vendor-tanstack-start-storage-context-DgH9hIJT.js";
|
|
6
|
+
import "node:async_hooks";
|
|
7
|
+
import "./assets/vendor-tanstack-router-core-6wywV3KN.js";
|
|
8
|
+
import "./assets/vendor-tanstack-history-C4pKJmkt.js";
|
|
9
|
+
import "./assets/vendor-seroval-dJyC-Zhz.js";
|
|
10
|
+
import "./assets/vendor-seroval-plugins-Pq_U2meB.js";
|
|
11
|
+
import "./assets/vendor-cookie-es-DAoofYiI.js";
|
|
12
|
+
import "node:stream/web";
|
|
13
|
+
import "node:stream";
|
|
14
|
+
import "./assets/vendor-tanstack-react-router-XzqpA65A.js";
|
|
15
|
+
import "./assets/vendor-react-DvBrY0qp.js";
|
|
16
|
+
import "./assets/vendor-react-dom-yvMLPM0j.js";
|
|
17
|
+
import "./assets/vendor-isbot-CZ7WjwVs.js";
|
|
18
|
+
import "./assets/vendor-tanstack-react-query-hhHzXAK1.js";
|
|
19
|
+
import "./assets/vendor-tanstack-query-core-PwwTR5ld.js";
|
|
20
|
+
import "./assets/vendor-vercel-analytics-oP8BDp0L.js";
|
|
21
|
+
import "./assets/vendor-radix-ui-react-dropdown-menu-DVxKumY8.js";
|
|
22
|
+
import "./assets/vendor-radix-ui-primitive-B-mNdDrH.js";
|
|
23
|
+
import "./assets/vendor-radix-ui-react-compose-refs-D3qsKVk1.js";
|
|
24
|
+
import "./assets/vendor-radix-ui-react-context-BVoNDLue.js";
|
|
25
|
+
import "./assets/vendor-radix-ui-react-use-controllable-state-C9KpT6DG.js";
|
|
26
|
+
import "./assets/vendor-radix-ui-react-use-layout-effect-1LNLXAjr.js";
|
|
27
|
+
import "./assets/vendor-radix-ui-react-primitive-BeOk3UYa.js";
|
|
28
|
+
import "./assets/vendor-radix-ui-react-menu-CiTMLwjT.js";
|
|
29
|
+
import "./assets/vendor-radix-ui-react-collection-BZ2srfgU.js";
|
|
30
|
+
import "./assets/vendor-radix-ui-react-direction-Dt_WDL1t.js";
|
|
31
|
+
import "./assets/vendor-radix-ui-react-dismissable-layer-CjsuPohV.js";
|
|
32
|
+
import "./assets/vendor-radix-ui-react-use-callback-ref-BynBgohw.js";
|
|
33
|
+
import "./assets/vendor-radix-ui-react-use-escape-keydown-CcYRQ2pp.js";
|
|
34
|
+
import "./assets/vendor-radix-ui-react-focus-guards-D_6NoePE.js";
|
|
35
|
+
import "./assets/vendor-radix-ui-react-focus-scope-DEIhTJJH.js";
|
|
36
|
+
import "./assets/vendor-radix-ui-react-popper-23Ye2Vyc.js";
|
|
37
|
+
import "./assets/vendor-floating-ui-react-dom-CRG6gBpH.js";
|
|
38
|
+
import "./assets/vendor-floating-ui-dom-C-cPtgJv.js";
|
|
39
|
+
import "./assets/vendor-floating-ui-core-3tkK0THV.js";
|
|
40
|
+
import "./assets/vendor-floating-ui-utils-DmXANH-E.js";
|
|
41
|
+
import "./assets/vendor-radix-ui-react-arrow-B882lnFK.js";
|
|
42
|
+
import "./assets/vendor-radix-ui-react-use-size-D6fiKJQo.js";
|
|
43
|
+
import "./assets/vendor-radix-ui-react-portal-CZCH5uPk.js";
|
|
44
|
+
import "./assets/vendor-radix-ui-react-presence-CaAULlDU.js";
|
|
45
|
+
import "./assets/vendor-radix-ui-react-roving-focus-DES9GR8l.js";
|
|
46
|
+
import "./assets/vendor-radix-ui-react-id-DFFpgh6m.js";
|
|
47
|
+
import "./assets/vendor-aria-hidden-DPa16MWu.js";
|
|
48
|
+
import "./assets/vendor-react-remove-scroll-BNtiEvVN.js";
|
|
49
|
+
import "./assets/vendor-tslib-_8ICaZ64.js";
|
|
50
|
+
import "./assets/vendor-react-remove-scroll-bar-hLqRASRk.js";
|
|
51
|
+
import "./assets/vendor-react-style-singleton-BXjcXskB.js";
|
|
52
|
+
import "./assets/vendor-get-nonce-DiSj3EHl.js";
|
|
53
|
+
import "./assets/vendor-use-sidecar-DG1tHua4.js";
|
|
54
|
+
import "./assets/vendor-use-callback-ref-DMFDRvmi.js";
|
|
55
|
+
import "./assets/vendor-clsx-DgYk2OaC.js";
|
|
56
|
+
import "./assets/vendor-tailwind-merge-BHb_obmC.js";
|
|
57
|
+
import "./assets/vendor-lucide-react-Ddew6HYb.js";
|
|
58
|
+
import "./assets/vendor-radix-ui-react-avatar-BVgZt2Ab.js";
|
|
59
|
+
import "./assets/vendor-radix-ui-react-slot-DUhZbzoH.js";
|
|
60
|
+
import "./assets/vendor-radix-ui-react-use-is-hydrated-D_LcBPXY.js";
|
|
61
|
+
import "./assets/vendor-use-sync-external-store-rZ8vi0It.js";
|
|
62
|
+
import "./assets/vendor-class-variance-authority-0YxJPB9Y.js";
|
|
63
|
+
import "./assets/vendor-radix-ui-react-dialog-DlxMaNYK.js";
|
|
64
|
+
import "./assets/vendor-framer-motion-X4zAkX3J.js";
|
|
65
|
+
import "./assets/vendor-motion-dom-D2MTwGIG.js";
|
|
66
|
+
import "./assets/vendor-motion-utils-LJlIFN6m.js";
|
|
67
|
+
import "./assets/vendor-sonner-CqbjhsRh.js";
|
|
68
|
+
import "./assets/vendor-zod-BRyQdbC-.js";
|
|
69
|
+
import "./assets/vendor-supabase-supabase-js-D1EEtG3j.js";
|
|
70
|
+
import "./assets/vendor-supabase-postgrest-js-AO-BXa7I.js";
|
|
71
|
+
import "./assets/vendor-supabase-realtime-js-BtdNgJbm.js";
|
|
72
|
+
import "./assets/vendor-supabase-phoenix-Bw3Uh2Nn.js";
|
|
73
|
+
import "./assets/vendor-supabase-storage-js-Dk_MrPYO.js";
|
|
74
|
+
import "./assets/vendor-iceberg-js-bHCkXyJn.js";
|
|
75
|
+
import "./assets/vendor-supabase-auth-js-D4xjVprw.js";
|
|
76
|
+
import "./assets/vendor-supabase-functions-js-sWy4UYn1.js";
|
|
77
|
+
globalThis.process = _process;
|
|
78
|
+
let lastCapturedError;
|
|
79
|
+
const TTL_MS = 5e3;
|
|
80
|
+
function record(error) {
|
|
81
|
+
lastCapturedError = { error, at: Date.now() };
|
|
82
|
+
}
|
|
83
|
+
if (typeof globalThis.addEventListener === "function") {
|
|
84
|
+
globalThis.addEventListener("error", (event) => record(event.error ?? event));
|
|
85
|
+
globalThis.addEventListener(
|
|
86
|
+
"unhandledrejection",
|
|
87
|
+
(event) => record(event.reason)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
function consumeLastCapturedError() {
|
|
91
|
+
if (!lastCapturedError) return void 0;
|
|
92
|
+
if (Date.now() - lastCapturedError.at > TTL_MS) {
|
|
93
|
+
lastCapturedError = void 0;
|
|
94
|
+
return void 0;
|
|
95
|
+
}
|
|
96
|
+
const { error } = lastCapturedError;
|
|
97
|
+
lastCapturedError = void 0;
|
|
98
|
+
return error;
|
|
99
|
+
}
|
|
100
|
+
let serverEntryPromise;
|
|
101
|
+
async function getServerEntry() {
|
|
102
|
+
if (!serverEntryPromise) {
|
|
103
|
+
serverEntryPromise = import("./assets/vendor-tanstack-react-start-RvWUpvat.js").then((n) => n.s).then(
|
|
104
|
+
(m) => m.default ?? m
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
return serverEntryPromise;
|
|
108
|
+
}
|
|
109
|
+
function brandedErrorResponse() {
|
|
110
|
+
return new Response(renderErrorPage(), {
|
|
111
|
+
status: 500,
|
|
112
|
+
headers: { "content-type": "text/html; charset=utf-8" }
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function isCatastrophicSsrErrorBody(body, responseStatus) {
|
|
116
|
+
let payload;
|
|
117
|
+
try {
|
|
118
|
+
payload = JSON.parse(body);
|
|
119
|
+
} catch {
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
122
|
+
if (!payload || Array.isArray(payload) || typeof payload !== "object") {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
const fields = payload;
|
|
126
|
+
const expectedKeys = /* @__PURE__ */ new Set(["message", "status", "unhandled"]);
|
|
127
|
+
if (!Object.keys(fields).every((key) => expectedKeys.has(key))) {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
return fields.unhandled === true && fields.message === "HTTPError" && (fields.status === void 0 || fields.status === responseStatus);
|
|
131
|
+
}
|
|
132
|
+
async function normalizeCatastrophicSsrResponse(response) {
|
|
133
|
+
if (response.status < 500) return response;
|
|
134
|
+
const contentType = response.headers.get("content-type") ?? "";
|
|
135
|
+
if (!contentType.includes("application/json")) return response;
|
|
136
|
+
const body = await response.clone().text();
|
|
137
|
+
if (!isCatastrophicSsrErrorBody(body, response.status)) {
|
|
138
|
+
return response;
|
|
139
|
+
}
|
|
140
|
+
console.error(consumeLastCapturedError() ?? new Error(`h3 swallowed SSR error: ${body}`));
|
|
141
|
+
return brandedErrorResponse();
|
|
142
|
+
}
|
|
143
|
+
const server = {
|
|
144
|
+
async fetch(request, env, ctx) {
|
|
145
|
+
try {
|
|
146
|
+
const handler = await getServerEntry();
|
|
147
|
+
const response = await handler.fetch(request, env, ctx);
|
|
148
|
+
return await normalizeCatastrophicSsrResponse(response);
|
|
149
|
+
} catch (error) {
|
|
150
|
+
console.error(error);
|
|
151
|
+
return brandedErrorResponse();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
const workerEntry = server ?? {};
|
|
156
|
+
export {
|
|
157
|
+
workerEntry as default
|
|
158
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"configPath":"C:\\SCROLLSY WEB\\scrollsy-discover-deals\\wrangler.jsonc","userConfigPath":"C:\\SCROLLSY WEB\\scrollsy-discover-deals\\wrangler.jsonc","topLevelName":"tanstack-start-app","definedEnvironments":[],"legacy_env":true,"compatibility_date":"2025-09-24","compatibility_flags":["nodejs_compat"],"jsx_factory":"React.createElement","jsx_fragment":"React.Fragment","rules":[{"type":"ESModule","globs":["**/*.js","**/*.mjs"]}],"name":"tanstack-start-app","main":"index.js","triggers":{},"assets":{"directory":"../client"},"vars":{},"durable_objects":{"bindings":[]},"workflows":[],"migrations":[],"kv_namespaces":[],"cloudchamber":{},"send_email":[],"queues":{"producers":[],"consumers":[]},"r2_buckets":[],"d1_databases":[],"vectorize":[],"ai_search_namespaces":[],"ai_search":[],"hyperdrive":[],"services":[],"analytics_engine_datasets":[],"dispatch_namespaces":[],"mtls_certificates":[],"pipelines":[],"secrets_store_secrets":[],"artifacts":[],"unsafe_hello_world":[],"flagship":[],"worker_loaders":[],"ratelimits":[],"vpc_services":[],"vpc_networks":[],"logfwdr":{"bindings":[]},"python_modules":{"exclude":["**/*.pyc"]},"dev":{"ip":"127.0.0.1","local_protocol":"http","upstream_protocol":"http","enable_containers":true,"generate_types":false},"no_bundle":true}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# This file enables PowerShell to run npm commands without execution policy errors
|
|
2
|
+
# Usage: Run this once as Administrator or add to your PowerShell profile
|
|
3
|
+
|
|
4
|
+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
|
|
5
|
+
|
|
6
|
+
Write-Host "PowerShell execution policy updated successfully!" -ForegroundColor Green
|
|
7
|
+
Write-Host "You can now run: npm run vercel-build, npm run dev, etc." -ForegroundColor Green
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import js from "@eslint/js";
|
|
2
|
+
import eslintPluginPrettier from "eslint-plugin-prettier/recommended";
|
|
3
|
+
import globals from "globals";
|
|
4
|
+
import reactHooks from "eslint-plugin-react-hooks";
|
|
5
|
+
import reactRefresh from "eslint-plugin-react-refresh";
|
|
6
|
+
import tseslint from "typescript-eslint";
|
|
7
|
+
|
|
8
|
+
export default tseslint.config(
|
|
9
|
+
{ ignores: ["dist", ".output", ".vinxi"] },
|
|
10
|
+
{
|
|
11
|
+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
12
|
+
files: ["**/*.{ts,tsx}"],
|
|
13
|
+
languageOptions: {
|
|
14
|
+
ecmaVersion: 2020,
|
|
15
|
+
globals: globals.browser,
|
|
16
|
+
},
|
|
17
|
+
plugins: {
|
|
18
|
+
"react-hooks": reactHooks,
|
|
19
|
+
"react-refresh": reactRefresh,
|
|
20
|
+
},
|
|
21
|
+
rules: {
|
|
22
|
+
...reactHooks.configs.recommended.rules,
|
|
23
|
+
"no-restricted-imports": [
|
|
24
|
+
"error",
|
|
25
|
+
{
|
|
26
|
+
paths: [
|
|
27
|
+
{
|
|
28
|
+
name: "server-only",
|
|
29
|
+
message:
|
|
30
|
+
"TanStack Start does not use the Next.js `server-only` package. Rename the module to `*.server.ts` or mark it with `@tanstack/react-start/server-only`.",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
"react-refresh/only-export-components": "off",
|
|
36
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
37
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
eslintPluginPrettier,
|
|
41
|
+
);
|
package/lint.bat
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tanstack_start_ts",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "vite",
|
|
9
|
+
"build": "vite build",
|
|
10
|
+
"vercel-build": "npm run build",
|
|
11
|
+
"preview": "vite preview",
|
|
12
|
+
"lint": "eslint . --config eslint.config.js",
|
|
13
|
+
"format": "prettier --write ."
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@cloudflare/vite-plugin": "^1.25.5",
|
|
17
|
+
"@hookform/resolvers": "^5.2.2",
|
|
18
|
+
"@lovable.dev/cloud-auth-js": "^1.1.2",
|
|
19
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
20
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
21
|
+
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
22
|
+
"@radix-ui/react-avatar": "^1.1.11",
|
|
23
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
24
|
+
"@radix-ui/react-collapsible": "^1.1.12",
|
|
25
|
+
"@radix-ui/react-context-menu": "^2.2.16",
|
|
26
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
27
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
28
|
+
"@radix-ui/react-hover-card": "^1.1.15",
|
|
29
|
+
"@radix-ui/react-label": "^2.1.8",
|
|
30
|
+
"@radix-ui/react-menubar": "^1.1.16",
|
|
31
|
+
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
32
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
33
|
+
"@radix-ui/react-progress": "^1.1.8",
|
|
34
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
35
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
36
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
37
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
38
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
39
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
40
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
41
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
42
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
43
|
+
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
44
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
45
|
+
"@supabase/supabase-js": "^2.106.0",
|
|
46
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
47
|
+
"@tanstack/react-query": "^5.83.0",
|
|
48
|
+
"@tanstack/react-router": "^1.168.25",
|
|
49
|
+
"@tanstack/react-start": "^1.167.50",
|
|
50
|
+
"@tanstack/router-plugin": "^1.167.28",
|
|
51
|
+
"@vercel/analytics": "^2.0.1",
|
|
52
|
+
"class-variance-authority": "^0.7.1",
|
|
53
|
+
"clsx": "^2.1.1",
|
|
54
|
+
"cmdk": "^1.1.1",
|
|
55
|
+
"date-fns": "^4.1.0",
|
|
56
|
+
"embla-carousel-react": "^8.6.0",
|
|
57
|
+
"framer-motion": "^12.40.0",
|
|
58
|
+
"input-otp": "^1.4.2",
|
|
59
|
+
"lucide-react": "^0.575.0",
|
|
60
|
+
"react": "^19.2.0",
|
|
61
|
+
"react-day-picker": "^9.14.0",
|
|
62
|
+
"react-dom": "^19.2.0",
|
|
63
|
+
"react-hook-form": "^7.71.2",
|
|
64
|
+
"react-resizable-panels": "^4.6.5",
|
|
65
|
+
"react-router": "^6.17.0",
|
|
66
|
+
"react-router-dom": "^6.17.0",
|
|
67
|
+
"recharts": "^2.15.4",
|
|
68
|
+
"sonner": "^2.0.7",
|
|
69
|
+
"tailwind-merge": "^3.5.0",
|
|
70
|
+
"tailwindcss": "^4.2.1",
|
|
71
|
+
"tw-animate-css": "^1.3.4",
|
|
72
|
+
"vaul": "^1.1.2",
|
|
73
|
+
"vite-tsconfig-paths": "^6.0.2",
|
|
74
|
+
"workflow": "^4.4.0",
|
|
75
|
+
"zod": "^3.24.2"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@eslint/js": "^9.32.0",
|
|
79
|
+
"@lovable.dev/vite-tanstack-config": "^2.4.0",
|
|
80
|
+
"@types/node": "^22.16.5",
|
|
81
|
+
"@types/react": "^19.2.0",
|
|
82
|
+
"@types/react-dom": "^19.2.0",
|
|
83
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
84
|
+
"eslint": "^9.32.0",
|
|
85
|
+
"eslint-config-prettier": "^10.1.1",
|
|
86
|
+
"eslint-plugin-prettier": "^5.2.6",
|
|
87
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
88
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
89
|
+
"globals": "^15.15.0",
|
|
90
|
+
"prettier": "^3.7.3",
|
|
91
|
+
"typescript": "^5.8.3",
|
|
92
|
+
"typescript-eslint": "^8.56.1",
|
|
93
|
+
"vite": "^8.0.16"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const { execSync } = require("child_process");
|
|
2
|
+
const fs = require("fs");
|
|
3
|
+
const log = "c:/SCROLLSY WEB/scrollsy-discover-deals/npm-build-log.txt";
|
|
4
|
+
try {
|
|
5
|
+
const out = execSync(
|
|
6
|
+
'cd /d "c:\\SCROLLSY WEB\\scrollsy-discover-deals" && npm install && npm run build',
|
|
7
|
+
{
|
|
8
|
+
stdio: "pipe",
|
|
9
|
+
encoding: "utf8",
|
|
10
|
+
},
|
|
11
|
+
);
|
|
12
|
+
fs.writeFileSync(log, out);
|
|
13
|
+
console.log("SUCCESS");
|
|
14
|
+
} catch (e) {
|
|
15
|
+
const stderr = e.stderr || "";
|
|
16
|
+
const stdout = e.stdout || "";
|
|
17
|
+
fs.writeFileSync(log, stdout + "\n" + stderr + "\n" + e.stack);
|
|
18
|
+
console.log("FAIL");
|
|
19
|
+
process.exit(1);
|
|
20
|
+
}
|
package/run-npm-build.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const { execSync } = require("child_process");
|
|
2
|
+
const fs = require("fs");
|
|
3
|
+
const log = "c:/SCROLLSY WEB/scrollsy-discover-deals/npm-build-log.txt";
|
|
4
|
+
try {
|
|
5
|
+
const out = execSync(
|
|
6
|
+
'cd /d "c:\\SCROLLSY WEB\\scrollsy-discover-deals" && npm install && npm run build',
|
|
7
|
+
{
|
|
8
|
+
stdio: "pipe",
|
|
9
|
+
encoding: "utf8",
|
|
10
|
+
},
|
|
11
|
+
);
|
|
12
|
+
fs.writeFileSync(log, out);
|
|
13
|
+
console.log("SUCCESS");
|
|
14
|
+
} catch (e) {
|
|
15
|
+
const stderr = e.stderr || "";
|
|
16
|
+
const stdout = e.stdout || "";
|
|
17
|
+
fs.writeFileSync(log, stdout + "\n" + stderr + "\n" + e.stack);
|
|
18
|
+
console.log("FAIL");
|
|
19
|
+
process.exit(1);
|
|
20
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Link } from "@tanstack/react-router";
|
|
2
|
+
import { Logo } from "./Logo";
|
|
3
|
+
|
|
4
|
+
const cols = [
|
|
5
|
+
{
|
|
6
|
+
title: "Discover",
|
|
7
|
+
links: [
|
|
8
|
+
{ to: "/", label: "Home" },
|
|
9
|
+
{ to: "/categories", label: "Categories" },
|
|
10
|
+
{ to: "/search", label: "Search" },
|
|
11
|
+
{ to: "/saved", label: "Saved" },
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: "Company",
|
|
16
|
+
links: [
|
|
17
|
+
{ to: "/about", label: "About" },
|
|
18
|
+
{ to: "/contact", label: "Contact" },
|
|
19
|
+
{ to: "/faq", label: "FAQ" },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
title: "Legal",
|
|
24
|
+
links: [
|
|
25
|
+
{ to: "/privacy", label: "Privacy" },
|
|
26
|
+
{ to: "/terms", label: "Terms" },
|
|
27
|
+
{ to: "/affiliate-disclosure", label: "Affiliate Disclosure" },
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
] as const;
|
|
31
|
+
|
|
32
|
+
export function Footer() {
|
|
33
|
+
return (
|
|
34
|
+
<footer className="mt-24 border-t border-white/5 px-4">
|
|
35
|
+
<div className="max-w-7xl mx-auto py-14 grid grid-cols-2 md:grid-cols-4 gap-10">
|
|
36
|
+
<div className="col-span-2 md:col-span-1">
|
|
37
|
+
<Logo />
|
|
38
|
+
<p className="text-sm text-muted-foreground mt-4 max-w-xs">
|
|
39
|
+
Scroll. Discover. Save. The visual marketplace of the internet's hidden gems.
|
|
40
|
+
</p>
|
|
41
|
+
</div>
|
|
42
|
+
{cols.map((c) => (
|
|
43
|
+
<div key={c.title}>
|
|
44
|
+
<h4 className="text-sm font-semibold mb-3">{c.title}</h4>
|
|
45
|
+
<ul className="space-y-2">
|
|
46
|
+
{c.links.map((l) => (
|
|
47
|
+
<li key={l.to}>
|
|
48
|
+
<Link
|
|
49
|
+
to={l.to}
|
|
50
|
+
className="text-sm text-muted-foreground hover:text-foreground transition"
|
|
51
|
+
>
|
|
52
|
+
{l.label}
|
|
53
|
+
</Link>
|
|
54
|
+
</li>
|
|
55
|
+
))}
|
|
56
|
+
</ul>
|
|
57
|
+
</div>
|
|
58
|
+
))}
|
|
59
|
+
</div>
|
|
60
|
+
<div className="max-w-7xl mx-auto pb-8 text-xs text-muted-foreground flex flex-wrap justify-between gap-3">
|
|
61
|
+
<span>© {new Date().getFullYear()} Scrollsy. All rights reserved.</span>
|
|
62
|
+
<span className="opacity-80">
|
|
63
|
+
Scrollsy may earn commissions from purchases made through affiliate links.
|
|
64
|
+
</span>
|
|
65
|
+
</div>
|
|
66
|
+
</footer>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
import { Eye, ShoppingBag } from "lucide-react";
|
|
3
|
+
|
|
4
|
+
const items = [
|
|
5
|
+
"Mia just grabbed the Galaxy Projector",
|
|
6
|
+
"13,420 people viewing finds right now",
|
|
7
|
+
"Jordan saved the Levitating Moon Lamp",
|
|
8
|
+
"Aria scored the Wireless Earbuds X1",
|
|
9
|
+
"Sam claimed the Aurora LED Strip deal",
|
|
10
|
+
"9,870 deals viewed in the last hour",
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
export function LiveTicker() {
|
|
14
|
+
const [i, setI] = useState(0);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
const t = setInterval(() => setI((p) => (p + 1) % items.length), 3500);
|
|
17
|
+
return () => clearInterval(t);
|
|
18
|
+
}, []);
|
|
19
|
+
return (
|
|
20
|
+
<div className="glass-strong rounded-full px-4 py-2 inline-flex items-center gap-2 text-xs font-medium animate-pulse-glow">
|
|
21
|
+
<span className="relative flex h-2 w-2">
|
|
22
|
+
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-brand-magenta opacity-75"></span>
|
|
23
|
+
<span className="relative inline-flex rounded-full h-2 w-2 bg-brand-magenta"></span>
|
|
24
|
+
</span>
|
|
25
|
+
{i % 2 === 0 ? <ShoppingBag className="w-3.5 h-3.5" /> : <Eye className="w-3.5 h-3.5" />}
|
|
26
|
+
<span className="animate-fade-up" key={i}>
|
|
27
|
+
{items[i]}
|
|
28
|
+
</span>
|
|
29
|
+
</div>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import logo from "@/assets/logo.png";
|
|
2
|
+
import { Link } from "@tanstack/react-router";
|
|
3
|
+
|
|
4
|
+
export function Logo({
|
|
5
|
+
size = 32,
|
|
6
|
+
withWordmark = true,
|
|
7
|
+
}: {
|
|
8
|
+
size?: number;
|
|
9
|
+
withWordmark?: boolean;
|
|
10
|
+
}) {
|
|
11
|
+
return (
|
|
12
|
+
<Link to="/" className="flex items-center gap-2 group">
|
|
13
|
+
<img
|
|
14
|
+
src={logo}
|
|
15
|
+
alt="Scrollsy logo"
|
|
16
|
+
width={size}
|
|
17
|
+
height={size}
|
|
18
|
+
className="drop-shadow-[0_0_12px_rgba(232,67,147,0.45)] transition-transform group-hover:rotate-[-8deg]"
|
|
19
|
+
style={{ width: size, height: size }}
|
|
20
|
+
/>
|
|
21
|
+
{withWordmark && (
|
|
22
|
+
<span className="font-display font-bold text-xl tracking-tight">
|
|
23
|
+
<span className="text-gradient">Scrollsy</span>
|
|
24
|
+
</span>
|
|
25
|
+
)}
|
|
26
|
+
</Link>
|
|
27
|
+
);
|
|
28
|
+
}
|