ui-landing-page 6.1.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/.eslintrc.js +3 -0
- package/.storybook/main.ts +34 -0
- package/.storybook/preview.tsx +23 -0
- package/BUNDLE_ANALYSIS.md +111 -0
- package/CODE_SPLITTING_SUMMARY.md +278 -0
- package/ENTRY_POINTS.md +77 -0
- package/ENTRY_POINTS_REFERENCE.md +479 -0
- package/FINAL_ANALYSIS.md +296 -0
- package/QUICK_START.md +78 -0
- package/analyze-bundle.js +46 -0
- package/assets/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/assets/fonts/amstirdam/SVN-Amstirdam.otf +0 -0
- package/assets/fonts/androgyne/SVN-Androgyne.woff +0 -0
- package/assets/fonts/androgyne/SVN-Androgyne.woff2 +0 -0
- package/assets/fonts/antiqua/SVN-BookAntiqua.woff +0 -0
- package/assets/fonts/antiqua/SVN-BookAntiqua.woff2 +0 -0
- package/assets/fonts/desire/SVN-Desire.otf +0 -0
- package/assets/fonts/elle-gabor/Elle Gabor Std Black.otf +0 -0
- package/assets/fonts/elle-gabor/Elle Gabor Std DemiBold.otf +0 -0
- package/assets/fonts/elle-gabor/Elle Gabor Std Text.otf +0 -0
- package/assets/fonts/elle-gabor/Elle Gabor Std Ultra Light.otf +0 -0
- package/assets/fonts/elle-gabor/Elle-Gabor-Std-Bold.otf +0 -0
- package/assets/fonts/elle-gabor/Elle-Gabor-Std-Book.otf +0 -0
- package/assets/fonts/elle-gabor/Elle-Gabor-Std-Light.otf +0 -0
- package/assets/fonts/elle-gabor/Elle-Gabor-Std-Medium.otf +0 -0
- package/assets/fonts/god-word/god-word-bold.ttf +0 -0
- package/assets/fonts/god-word/god-word-regular.ttf +0 -0
- package/assets/fonts/lost-type/LostType2023-Regular.otf +0 -0
- package/assets/fonts/neurial-grotesk/NeurialGrotesk-Medium.otf +0 -0
- package/assets/fonts/qua-tang-quoc-hoi/SFUAGBuchStencilBQMedium.ttf +0 -0
- package/assets/fonts/qua-tang-quoc-hoi/SVN-Sunflora.otf +0 -0
- package/assets/fonts/stix/STIXTwoText-Bold.ttf +0 -0
- package/assets/fonts/stix/STIXTwoText-BoldItalic.ttf +0 -0
- package/assets/fonts/stix/STIXTwoText-Italic.ttf +0 -0
- package/assets/fonts/stix/STIXTwoText-Medium.ttf +0 -0
- package/assets/fonts/stix/STIXTwoText-MediumItalic.ttf +0 -0
- package/assets/fonts/stix/STIXTwoText-Regular.ttf +0 -0
- package/assets/fonts/stix/STIXTwoText-SemiBold.ttf +0 -0
- package/assets/fonts/stix/STIXTwoText-SemiBoldItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-Black.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-BlackItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-Bold.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-BoldItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-ExtraBold.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-ExtraBoldItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-ExtraLight.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-ExtraLightItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-Italic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-Light.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-LightItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-Medium.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-MediumItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-Regular.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-SemiBold.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-SemiBoldItalic.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-Thin.ttf +0 -0
- package/assets/fonts/svn-poppins/SVN-Poppins-ThinItalic.ttf +0 -0
- package/assets/fonts/zapfino/Zapfino.ttf +0 -0
- package/assets/images/index.ts +2 -0
- package/assets/images/nomion-logo.png +0 -0
- package/bun.lock +2062 -0
- package/check-deps.sh +45 -0
- package/create-entry-points.sh +22 -0
- package/device.min.css +2531 -0
- package/dist/advance-profile-section.cjs +2 -0
- package/dist/advance-profile-section.cjs.map +1 -0
- package/dist/advance-profile-section.d.mts +28 -0
- package/dist/advance-profile-section.d.ts +28 -0
- package/dist/advance-profile-section.js +2 -0
- package/dist/advance-profile-section.js.map +1 -0
- package/dist/author-section.cjs +2 -0
- package/dist/author-section.cjs.map +1 -0
- package/dist/author-section.d.mts +9 -0
- package/dist/author-section.d.ts +9 -0
- package/dist/author-section.js +2 -0
- package/dist/author-section.js.map +1 -0
- package/dist/b-e-d-i-page-section.cjs +2 -0
- package/dist/b-e-d-i-page-section.cjs.map +1 -0
- package/dist/b-e-d-i-page-section.d.mts +55 -0
- package/dist/b-e-d-i-page-section.d.ts +55 -0
- package/dist/b-e-d-i-page-section.js +2 -0
- package/dist/b-e-d-i-page-section.js.map +1 -0
- package/dist/bao-ngay-nay2025-section.cjs +2 -0
- package/dist/bao-ngay-nay2025-section.cjs.map +1 -0
- package/dist/bao-ngay-nay2025-section.d.mts +13 -0
- package/dist/bao-ngay-nay2025-section.d.ts +13 -0
- package/dist/bao-ngay-nay2025-section.js +2 -0
- package/dist/bao-ngay-nay2025-section.js.map +1 -0
- package/dist/base-D6OB46M7.d.mts +23 -0
- package/dist/base-D6OB46M7.d.ts +23 -0
- package/dist/base-section-DdIGFWTn.d.mts +25 -0
- package/dist/base-section-DdIGFWTn.d.ts +25 -0
- package/dist/biz-card-profile-section.cjs +2 -0
- package/dist/biz-card-profile-section.cjs.map +1 -0
- package/dist/biz-card-profile-section.d.mts +37 -0
- package/dist/biz-card-profile-section.d.ts +37 -0
- package/dist/biz-card-profile-section.js +2 -0
- package/dist/biz-card-profile-section.js.map +1 -0
- package/dist/book-section.cjs +2 -0
- package/dist/book-section.cjs.map +1 -0
- package/dist/book-section.d.mts +17 -0
- package/dist/book-section.d.ts +17 -0
- package/dist/book-section.js +2 -0
- package/dist/book-section.js.map +1 -0
- package/dist/business-card-section.cjs +2 -0
- package/dist/business-card-section.cjs.map +1 -0
- package/dist/business-card-section.d.mts +37 -0
- package/dist/business-card-section.d.ts +37 -0
- package/dist/business-card-section.js +2 -0
- package/dist/business-card-section.js.map +1 -0
- package/dist/christmas.cjs +2 -0
- package/dist/christmas.cjs.map +1 -0
- package/dist/christmas.d.mts +25 -0
- package/dist/christmas.d.ts +25 -0
- package/dist/christmas.js +2 -0
- package/dist/christmas.js.map +1 -0
- package/dist/chunk-2EZHNKDS.cjs +2 -0
- package/dist/chunk-2EZHNKDS.cjs.map +1 -0
- package/dist/chunk-2L3LGNFN.cjs +2 -0
- package/dist/chunk-2L3LGNFN.cjs.map +1 -0
- package/dist/chunk-2TKQPATQ.cjs +3 -0
- package/dist/chunk-2TKQPATQ.cjs.map +1 -0
- package/dist/chunk-2XCURCSR.cjs +8 -0
- package/dist/chunk-2XCURCSR.cjs.map +1 -0
- package/dist/chunk-377J5LJP.cjs +3 -0
- package/dist/chunk-377J5LJP.cjs.map +1 -0
- package/dist/chunk-3EWEFTZ4.cjs +2 -0
- package/dist/chunk-3EWEFTZ4.cjs.map +1 -0
- package/dist/chunk-3OU3D63D.cjs +2 -0
- package/dist/chunk-3OU3D63D.cjs.map +1 -0
- package/dist/chunk-3SFEP42J.js +3 -0
- package/dist/chunk-3SFEP42J.js.map +1 -0
- package/dist/chunk-42RM4QBR.cjs +3 -0
- package/dist/chunk-42RM4QBR.cjs.map +1 -0
- package/dist/chunk-44NYQB5Q.js +2 -0
- package/dist/chunk-44NYQB5Q.js.map +1 -0
- package/dist/chunk-4J5VH5LJ.cjs +3 -0
- package/dist/chunk-4J5VH5LJ.cjs.map +1 -0
- package/dist/chunk-5I4Z5UH2.cjs +2 -0
- package/dist/chunk-5I4Z5UH2.cjs.map +1 -0
- package/dist/chunk-5OFDFIKR.cjs +3 -0
- package/dist/chunk-5OFDFIKR.cjs.map +1 -0
- package/dist/chunk-5PR2CYMI.js +2 -0
- package/dist/chunk-5PR2CYMI.js.map +1 -0
- package/dist/chunk-5UIHDRL5.cjs +2 -0
- package/dist/chunk-5UIHDRL5.cjs.map +1 -0
- package/dist/chunk-5WVMNLF5.js +3 -0
- package/dist/chunk-5WVMNLF5.js.map +1 -0
- package/dist/chunk-66FJHKLA.js +3 -0
- package/dist/chunk-66FJHKLA.js.map +1 -0
- package/dist/chunk-6GUVMAUD.js +2 -0
- package/dist/chunk-6GUVMAUD.js.map +1 -0
- package/dist/chunk-6RCHKEAL.js +2 -0
- package/dist/chunk-6RCHKEAL.js.map +1 -0
- package/dist/chunk-7CMIOVOL.cjs +2 -0
- package/dist/chunk-7CMIOVOL.cjs.map +1 -0
- package/dist/chunk-7DETO5IF.js +2 -0
- package/dist/chunk-7DETO5IF.js.map +1 -0
- package/dist/chunk-7YECUWTF.cjs +2 -0
- package/dist/chunk-7YECUWTF.cjs.map +1 -0
- package/dist/chunk-A5KHH4N5.js +3 -0
- package/dist/chunk-A5KHH4N5.js.map +1 -0
- package/dist/chunk-A5WNELZD.js +3 -0
- package/dist/chunk-A5WNELZD.js.map +1 -0
- package/dist/chunk-AH7SOHCK.js +2 -0
- package/dist/chunk-AH7SOHCK.js.map +1 -0
- package/dist/chunk-B75CXWTP.js +10 -0
- package/dist/chunk-B75CXWTP.js.map +1 -0
- package/dist/chunk-BBZUUQZE.cjs +3 -0
- package/dist/chunk-BBZUUQZE.cjs.map +1 -0
- package/dist/chunk-BF5N2G3I.js +3 -0
- package/dist/chunk-BF5N2G3I.js.map +1 -0
- package/dist/chunk-BJATVKHY.cjs +2 -0
- package/dist/chunk-BJATVKHY.cjs.map +1 -0
- package/dist/chunk-BMQTMYRT.cjs +2 -0
- package/dist/chunk-BMQTMYRT.cjs.map +1 -0
- package/dist/chunk-BQATTZR6.js +3 -0
- package/dist/chunk-BQATTZR6.js.map +1 -0
- package/dist/chunk-C64QCBR2.js +3 -0
- package/dist/chunk-C64QCBR2.js.map +1 -0
- package/dist/chunk-C6LFO5DZ.js +2 -0
- package/dist/chunk-C6LFO5DZ.js.map +1 -0
- package/dist/chunk-CD4LRHKJ.js +2 -0
- package/dist/chunk-CD4LRHKJ.js.map +1 -0
- package/dist/chunk-CUQI3YUM.js +3 -0
- package/dist/chunk-CUQI3YUM.js.map +1 -0
- package/dist/chunk-CZW7BABY.js +2 -0
- package/dist/chunk-CZW7BABY.js.map +1 -0
- package/dist/chunk-D4GX3EGZ.js +4 -0
- package/dist/chunk-D4GX3EGZ.js.map +1 -0
- package/dist/chunk-DG5W33AY.js +3 -0
- package/dist/chunk-DG5W33AY.js.map +1 -0
- package/dist/chunk-DJ66MNKV.cjs +2 -0
- package/dist/chunk-DJ66MNKV.cjs.map +1 -0
- package/dist/chunk-DPN6OBT5.cjs +2 -0
- package/dist/chunk-DPN6OBT5.cjs.map +1 -0
- package/dist/chunk-EFOR7V7D.js +8 -0
- package/dist/chunk-EFOR7V7D.js.map +1 -0
- package/dist/chunk-EOINGUY5.js +3 -0
- package/dist/chunk-EOINGUY5.js.map +1 -0
- package/dist/chunk-EPIKMYCU.js +2 -0
- package/dist/chunk-EPIKMYCU.js.map +1 -0
- package/dist/chunk-FLCPH2Y3.js +7 -0
- package/dist/chunk-FLCPH2Y3.js.map +1 -0
- package/dist/chunk-FQMDEZOD.js +3 -0
- package/dist/chunk-FQMDEZOD.js.map +1 -0
- package/dist/chunk-FUCAOFJM.cjs +3 -0
- package/dist/chunk-FUCAOFJM.cjs.map +1 -0
- package/dist/chunk-GEGMACK2.cjs +2 -0
- package/dist/chunk-GEGMACK2.cjs.map +1 -0
- package/dist/chunk-GILDGRSK.cjs +2 -0
- package/dist/chunk-GILDGRSK.cjs.map +1 -0
- package/dist/chunk-GPBY3OXV.js +2 -0
- package/dist/chunk-GPBY3OXV.js.map +1 -0
- package/dist/chunk-GQMPLRHE.cjs +2 -0
- package/dist/chunk-GQMPLRHE.cjs.map +1 -0
- package/dist/chunk-GXUG743T.cjs +2 -0
- package/dist/chunk-GXUG743T.cjs.map +1 -0
- package/dist/chunk-HH3WELAD.cjs +4 -0
- package/dist/chunk-HH3WELAD.cjs.map +1 -0
- package/dist/chunk-HHRFK2PR.cjs +3 -0
- package/dist/chunk-HHRFK2PR.cjs.map +1 -0
- package/dist/chunk-HK3P6AFX.js +3 -0
- package/dist/chunk-HK3P6AFX.js.map +1 -0
- package/dist/chunk-HMIZ2FLM.js +2 -0
- package/dist/chunk-HMIZ2FLM.js.map +1 -0
- package/dist/chunk-HSTGLQCX.js +2 -0
- package/dist/chunk-HSTGLQCX.js.map +1 -0
- package/dist/chunk-I2XSW7Z5.cjs +5 -0
- package/dist/chunk-I2XSW7Z5.cjs.map +1 -0
- package/dist/chunk-IB3F3GQH.cjs +2 -0
- package/dist/chunk-IB3F3GQH.cjs.map +1 -0
- package/dist/chunk-IDBQZSEH.cjs +3 -0
- package/dist/chunk-IDBQZSEH.cjs.map +1 -0
- package/dist/chunk-INJYCBBJ.js +2 -0
- package/dist/chunk-INJYCBBJ.js.map +1 -0
- package/dist/chunk-IRFLFNL5.js +2 -0
- package/dist/chunk-IRFLFNL5.js.map +1 -0
- package/dist/chunk-IUV4VDAV.js +2 -0
- package/dist/chunk-IUV4VDAV.js.map +1 -0
- package/dist/chunk-IXYHCDGV.cjs +2 -0
- package/dist/chunk-IXYHCDGV.cjs.map +1 -0
- package/dist/chunk-JARFLL3F.cjs +2 -0
- package/dist/chunk-JARFLL3F.cjs.map +1 -0
- package/dist/chunk-JCWSBSWV.cjs +3 -0
- package/dist/chunk-JCWSBSWV.cjs.map +1 -0
- package/dist/chunk-JEH6Z3MR.cjs +2 -0
- package/dist/chunk-JEH6Z3MR.cjs.map +1 -0
- package/dist/chunk-JFOVEN3B.cjs +3 -0
- package/dist/chunk-JFOVEN3B.cjs.map +1 -0
- package/dist/chunk-JYXWSTI2.cjs +3 -0
- package/dist/chunk-JYXWSTI2.cjs.map +1 -0
- package/dist/chunk-K6MORX7I.cjs +3 -0
- package/dist/chunk-K6MORX7I.cjs.map +1 -0
- package/dist/chunk-K7T7NPVY.cjs +3 -0
- package/dist/chunk-K7T7NPVY.cjs.map +1 -0
- package/dist/chunk-KTJSSK5R.cjs +3 -0
- package/dist/chunk-KTJSSK5R.cjs.map +1 -0
- package/dist/chunk-KZLVWPZ4.cjs +2 -0
- package/dist/chunk-KZLVWPZ4.cjs.map +1 -0
- package/dist/chunk-LBKGAOAD.cjs +3 -0
- package/dist/chunk-LBKGAOAD.cjs.map +1 -0
- package/dist/chunk-LFC2ZCOA.js +2 -0
- package/dist/chunk-LFC2ZCOA.js.map +1 -0
- package/dist/chunk-LR3HOWU3.cjs +7 -0
- package/dist/chunk-LR3HOWU3.cjs.map +1 -0
- package/dist/chunk-LSVSIJSZ.js +2 -0
- package/dist/chunk-LSVSIJSZ.js.map +1 -0
- package/dist/chunk-LSWFX7YA.js +2 -0
- package/dist/chunk-LSWFX7YA.js.map +1 -0
- package/dist/chunk-LTTNSKMY.js +3 -0
- package/dist/chunk-LTTNSKMY.js.map +1 -0
- package/dist/chunk-MQDQYKWH.cjs +2 -0
- package/dist/chunk-MQDQYKWH.cjs.map +1 -0
- package/dist/chunk-MYTJTOT2.cjs +3 -0
- package/dist/chunk-MYTJTOT2.cjs.map +1 -0
- package/dist/chunk-N33THJV6.js +2 -0
- package/dist/chunk-N33THJV6.js.map +1 -0
- package/dist/chunk-NAYWFNN3.cjs +3 -0
- package/dist/chunk-NAYWFNN3.cjs.map +1 -0
- package/dist/chunk-NLTKS2AW.cjs +2 -0
- package/dist/chunk-NLTKS2AW.cjs.map +1 -0
- package/dist/chunk-NPQYWNWJ.js +5 -0
- package/dist/chunk-NPQYWNWJ.js.map +1 -0
- package/dist/chunk-NQDWD4YU.cjs +3 -0
- package/dist/chunk-NQDWD4YU.cjs.map +1 -0
- package/dist/chunk-NQROZGX3.cjs +3 -0
- package/dist/chunk-NQROZGX3.cjs.map +1 -0
- package/dist/chunk-OBCY7C52.js +2 -0
- package/dist/chunk-OBCY7C52.js.map +1 -0
- package/dist/chunk-OHGVKGNE.cjs +3 -0
- package/dist/chunk-OHGVKGNE.cjs.map +1 -0
- package/dist/chunk-OT3WFOIC.js +3 -0
- package/dist/chunk-OT3WFOIC.js.map +1 -0
- package/dist/chunk-OY6BHM7Z.js +2 -0
- package/dist/chunk-OY6BHM7Z.js.map +1 -0
- package/dist/chunk-P7JCQIFW.cjs +3 -0
- package/dist/chunk-P7JCQIFW.cjs.map +1 -0
- package/dist/chunk-PANRCNY2.cjs +2 -0
- package/dist/chunk-PANRCNY2.cjs.map +1 -0
- package/dist/chunk-Q5QYWRL2.cjs +10 -0
- package/dist/chunk-Q5QYWRL2.cjs.map +1 -0
- package/dist/chunk-Q7U6JI5R.js +3 -0
- package/dist/chunk-Q7U6JI5R.js.map +1 -0
- package/dist/chunk-QCNAJEOX.js +2 -0
- package/dist/chunk-QCNAJEOX.js.map +1 -0
- package/dist/chunk-QNKG2DPA.cjs +2 -0
- package/dist/chunk-QNKG2DPA.cjs.map +1 -0
- package/dist/chunk-QPCPKW5R.cjs +2 -0
- package/dist/chunk-QPCPKW5R.cjs.map +1 -0
- package/dist/chunk-QYYK7LNR.cjs +2 -0
- package/dist/chunk-QYYK7LNR.cjs.map +1 -0
- package/dist/chunk-R3JFYIT4.js +3 -0
- package/dist/chunk-R3JFYIT4.js.map +1 -0
- package/dist/chunk-SDQQRSTP.cjs +2 -0
- package/dist/chunk-SDQQRSTP.cjs.map +1 -0
- package/dist/chunk-SDUI3BD3.js +3 -0
- package/dist/chunk-SDUI3BD3.js.map +1 -0
- package/dist/chunk-SM3TAJ4O.js +3 -0
- package/dist/chunk-SM3TAJ4O.js.map +1 -0
- package/dist/chunk-T6LF37LZ.cjs +2 -0
- package/dist/chunk-T6LF37LZ.cjs.map +1 -0
- package/dist/chunk-T7UFQMPU.cjs +2 -0
- package/dist/chunk-T7UFQMPU.cjs.map +1 -0
- package/dist/chunk-TRSOXPTQ.js +2 -0
- package/dist/chunk-TRSOXPTQ.js.map +1 -0
- package/dist/chunk-U463DIED.cjs +2 -0
- package/dist/chunk-U463DIED.cjs.map +1 -0
- package/dist/chunk-U7XVI2DM.js +2 -0
- package/dist/chunk-U7XVI2DM.js.map +1 -0
- package/dist/chunk-UD7H25BH.js +5 -0
- package/dist/chunk-UD7H25BH.js.map +1 -0
- package/dist/chunk-UIPKSEN4.js +2 -0
- package/dist/chunk-UIPKSEN4.js.map +1 -0
- package/dist/chunk-UOUTX4UQ.js +2 -0
- package/dist/chunk-UOUTX4UQ.js.map +1 -0
- package/dist/chunk-UW52DKV3.js +3 -0
- package/dist/chunk-UW52DKV3.js.map +1 -0
- package/dist/chunk-VAQT7RDM.js +3 -0
- package/dist/chunk-VAQT7RDM.js.map +1 -0
- package/dist/chunk-VITZI5ZU.js +3 -0
- package/dist/chunk-VITZI5ZU.js.map +1 -0
- package/dist/chunk-VMS6VUOL.js +2 -0
- package/dist/chunk-VMS6VUOL.js.map +1 -0
- package/dist/chunk-WGTOLA3Y.js +2 -0
- package/dist/chunk-WGTOLA3Y.js.map +1 -0
- package/dist/chunk-WI4TNNNO.js +3 -0
- package/dist/chunk-WI4TNNNO.js.map +1 -0
- package/dist/chunk-WK65I7SX.js +2 -0
- package/dist/chunk-WK65I7SX.js.map +1 -0
- package/dist/chunk-WNZ75AHP.js +2 -0
- package/dist/chunk-WNZ75AHP.js.map +1 -0
- package/dist/chunk-WVNRAFBY.js +2 -0
- package/dist/chunk-WVNRAFBY.js.map +1 -0
- package/dist/chunk-X4IWMGAB.js +2 -0
- package/dist/chunk-X4IWMGAB.js.map +1 -0
- package/dist/chunk-X7RB2GVW.cjs +3 -0
- package/dist/chunk-X7RB2GVW.cjs.map +1 -0
- package/dist/chunk-XD4GVLVZ.cjs +2 -0
- package/dist/chunk-XD4GVLVZ.cjs.map +1 -0
- package/dist/chunk-XFF6JIWQ.cjs +2 -0
- package/dist/chunk-XFF6JIWQ.cjs.map +1 -0
- package/dist/chunk-XLPIZNJE.js +2 -0
- package/dist/chunk-XLPIZNJE.js.map +1 -0
- package/dist/chunk-YFLTXRKM.js +3 -0
- package/dist/chunk-YFLTXRKM.js.map +1 -0
- package/dist/chunk-YLW7AQNY.cjs +3 -0
- package/dist/chunk-YLW7AQNY.cjs.map +1 -0
- package/dist/chunk-YN2B2CVU.cjs +5 -0
- package/dist/chunk-YN2B2CVU.cjs.map +1 -0
- package/dist/chunk-YNK4LVRZ.cjs +3 -0
- package/dist/chunk-YNK4LVRZ.cjs.map +1 -0
- package/dist/chunk-YXSYDX6L.js +3 -0
- package/dist/chunk-YXSYDX6L.js.map +1 -0
- package/dist/chunk-YYJKIDZ2.js +3 -0
- package/dist/chunk-YYJKIDZ2.js.map +1 -0
- package/dist/chunk-ZCYVKA4Y.cjs +3 -0
- package/dist/chunk-ZCYVKA4Y.cjs.map +1 -0
- package/dist/chunk-ZFZ3ADIT.js +3 -0
- package/dist/chunk-ZFZ3ADIT.js.map +1 -0
- package/dist/chunk-ZQPA2IN5.cjs +3 -0
- package/dist/chunk-ZQPA2IN5.cjs.map +1 -0
- package/dist/chunk-ZZHLRB6H.cjs +2 -0
- package/dist/chunk-ZZHLRB6H.cjs.map +1 -0
- package/dist/contact-section.cjs +2 -0
- package/dist/contact-section.cjs.map +1 -0
- package/dist/contact-section.d.mts +25 -0
- package/dist/contact-section.d.ts +25 -0
- package/dist/contact-section.js +2 -0
- package/dist/contact-section.js.map +1 -0
- package/dist/cover-setion.cjs +2 -0
- package/dist/cover-setion.cjs.map +1 -0
- package/dist/cover-setion.d.mts +8 -0
- package/dist/cover-setion.d.ts +8 -0
- package/dist/cover-setion.js +2 -0
- package/dist/cover-setion.js.map +1 -0
- package/dist/en-QWOTEXHG.js +2 -0
- package/dist/en-QWOTEXHG.js.map +1 -0
- package/dist/en-TXSQPBHO.cjs +2 -0
- package/dist/en-TXSQPBHO.cjs.map +1 -0
- package/dist/fr-2MITF4HO.cjs +11 -0
- package/dist/fr-2MITF4HO.cjs.map +1 -0
- package/dist/fr-KA7CH2XX.js +11 -0
- package/dist/fr-KA7CH2XX.js.map +1 -0
- package/dist/general-BjKe3K-e.d.mts +60 -0
- package/dist/general-BjKe3K-e.d.ts +60 -0
- package/dist/gift-avatar-section.cjs +2 -0
- package/dist/gift-avatar-section.cjs.map +1 -0
- package/dist/gift-avatar-section.d.mts +20 -0
- package/dist/gift-avatar-section.d.ts +20 -0
- package/dist/gift-avatar-section.js +2 -0
- package/dist/gift-avatar-section.js.map +1 -0
- package/dist/header-section.cjs +2 -0
- package/dist/header-section.cjs.map +1 -0
- package/dist/header-section.d.mts +8 -0
- package/dist/header-section.d.ts +8 -0
- package/dist/header-section.js +2 -0
- package/dist/header-section.js.map +1 -0
- package/dist/hesman-cert-section.cjs +2 -0
- package/dist/hesman-cert-section.cjs.map +1 -0
- package/dist/hesman-cert-section.d.mts +11 -0
- package/dist/hesman-cert-section.d.ts +11 -0
- package/dist/hesman-cert-section.js +2 -0
- package/dist/hesman-cert-section.js.map +1 -0
- package/dist/hesman-greeting-section.cjs +2 -0
- package/dist/hesman-greeting-section.cjs.map +1 -0
- package/dist/hesman-greeting-section.d.mts +20 -0
- package/dist/hesman-greeting-section.d.ts +20 -0
- package/dist/hesman-greeting-section.js +2 -0
- package/dist/hesman-greeting-section.js.map +1 -0
- package/dist/hesman-metaverse-section.cjs +2 -0
- package/dist/hesman-metaverse-section.cjs.map +1 -0
- package/dist/hesman-metaverse-section.d.mts +22 -0
- package/dist/hesman-metaverse-section.d.ts +22 -0
- package/dist/hesman-metaverse-section.js +2 -0
- package/dist/hesman-metaverse-section.js.map +1 -0
- package/dist/hesman-puzzle-section.cjs +2 -0
- package/dist/hesman-puzzle-section.cjs.map +1 -0
- package/dist/hesman-puzzle-section.d.mts +10 -0
- package/dist/hesman-puzzle-section.d.ts +10 -0
- package/dist/hesman-puzzle-section.js +2 -0
- package/dist/hesman-puzzle-section.js.map +1 -0
- package/dist/hesman-thankyou-section.cjs +2 -0
- package/dist/hesman-thankyou-section.cjs.map +1 -0
- package/dist/hesman-thankyou-section.d.mts +20 -0
- package/dist/hesman-thankyou-section.d.ts +20 -0
- package/dist/hesman-thankyou-section.js +2 -0
- package/dist/hesman-thankyou-section.js.map +1 -0
- package/dist/hesman-video-section.cjs +2 -0
- package/dist/hesman-video-section.cjs.map +1 -0
- package/dist/hesman-video-section.d.mts +15 -0
- package/dist/hesman-video-section.d.ts +15 -0
- package/dist/hesman-video-section.js +2 -0
- package/dist/hesman-video-section.js.map +1 -0
- package/dist/home-section.cjs +2 -0
- package/dist/home-section.cjs.map +1 -0
- package/dist/home-section.d.mts +51 -0
- package/dist/home-section.d.ts +51 -0
- package/dist/home-section.js +2 -0
- package/dist/home-section.js.map +1 -0
- package/dist/horizontal-book-image-section.cjs +2 -0
- package/dist/horizontal-book-image-section.cjs.map +1 -0
- package/dist/horizontal-book-image-section.d.mts +8 -0
- package/dist/horizontal-book-image-section.d.ts +8 -0
- package/dist/horizontal-book-image-section.js +2 -0
- package/dist/horizontal-book-image-section.js.map +1 -0
- package/dist/horizontal-image-list-section.cjs +2 -0
- package/dist/horizontal-image-list-section.cjs.map +1 -0
- package/dist/horizontal-image-list-section.d.mts +8 -0
- package/dist/horizontal-image-list-section.d.ts +8 -0
- package/dist/horizontal-image-list-section.js +2 -0
- package/dist/horizontal-image-list-section.js.map +1 -0
- package/dist/image-padding-section.cjs +2 -0
- package/dist/image-padding-section.cjs.map +1 -0
- package/dist/image-padding-section.d.mts +8 -0
- package/dist/image-padding-section.d.ts +8 -0
- package/dist/image-padding-section.js +2 -0
- package/dist/image-padding-section.js.map +1 -0
- package/dist/image-text-array-section.cjs +2 -0
- package/dist/image-text-array-section.cjs.map +1 -0
- package/dist/image-text-array-section.d.mts +21 -0
- package/dist/image-text-array-section.d.ts +21 -0
- package/dist/image-text-array-section.js +2 -0
- package/dist/image-text-array-section.js.map +1 -0
- package/dist/image-text-section.cjs +2 -0
- package/dist/image-text-section.cjs.map +1 -0
- package/dist/image-text-section.d.mts +9 -0
- package/dist/image-text-section.d.ts +9 -0
- package/dist/image-text-section.js +2 -0
- package/dist/image-text-section.js.map +1 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +162 -0
- package/dist/index.d.ts +162 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/khaocoky.cjs +2 -0
- package/dist/khaocoky.cjs.map +1 -0
- package/dist/khaocoky.d.mts +24 -0
- package/dist/khaocoky.d.ts +24 -0
- package/dist/khaocoky.js +2 -0
- package/dist/khaocoky.js.map +1 -0
- package/dist/khaocokyv2.cjs +2 -0
- package/dist/khaocokyv2.cjs.map +1 -0
- package/dist/khaocokyv2.d.mts +24 -0
- package/dist/khaocokyv2.d.ts +24 -0
- package/dist/khaocokyv2.js +2 -0
- package/dist/khaocokyv2.js.map +1 -0
- package/dist/letter-section.cjs +2 -0
- package/dist/letter-section.cjs.map +1 -0
- package/dist/letter-section.d.mts +13 -0
- package/dist/letter-section.d.ts +13 -0
- package/dist/letter-section.js +2 -0
- package/dist/letter-section.js.map +1 -0
- package/dist/lexical-letter-section.cjs +2 -0
- package/dist/lexical-letter-section.cjs.map +1 -0
- package/dist/lexical-letter-section.d.mts +13 -0
- package/dist/lexical-letter-section.d.ts +13 -0
- package/dist/lexical-letter-section.js +2 -0
- package/dist/lexical-letter-section.js.map +1 -0
- package/dist/metaverse-section.cjs +2 -0
- package/dist/metaverse-section.cjs.map +1 -0
- package/dist/metaverse-section.d.mts +5 -0
- package/dist/metaverse-section.d.ts +5 -0
- package/dist/metaverse-section.js +2 -0
- package/dist/metaverse-section.js.map +1 -0
- package/dist/navigation-section.cjs +2 -0
- package/dist/navigation-section.cjs.map +1 -0
- package/dist/navigation-section.d.mts +10 -0
- package/dist/navigation-section.d.ts +10 -0
- package/dist/navigation-section.js +2 -0
- package/dist/navigation-section.js.map +1 -0
- package/dist/nguyen-kim-lucky-voucher.cjs +2 -0
- package/dist/nguyen-kim-lucky-voucher.cjs.map +1 -0
- package/dist/nguyen-kim-lucky-voucher.d.mts +8 -0
- package/dist/nguyen-kim-lucky-voucher.d.ts +8 -0
- package/dist/nguyen-kim-lucky-voucher.js +2 -0
- package/dist/nguyen-kim-lucky-voucher.js.map +1 -0
- package/dist/pet-profile-section.cjs +2 -0
- package/dist/pet-profile-section.cjs.map +1 -0
- package/dist/pet-profile-section.d.mts +26 -0
- package/dist/pet-profile-section.d.ts +26 -0
- package/dist/pet-profile-section.js +2 -0
- package/dist/pet-profile-section.js.map +1 -0
- package/dist/profile-section.cjs +2 -0
- package/dist/profile-section.cjs.map +1 -0
- package/dist/profile-section.d.mts +29 -0
- package/dist/profile-section.d.ts +29 -0
- package/dist/profile-section.js +2 -0
- package/dist/profile-section.js.map +1 -0
- package/dist/qua-tang-quoc-hoi.cjs +2 -0
- package/dist/qua-tang-quoc-hoi.cjs.map +1 -0
- package/dist/qua-tang-quoc-hoi.d.mts +18 -0
- package/dist/qua-tang-quoc-hoi.d.ts +18 -0
- package/dist/qua-tang-quoc-hoi.js +2 -0
- package/dist/qua-tang-quoc-hoi.js.map +1 -0
- package/dist/quiz-section.cjs +2 -0
- package/dist/quiz-section.cjs.map +1 -0
- package/dist/quiz-section.d.mts +24 -0
- package/dist/quiz-section.d.ts +24 -0
- package/dist/quiz-section.js +2 -0
- package/dist/quiz-section.js.map +1 -0
- package/dist/section-full-screen.cjs +2 -0
- package/dist/section-full-screen.cjs.map +1 -0
- package/dist/section-full-screen.d.mts +14 -0
- package/dist/section-full-screen.d.ts +14 -0
- package/dist/section-full-screen.js +2 -0
- package/dist/section-full-screen.js.map +1 -0
- package/dist/tet-cover-section1.cjs +2 -0
- package/dist/tet-cover-section1.cjs.map +1 -0
- package/dist/tet-cover-section1.d.mts +8 -0
- package/dist/tet-cover-section1.d.ts +8 -0
- package/dist/tet-cover-section1.js +2 -0
- package/dist/tet-cover-section1.js.map +1 -0
- package/dist/tet-cover-section2.cjs +2 -0
- package/dist/tet-cover-section2.cjs.map +1 -0
- package/dist/tet-cover-section2.d.mts +8 -0
- package/dist/tet-cover-section2.d.ts +8 -0
- package/dist/tet-cover-section2.js +2 -0
- package/dist/tet-cover-section2.js.map +1 -0
- package/dist/tet-lucky-money-section.cjs +2 -0
- package/dist/tet-lucky-money-section.cjs.map +1 -0
- package/dist/tet-lucky-money-section.d.mts +12 -0
- package/dist/tet-lucky-money-section.d.ts +12 -0
- package/dist/tet-lucky-money-section.js +2 -0
- package/dist/tet-lucky-money-section.js.map +1 -0
- package/dist/tet-lucky-money-section2.cjs +2 -0
- package/dist/tet-lucky-money-section2.cjs.map +1 -0
- package/dist/tet-lucky-money-section2.d.mts +12 -0
- package/dist/tet-lucky-money-section2.d.ts +12 -0
- package/dist/tet-lucky-money-section2.js +2 -0
- package/dist/tet-lucky-money-section2.js.map +1 -0
- package/dist/valentine.cjs +2 -0
- package/dist/valentine.cjs.map +1 -0
- package/dist/valentine.d.mts +29 -0
- package/dist/valentine.d.ts +29 -0
- package/dist/valentine.js +2 -0
- package/dist/valentine.js.map +1 -0
- package/dist/vertical-carousel-section.cjs +2 -0
- package/dist/vertical-carousel-section.cjs.map +1 -0
- package/dist/vertical-carousel-section.d.mts +8 -0
- package/dist/vertical-carousel-section.d.ts +8 -0
- package/dist/vertical-carousel-section.js +2 -0
- package/dist/vertical-carousel-section.js.map +1 -0
- package/dist/video-intro-section.cjs +2 -0
- package/dist/video-intro-section.cjs.map +1 -0
- package/dist/video-intro-section.d.mts +10 -0
- package/dist/video-intro-section.d.ts +10 -0
- package/dist/video-intro-section.js +2 -0
- package/dist/video-intro-section.js.map +1 -0
- package/dist/woman-day.cjs +2 -0
- package/dist/woman-day.cjs.map +1 -0
- package/dist/woman-day.d.mts +17 -0
- package/dist/woman-day.d.ts +17 -0
- package/dist/woman-day.js +2 -0
- package/dist/woman-day.js.map +1 -0
- package/entries/advance-profile-section.ts +1 -0
- package/entries/author-section.ts +1 -0
- package/entries/b-e-d-i-page-section.ts +2 -0
- package/entries/bao-ngay-nay2025-section.ts +1 -0
- package/entries/biz-card-profile-section.ts +1 -0
- package/entries/book-section.ts +1 -0
- package/entries/business-card-section.ts +1 -0
- package/entries/christmas.ts +1 -0
- package/entries/contact-section.ts +1 -0
- package/entries/cover-setion.ts +1 -0
- package/entries/gift-avatar-section.ts +1 -0
- package/entries/header-section.ts +1 -0
- package/entries/hesman-cert-section.ts +1 -0
- package/entries/hesman-greeting-section.ts +1 -0
- package/entries/hesman-metaverse-section.ts +1 -0
- package/entries/hesman-puzzle-section.ts +1 -0
- package/entries/hesman-thankyou-section.ts +1 -0
- package/entries/hesman-video-section.ts +1 -0
- package/entries/home-section.ts +1 -0
- package/entries/horizontal-book-image-section.ts +1 -0
- package/entries/horizontal-image-list-section.ts +1 -0
- package/entries/image-padding-section.ts +1 -0
- package/entries/image-text-array-section.ts +1 -0
- package/entries/image-text-section.ts +1 -0
- package/entries/khaocoky.ts +1 -0
- package/entries/khaocokyv2.ts +1 -0
- package/entries/letter-section.ts +1 -0
- package/entries/lexical-letter-section.ts +1 -0
- package/entries/metaverse-section.ts +1 -0
- package/entries/navigation-section.ts +2 -0
- package/entries/nguyen-kim-lucky-voucher.ts +1 -0
- package/entries/pet-profile-section.ts +1 -0
- package/entries/profile-section.ts +1 -0
- package/entries/qua-tang-quoc-hoi.ts +1 -0
- package/entries/quiz-section.ts +1 -0
- package/entries/section-full-screen.ts +1 -0
- package/entries/tet-cover-section1.ts +1 -0
- package/entries/tet-cover-section2.ts +1 -0
- package/entries/tet-lucky-money-section.ts +1 -0
- package/entries/tet-lucky-money-section2.ts +1 -0
- package/entries/valentine.ts +1 -0
- package/entries/vertical-carousel-section.ts +1 -0
- package/entries/video-intro-section.ts +1 -0
- package/entries/woman-day.ts +1 -0
- package/entry-points.json +47 -0
- package/exports-map.json +179 -0
- package/fonts.css +144 -0
- package/generate-exports.cjs +22 -0
- package/generate-exports.js +23 -0
- package/generate-tsup-entries.js +17 -0
- package/index.css +162 -0
- package/index.ts +23 -0
- package/package.json +306 -0
- package/postcss.config.js +6 -0
- package/regenerate-entries-direct.cjs +60 -0
- package/regenerate-entries.cjs +60 -0
- package/src/components/LandingPage/common/3DModel/ThreeModalTongla.tsx +114 -0
- package/src/components/LandingPage/common/3DModel/ThreeModel.tsx +210 -0
- package/src/components/LandingPage/common/3DModel/index.tsx +90 -0
- package/src/components/LandingPage/common/CarouselCustom/index.tsx +80 -0
- package/src/components/LandingPage/common/FadeInMotion/index.tsx +60 -0
- package/src/components/LandingPage/common/SectionFullScreen/index.tsx +68 -0
- package/src/components/LandingPage/common/Video/index.tsx +90 -0
- package/src/components/LandingPage/common/icons/3DCubeScanIcon.tsx +38 -0
- package/src/components/LandingPage/common/icons/3DFlipIcon.tsx +27 -0
- package/src/components/LandingPage/common/icons/ARExploreIcon.tsx +15 -0
- package/src/components/LandingPage/common/icons/AcreageIcon.tsx +68 -0
- package/src/components/LandingPage/common/icons/ArrowDownIcon.tsx +19 -0
- package/src/components/LandingPage/common/icons/ArrowLeftIcon.tsx +21 -0
- package/src/components/LandingPage/common/icons/ArrowRightIcon.tsx +21 -0
- package/src/components/LandingPage/common/icons/ArrowUpIcon.tsx +21 -0
- package/src/components/LandingPage/common/icons/BurgerIcon.tsx +21 -0
- package/src/components/LandingPage/common/icons/CircleDownIcon.tsx +29 -0
- package/src/components/LandingPage/common/icons/ClockIcon.tsx +28 -0
- package/src/components/LandingPage/common/icons/CloseIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/CloseQuotesIcon.tsx +17 -0
- package/src/components/LandingPage/common/icons/CopyIcon.tsx +31 -0
- package/src/components/LandingPage/common/icons/CopyrightByPGLIcon.tsx +80 -0
- package/src/components/LandingPage/common/icons/DoubleArrowDownIcon.tsx +31 -0
- package/src/components/LandingPage/common/icons/EyeIcon.tsx +30 -0
- package/src/components/LandingPage/common/icons/FlipIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/FourthMedalIcon.tsx +287 -0
- package/src/components/LandingPage/common/icons/GoBackIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/GoogleIcon.tsx +41 -0
- package/src/components/LandingPage/common/icons/GrindSize.tsx +321 -0
- package/src/components/LandingPage/common/icons/HeartFillIcon.tsx +21 -0
- package/src/components/LandingPage/common/icons/HeightIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/IconAuction.tsx +17 -0
- package/src/components/LandingPage/common/icons/IconCalendar.tsx +16 -0
- package/src/components/LandingPage/common/icons/IconExternalLink.tsx +21 -0
- package/src/components/LandingPage/common/icons/IconMuted.tsx +17 -0
- package/src/components/LandingPage/common/icons/IconReset.tsx +19 -0
- package/src/components/LandingPage/common/icons/IconUmuted.tsx +18 -0
- package/src/components/LandingPage/common/icons/InfoFillIcon.tsx +20 -0
- package/src/components/LandingPage/common/icons/KeyIcon.tsx +24 -0
- package/src/components/LandingPage/common/icons/KyokaiIcon.tsx +53 -0
- package/src/components/LandingPage/common/icons/LanguageIcon.tsx +49 -0
- package/src/components/LandingPage/common/icons/LikeIcon.tsx +29 -0
- package/src/components/LandingPage/common/icons/LogoutIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/MailIcon.tsx +32 -0
- package/src/components/LandingPage/common/icons/OnchainIcon.tsx +97 -0
- package/src/components/LandingPage/common/icons/OpenQuotesIcon.tsx +17 -0
- package/src/components/LandingPage/common/icons/PhoneIcon.tsx +22 -0
- package/src/components/LandingPage/common/icons/PlayIcon.tsx +21 -0
- package/src/components/LandingPage/common/icons/PressureClockIcon.tsx +32 -0
- package/src/components/LandingPage/common/icons/ProfileIcon.tsx +30 -0
- package/src/components/LandingPage/common/icons/ReadingBookIcon.tsx +22 -0
- package/src/components/LandingPage/common/icons/ScaleIcon.tsx +28 -0
- package/src/components/LandingPage/common/icons/SecondMedalIcon.tsx +1137 -0
- package/src/components/LandingPage/common/icons/SignoutIcon.tsx +30 -0
- package/src/components/LandingPage/common/icons/SparkleIcon.tsx +28 -0
- package/src/components/LandingPage/common/icons/TemperatureIcon.tsx +20 -0
- package/src/components/LandingPage/common/icons/ThirdMedalIcon.tsx +620 -0
- package/src/components/LandingPage/common/icons/TickIcon.tsx +20 -0
- package/src/components/LandingPage/common/icons/TickIconBlue.tsx +30 -0
- package/src/components/LandingPage/common/icons/TickIconGreen.tsx +30 -0
- package/src/components/LandingPage/common/icons/TouchIcon.tsx +22 -0
- package/src/components/LandingPage/common/icons/WaterDropIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/WaterIcon.tsx +37 -0
- package/src/components/LandingPage/common/icons/Weight.tsx +36 -0
- package/src/components/LandingPage/common/icons/WinnerMedalIcon.tsx +1185 -0
- package/src/components/LandingPage/common/icons/YieldIcon.tsx +36 -0
- package/src/components/LandingPage/common/icons/ZoomInFillIcon.tsx +20 -0
- package/src/components/LandingPage/common/icons/icons-v2/BurgerIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/icons-v2/LogoNomion.tsx +56 -0
- package/src/components/LandingPage/common/icons/icons-v2/NdachainIcon.tsx +251 -0
- package/src/components/LandingPage/common/icons/icons-v2/OnchainIcon.tsx +97 -0
- package/src/components/LandingPage/common/icons/icons-v2/index.ts +4 -0
- package/src/components/LandingPage/common/icons/index.ts +23 -0
- package/src/components/LandingPage/common/icons/social-icons/FacebookIcon.tsx +24 -0
- package/src/components/LandingPage/common/icons/social-icons/IconMail.tsx +17 -0
- package/src/components/LandingPage/common/icons/social-icons/IconPhone.tsx +21 -0
- package/src/components/LandingPage/common/icons/social-icons/InstagramIcon.tsx +24 -0
- package/src/components/LandingPage/common/icons/social-icons/LinkedinIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/social-icons/LocationIcon.tsx +16 -0
- package/src/components/LandingPage/common/icons/social-icons/TelegramIcon.tsx +23 -0
- package/src/components/LandingPage/common/icons/social-icons/ThreadsIcon.tsx +15 -0
- package/src/components/LandingPage/common/icons/social-icons/TiktokIcon.tsx +16 -0
- package/src/components/LandingPage/common/icons/social-icons/TwitterIcon.tsx +28 -0
- package/src/components/LandingPage/common/icons/social-icons/WebsiteIcon.tsx +0 -0
- package/src/components/LandingPage/common/icons/social-icons/YoutubeIcon.tsx +26 -0
- package/src/components/LandingPage/common/icons/social-icons/index.tsx +19 -0
- package/src/components/LandingPage/common/shadcn-ui-kit/Dialog.tsx +124 -0
- package/src/components/LandingPage/common/shadcn-ui-kit/input.tsx +24 -0
- package/src/components/LandingPage/common/shadcn-ui-kit/select.tsx +160 -0
- package/src/components/LandingPage/common/ui-kit/atomics/ BaseModal.tsx +60 -0
- package/src/components/LandingPage/common/ui-kit/atomics/BaseButton.tsx +25 -0
- package/src/components/LandingPage/common/ui-kit/atomics/BaseIcon.tsx +18 -0
- package/src/components/LandingPage/common/ui-kit/atomics/BaseInput.tsx +58 -0
- package/src/components/LandingPage/common/ui-kit/atomics/CopyClipboard.tsx +64 -0
- package/src/components/LandingPage/common/ui-kit/atomics/HesmanButton.tsx +23 -0
- package/src/components/LandingPage/common/ui-kit/atomics/HesmanGradientText.tsx +22 -0
- package/src/components/LandingPage/common/ui-kit/atomics/Tag.tsx +47 -0
- package/src/components/LandingPage/common/ui-kit/atomics/Typography.tsx +63 -0
- package/src/components/LandingPage/common/ui-kit/atomics/index.tsx +4 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/AudioPlayer.tsx +130 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/AuthorContext.tsx +26 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/AuthorModal.tsx +147 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/AuthorModalDeDo.tsx +91 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/AuthorWithLabel.tsx +23 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/BackgroundImage.tsx +34 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/ButtonCommingSoon.tsx +34 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/CollasibleText.tsx +109 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/ContactCard.tsx +167 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/DidInfoModal.tsx +73 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/ImageWithBackground.tsx +39 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/LexicalParagraph.tsx +15 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/ListButton.tsx +51 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/ListContactSocial.tsx +103 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/MetaInfo.tsx +76 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/MetaInfoModal.tsx +96 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/NftInfoModal.tsx +102 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/OwnerName.tsx +25 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/ReadmoreModal.tsx +38 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/RenderMedia.tsx +48 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/ScrollDownGuide.tsx +34 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/TagName.stories.tsx +33 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/TagName.tsx +33 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/Title.stories.tsx +34 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/Title.tsx +66 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/VideoRef.tsx +66 -0
- package/src/components/LandingPage/common/ui-kit/organisms/AdvanceProfileSection/index.tsx +152 -0
- package/src/components/LandingPage/common/ui-kit/organisms/AuthorSection/index.tsx +156 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/BEDICarouselSection.tsx +115 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/BEDIContactSection.tsx +166 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/BEDIPage1Section/BEDIBentoImageSection.tsx +170 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/BEDIPage1Section/BEDIIntroSection.tsx +69 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/BEDIPage1Section/BEDILetterSection.tsx +71 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/BEDIPage1Section/BEDIPage1Section.tsx +102 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/BEDIPage1Section/BgLetter.tsx +29 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/constants.ts +35 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BEDIPageSection/index.tsx +171 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/AudioTheme.tsx +30 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/GenerateGreeting.tsx +528 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/HomeSection.tsx +130 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/IntroSection.tsx +105 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/LetterSection.tsx +21 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/NgayNayIcon.tsx +31 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/UploadImage.tsx +67 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/constant.ts +118 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/icons.tsx +153 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/index.tsx +169 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BizCardProfileSection/ContactCard.tsx +166 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BizCardProfileSection/ShareButton.tsx +113 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BizCardProfileSection/index.tsx +395 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BookSection/BookCoverSection.tsx +74 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BookSection/BookSection.tsx +630 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BookSection/NgheLetterSection.tsx +120 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BookSection/index.tsx +5 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BookSection/utils/index.ts +29 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/BgRectangle.tsx +19 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/BusinessCardAvtCircle.tsx +78 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/BusinessCardAvtFull.tsx +77 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/FragmentContactInfo.tsx +214 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconAddress.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconFacebook.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconInsta.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconLinkedin.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconMail.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconPhone.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconTele.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/icons/IconWeb.tsx +17 -0
- package/src/components/LandingPage/common/ui-kit/organisms/BusinessCardSection/index.tsx +57 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Christmas/Chirstmas1GreetingSection.tsx +159 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Christmas/Chirstmas1HomeSection.tsx +112 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Christmas/Chirstmas2HomeSection.tsx +113 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Christmas/Chrismas2GreetingSection.tsx +96 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Christmas/Christmas1LetterSection.tsx +63 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Christmas/index.tsx +5 -0
- package/src/components/LandingPage/common/ui-kit/organisms/ContactSection/index.tsx +137 -0
- package/src/components/LandingPage/common/ui-kit/organisms/CoverSetion/index.tsx +62 -0
- package/src/components/LandingPage/common/ui-kit/organisms/GiftAvatarSection/index.tsx +48 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HeaderSection/HeaderAnimation.tsx +27 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HeaderSection/HeaderSection.tsx +61 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HesmanCertSection/index.tsx +97 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HesmanGreetingSection/index.tsx +108 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HesmanMetaverseSection/index.tsx +79 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HesmanPuzzleSection/Puzzle.tsx +203 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HesmanPuzzleSection/index.tsx +129 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HesmanThankyouSection/index.tsx +93 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HesmanVideoSection/index.tsx +80 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HomeSection/HomeNewspaperSection.tsx +108 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HomeSection/HomeSection.stories.tsx +61 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HomeSection/HomeSection.tsx +261 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HomeSection/HomeSouvenirSection/HomeSouvenirSection.tsx +134 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HomeSection/HomeSouvenirSection/ImageWithFallback.tsx +30 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HomeSection/index.tsx +3 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HorizontalBookImageSection/HandSwipe.tsx +26 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HorizontalBookImageSection/index.tsx +90 -0
- package/src/components/LandingPage/common/ui-kit/organisms/HorizontalImageListSection/index.tsx +105 -0
- package/src/components/LandingPage/common/ui-kit/organisms/ImagePaddingSection/index.tsx +27 -0
- package/src/components/LandingPage/common/ui-kit/organisms/ImageTextArraySection/index.tsx +43 -0
- package/src/components/LandingPage/common/ui-kit/organisms/ImageTextSection/index.tsx +114 -0
- package/src/components/LandingPage/common/ui-kit/organisms/LetterSection/index.tsx +191 -0
- package/src/components/LandingPage/common/ui-kit/organisms/LexicalLetterSection/AudioLexicalLetterSection.tsx +141 -0
- package/src/components/LandingPage/common/ui-kit/organisms/LexicalLetterSection/LexicalletterSection.tsx +175 -0
- package/src/components/LandingPage/common/ui-kit/organisms/LexicalLetterSection/index.tsx +2 -0
- package/src/components/LandingPage/common/ui-kit/organisms/MetaverseSection/index.tsx +208 -0
- package/src/components/LandingPage/common/ui-kit/organisms/NavigationSection/ModalWelcomeInput.tsx +85 -0
- package/src/components/LandingPage/common/ui-kit/organisms/NavigationSection/index.tsx +99 -0
- package/src/components/LandingPage/common/ui-kit/organisms/NguyenKimLuckyVoucher/index.tsx +156 -0
- package/src/components/LandingPage/common/ui-kit/organisms/PetProfileSection/PetContactSection.tsx +0 -0
- package/src/components/LandingPage/common/ui-kit/organisms/PetProfileSection/PetInfoSection.tsx +0 -0
- package/src/components/LandingPage/common/ui-kit/organisms/PetProfileSection/PetListImage.tsx +0 -0
- package/src/components/LandingPage/common/ui-kit/organisms/PetProfileSection/index.tsx +230 -0
- package/src/components/LandingPage/common/ui-kit/organisms/ProfileSection/index.tsx +324 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/ContentTheme12.tsx +327 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/ContentTheme3.tsx +9 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/ContentTheme4.tsx +9 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/ContentTheme5.tsx +383 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/InforSection.tsx +94 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/QuaTangQuocHoiSection.tsx +524 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/components/LanguageSwitcher.tsx +77 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/constant/data.ts +87 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/context/LanguageContext.tsx +81 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/hook/useLanguage.ts +13 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/index.ts +2 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/locale/en.json +39 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/locale/fr.json +39 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuaTangQuocHoi/types.ts +58 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuizSection/ViewAnswer.tsx +48 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuizSection/ViewQuestion.tsx +48 -0
- package/src/components/LandingPage/common/ui-kit/organisms/QuizSection/index.tsx +48 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetCoverSection1/TetCoverSection1.tsx +36 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetCoverSection1/index.tsx +1 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetCoverSection2/TetCoverSection2.tsx +33 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetCoverSection2/index.tsx +1 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetLuckyMoneySection/LuckeyMoneySectionAdvance.tsx +197 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetLuckyMoneySection/LuckyMoneySection.tsx +164 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetLuckyMoneySection/index.tsx +2 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetLuckyMoneySection2/LuckyMoneySection2.tsx +162 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetLuckyMoneySection2/LuckyMoneySection2Advance.tsx +183 -0
- package/src/components/LandingPage/common/ui-kit/organisms/TetLuckyMoneySection2/index.tsx +2 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Valentine/ValentineGreetingSection.tsx +140 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Valentine/ValentineHomeSection.tsx +94 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Valentine/ValentineLetterSection.tsx +45 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Valentine/ValentineTheFaceShopGreetingSection.tsx +141 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Valentine/ValentineTheFaceShopHomeSection.tsx +73 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Valentine/ValentineTheFaceShopLetterSection.tsx +38 -0
- package/src/components/LandingPage/common/ui-kit/organisms/Valentine/index.tsx +6 -0
- package/src/components/LandingPage/common/ui-kit/organisms/VerticalCarouselSection/index.tsx +63 -0
- package/src/components/LandingPage/common/ui-kit/organisms/VideoIntroSection/index.tsx +247 -0
- package/src/components/LandingPage/common/ui-kit/organisms/WomanDay/WomanGreetingSection.tsx +140 -0
- package/src/components/LandingPage/common/ui-kit/organisms/WomanDay/WomanHomeSection.tsx +94 -0
- package/src/components/LandingPage/common/ui-kit/organisms/WomanDay/WomanLetterSection.tsx +43 -0
- package/src/components/LandingPage/common/ui-kit/organisms/WomanDay/index.tsx +3 -0
- package/src/components/LandingPage/common/ui-kit/organisms/index.tsx +147 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocoky/KhaoCoKyCarouselSection.tsx +101 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocoky/KhaoCoKyCompareSection.tsx +98 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocoky/KhaoCoKyContactSection.tsx +151 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocoky/KhaoCoKyHomeSection.tsx +194 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocoky/KhaoCoKyImageTextSection.tsx +89 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocoky/KhaoCoKyTitle.tsx +51 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocoky/index.tsx +5 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocokyv2/KhaoCoKyHome.tsx +169 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocokyv2/KhaoCoKyImageText.tsx +105 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocokyv2/KhaoCoKyListImageText.tsx +60 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocokyv2/KhaoCoKyMemories.tsx +3 -0
- package/src/components/LandingPage/common/ui-kit/organisms/khaocokyv2/index.tsx +4 -0
- package/src/components/LandingPage/common/ui-kit/types/base.ts +31 -0
- package/src/components/LandingPage/constants/index.ts +2 -0
- package/src/components/LandingPage/device/index.tsx +30 -0
- package/src/components/LandingPage/hooks/audio/index.tsx +1 -0
- package/src/components/LandingPage/hooks/audio/useMediaContext.tsx +126 -0
- package/src/components/LandingPage/hooks/index.tsx +5 -0
- package/src/components/LandingPage/hooks/useBookMenuContext.tsx +43 -0
- package/src/components/LandingPage/hooks/useFullScreenContext.tsx +86 -0
- package/src/components/LandingPage/hooks/useImageOrientation.tsx +24 -0
- package/src/components/LandingPage/hooks/usePGLModalContext.tsx +46 -0
- package/src/components/LandingPage/models/base-section.ts +16 -0
- package/src/components/LandingPage/models/general.ts +67 -0
- package/src/components/LandingPage/models/theme.ts +8 -0
- package/src/components/LandingPage/utils/helper.ts +225 -0
- package/src/constants/index.ts +1 -0
- package/src/constants/templates/enum.ts +62 -0
- package/src/types/NFT.ts +35 -0
- package/src/utils/index.ts +12 -0
- package/src/utils/web3.ts +75 -0
- package/stories/Button/ButtonV2.stories.ts +25 -0
- package/stories/Button/ButtonV2.tsx +22 -0
- package/stories/Button.stories.ts +52 -0
- package/stories/Button.tsx +48 -0
- package/stories/Configure.mdx +364 -0
- package/stories/Header.stories.ts +33 -0
- package/stories/Header.tsx +67 -0
- package/stories/Page.stories.ts +32 -0
- package/stories/Page.tsx +86 -0
- package/stories/assets/accessibility.png +0 -0
- package/stories/assets/accessibility.svg +5 -0
- package/stories/assets/addon-library.png +0 -0
- package/stories/assets/assets.png +0 -0
- package/stories/assets/avif-test-image.avif +0 -0
- package/stories/assets/context.png +0 -0
- package/stories/assets/discord.svg +15 -0
- package/stories/assets/docs.png +0 -0
- package/stories/assets/figma-plugin.png +0 -0
- package/stories/assets/github.svg +3 -0
- package/stories/assets/share.png +0 -0
- package/stories/assets/styling.png +0 -0
- package/stories/assets/testing.png +0 -0
- package/stories/assets/theming.png +0 -0
- package/stories/assets/tutorials.svg +12 -0
- package/stories/assets/youtube.svg +4 -0
- package/stories/button.css +30 -0
- package/stories/header.css +32 -0
- package/stories/page.css +69 -0
- package/tailwind.config.js +154 -0
- package/tsconfig.json +44 -0
- package/tsconfig.node.json +12 -0
- package/tsup.config.ts +71 -0
- package/turbo/generators/config.ts +31 -0
- package/turbo/generators/templates/component.hbs +14 -0
- package/types/model-viewer.d.ts +16 -0
- package/types.ts +3 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { Canvas, extend, useThree } from "@react-three/fiber";
|
|
2
|
+
import {
|
|
3
|
+
Environment,
|
|
4
|
+
OrbitControls,
|
|
5
|
+
Preload,
|
|
6
|
+
Stats,
|
|
7
|
+
useGLTF,
|
|
8
|
+
} from "@react-three/drei";
|
|
9
|
+
extend({ OrbitControls });
|
|
10
|
+
import { Suspense, useEffect, useRef, useState } from "react";
|
|
11
|
+
import CanvasLoader from "./Loader";
|
|
12
|
+
import * as THREE from "three";
|
|
13
|
+
import { Box3, Vector3 } from "three";
|
|
14
|
+
import { prodMode } from "@/constant";
|
|
15
|
+
import { useAppStepContext } from "@/hooks/useAppStepContext";
|
|
16
|
+
import { PageSteps } from "@/models/general";
|
|
17
|
+
|
|
18
|
+
const ThreeAsset = ({
|
|
19
|
+
assetUrl,
|
|
20
|
+
isTablet,
|
|
21
|
+
}: {
|
|
22
|
+
assetUrl: string;
|
|
23
|
+
isTablet: boolean;
|
|
24
|
+
}) => {
|
|
25
|
+
const { currentStep } = useAppStepContext();
|
|
26
|
+
const model = useGLTF(assetUrl);
|
|
27
|
+
const primitiveRef = useRef<THREE.Object3D>(null);
|
|
28
|
+
const { scene, gl, camera } = useThree();
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The function calculates a suitable scale factor based on the viewport width and the size of a 3D
|
|
32
|
+
* object.
|
|
33
|
+
* @param {number} viewportWidth - The viewportWidth parameter represents the width of the viewport
|
|
34
|
+
* or the width of the screen where the object will be displayed.
|
|
35
|
+
* @param object - The `object` parameter is an instance of `THREE.Object3D`, which represents a 3D
|
|
36
|
+
* object in the Three.js library. It can be any type of 3D object, such as a mesh, group, or sprite.
|
|
37
|
+
* @returns the scaleFactor.
|
|
38
|
+
*/
|
|
39
|
+
const findSuitableScale = (
|
|
40
|
+
viewportWidth: number,
|
|
41
|
+
object: THREE.Object3D,
|
|
42
|
+
dividedBy = 15
|
|
43
|
+
) => {
|
|
44
|
+
//bouding box of 3D object
|
|
45
|
+
const boundingBox = new THREE.Box3().setFromObject(object);
|
|
46
|
+
const size = new THREE.Vector3();
|
|
47
|
+
boundingBox.getSize(size);
|
|
48
|
+
|
|
49
|
+
const maxDimension = Math.max(size.x, size.y, size.z);
|
|
50
|
+
|
|
51
|
+
// 370: height of 3d div section
|
|
52
|
+
// 0.8 vs 15: to ensure the object is not scaled too large by default, allowing it to fit within the viewport
|
|
53
|
+
const scaleFactor =
|
|
54
|
+
(Math.min(viewportWidth, window.innerHeight) * 0.8) /
|
|
55
|
+
maxDimension /
|
|
56
|
+
dividedBy;
|
|
57
|
+
|
|
58
|
+
return scaleFactor;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const findSuitablePosition = (
|
|
62
|
+
viewportWidth: number,
|
|
63
|
+
object: THREE.Object3D
|
|
64
|
+
) => {
|
|
65
|
+
const box3 = new Box3().setFromObject(object);
|
|
66
|
+
const vector = new Vector3();
|
|
67
|
+
box3.getCenter(vector);
|
|
68
|
+
|
|
69
|
+
// const spotLight = new THREE.SpotLight("#ffffff", 1);
|
|
70
|
+
// spotLight.target = object;
|
|
71
|
+
// spotLight.position.set(
|
|
72
|
+
// camera.position.x + 10,
|
|
73
|
+
// camera.position.y + 10,
|
|
74
|
+
// camera.position.z + 10
|
|
75
|
+
// );
|
|
76
|
+
// scene.add(spotLight);
|
|
77
|
+
|
|
78
|
+
gl.toneMapping = THREE.LinearToneMapping;
|
|
79
|
+
gl.toneMappingExposure = 2;
|
|
80
|
+
gl.shadowMap.enabled = true;
|
|
81
|
+
|
|
82
|
+
object.position.set(0, -vector.y / 2, 0);
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
// https://storage.nomion.io-dev/images/user_id/1688546558-Tình Biển - Phan Quỳnh Hương.glb
|
|
86
|
+
// https://storage.nomion.io-dev/images/user_id/1688546973-Đùm Bọc - Mai Thanh Thiện.glb
|
|
87
|
+
// https://storage.nomion.io-dev/images/user_id/1688547178-Đà Nẵng Tình Người - Đỗ Văn Hiệu.glb
|
|
88
|
+
// https://storage.nomion.io/images/user_id/1693342481-Thầm Lặng.glb
|
|
89
|
+
|
|
90
|
+
useEffect(() => {
|
|
91
|
+
if (model.scene.scale.equals(new THREE.Vector3(1, 1, 1))) {
|
|
92
|
+
const scale = findSuitableScale(
|
|
93
|
+
window.innerWidth,
|
|
94
|
+
model.scene,
|
|
95
|
+
isTablet ? 40 : 15
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
if (primitiveRef.current) {
|
|
99
|
+
primitiveRef.current.scale.set(scale, scale, scale);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// findSuitablePosition(window.innerWidth, model.scene);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (currentStep !== PageSteps.Normal) return;
|
|
106
|
+
const animate = () => {
|
|
107
|
+
requestAnimationFrame(animate);
|
|
108
|
+
|
|
109
|
+
// Update cube rotation or other animations here
|
|
110
|
+
|
|
111
|
+
// Render the scene
|
|
112
|
+
gl.render(scene, camera);
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
animate();
|
|
116
|
+
|
|
117
|
+
// Zoom-In Effect
|
|
118
|
+
const zoomInDuration = 2500; // milliseconds
|
|
119
|
+
const targetZoom = 2; // Target zoom level
|
|
120
|
+
const startTime = Date.now();
|
|
121
|
+
|
|
122
|
+
const updateCameraZoom = () => {
|
|
123
|
+
const elapsedTime = Date.now() - startTime;
|
|
124
|
+
const progress = Math.min(elapsedTime / zoomInDuration, 1); // Clamp progress between 0 and 1
|
|
125
|
+
const currentZoom = camera.position.z;
|
|
126
|
+
|
|
127
|
+
// Calculate the new camera position and field of view
|
|
128
|
+
// camera.position.z = currentZoom + (targetZoom - currentZoom) * progress;
|
|
129
|
+
camera.zoom = 1 + (17 - 1) * progress; // Adjust the field of view
|
|
130
|
+
|
|
131
|
+
camera.updateProjectionMatrix(); // Update the camera's projection matrix
|
|
132
|
+
|
|
133
|
+
if (progress < 1) {
|
|
134
|
+
requestAnimationFrame(updateCameraZoom);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
updateCameraZoom();
|
|
139
|
+
findSuitablePosition(window.innerWidth, model.scene);
|
|
140
|
+
|
|
141
|
+
return () => {
|
|
142
|
+
// Clean up Three.js resources when component unmounts
|
|
143
|
+
gl.dispose();
|
|
144
|
+
};
|
|
145
|
+
}, [model.scene, currentStep]);
|
|
146
|
+
|
|
147
|
+
return (
|
|
148
|
+
<mesh>
|
|
149
|
+
<Environment preset={"city"} blur={0} />
|
|
150
|
+
<primitive object={model.scene} rotation={[0, 0, 0]} ref={primitiveRef} />
|
|
151
|
+
{!prodMode && (
|
|
152
|
+
<>
|
|
153
|
+
{/* <axesHelper args={[500]} /> */}
|
|
154
|
+
{/*<Stats />*/}
|
|
155
|
+
</>
|
|
156
|
+
)}
|
|
157
|
+
</mesh>
|
|
158
|
+
);
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
const ThreeModel = ({ assetUrl }: { assetUrl: string }) => {
|
|
162
|
+
const [isTablet, setIsTablet] = useState(false);
|
|
163
|
+
|
|
164
|
+
useEffect(() => {
|
|
165
|
+
const mediaQuery = window.matchMedia("(min-width: 664px)");
|
|
166
|
+
|
|
167
|
+
setIsTablet(mediaQuery.matches);
|
|
168
|
+
|
|
169
|
+
const handleMediaQueryChange = (event: any) => {
|
|
170
|
+
setIsTablet(event.matches);
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
mediaQuery.addEventListener("change", handleMediaQueryChange);
|
|
174
|
+
|
|
175
|
+
return () => {
|
|
176
|
+
mediaQuery.removeEventListener("change", handleMediaQueryChange);
|
|
177
|
+
};
|
|
178
|
+
}, []);
|
|
179
|
+
|
|
180
|
+
return (
|
|
181
|
+
<Canvas
|
|
182
|
+
frameloop="demand"
|
|
183
|
+
shadows
|
|
184
|
+
orthographic
|
|
185
|
+
camera={{
|
|
186
|
+
position: [20, 3, 0],
|
|
187
|
+
// fov: 100,
|
|
188
|
+
// zoom: 15
|
|
189
|
+
}}
|
|
190
|
+
gl={{
|
|
191
|
+
preserveDrawingBuffer: true,
|
|
192
|
+
}}>
|
|
193
|
+
<Suspense fallback={<CanvasLoader />}>
|
|
194
|
+
<OrbitControls
|
|
195
|
+
enableDamping
|
|
196
|
+
enableZoom={true}
|
|
197
|
+
enablePan={false}
|
|
198
|
+
autoRotate
|
|
199
|
+
// turn on to lock rotation on vertical direction
|
|
200
|
+
maxPolarAngle={-(Math.PI / 2)}
|
|
201
|
+
minPolarAngle={Math.PI / 2}
|
|
202
|
+
/>
|
|
203
|
+
<ThreeAsset assetUrl={assetUrl} isTablet={isTablet} />
|
|
204
|
+
</Suspense>
|
|
205
|
+
<Preload all />
|
|
206
|
+
</Canvas>
|
|
207
|
+
);
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
export default ThreeModel;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import { detectMobileOperatingSystem } from "@/modules/core/utils/helper";
|
|
3
|
+
import { OS } from "../../models/general";
|
|
4
|
+
import { useEffect, useRef, useState } from "react";
|
|
5
|
+
|
|
6
|
+
interface ThreeModelProps {
|
|
7
|
+
asset3DUrl: string;
|
|
8
|
+
showArButton?: boolean;
|
|
9
|
+
isHidden?: boolean;
|
|
10
|
+
poster?: string;
|
|
11
|
+
buttonAr?: React.ReactNode;
|
|
12
|
+
props3D?: any;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const ThreeModelViewer = ({
|
|
16
|
+
asset3DUrl,
|
|
17
|
+
showArButton,
|
|
18
|
+
isHidden = false,
|
|
19
|
+
poster,
|
|
20
|
+
buttonAr = <></>,
|
|
21
|
+
props3D,
|
|
22
|
+
}: ThreeModelProps) => {
|
|
23
|
+
const modelViewerRef = useRef<HTMLDivElement>(null);
|
|
24
|
+
const [loading, setLoading] = useState(true);
|
|
25
|
+
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
const loadModelViewerScript = async () => {
|
|
28
|
+
if (
|
|
29
|
+
typeof document !== "undefined" &&
|
|
30
|
+
!document.querySelector("script#model-viewer-script")
|
|
31
|
+
) {
|
|
32
|
+
const script = document.createElement("script");
|
|
33
|
+
script.id = "model-viewer-script";
|
|
34
|
+
script.src =
|
|
35
|
+
"https://ajax.googleapis.com/ajax/libs/model-viewer/4.0.0/model-viewer.min.js";
|
|
36
|
+
|
|
37
|
+
script.type = "module";
|
|
38
|
+
script.async = true;
|
|
39
|
+
document.body.appendChild(script);
|
|
40
|
+
|
|
41
|
+
script.onload = () => {
|
|
42
|
+
console.log("Model Viewer script loaded successfully.");
|
|
43
|
+
setLoading(false);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
script.onerror = (error) => {
|
|
47
|
+
console.error("Error loading Model Viewer script:", error);
|
|
48
|
+
setLoading(false);
|
|
49
|
+
};
|
|
50
|
+
} else {
|
|
51
|
+
setLoading(false);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
loadModelViewerScript();
|
|
55
|
+
}, []);
|
|
56
|
+
|
|
57
|
+
// const os = detectMobileOperatingSystem();
|
|
58
|
+
// if (isHidden) return;
|
|
59
|
+
// if (os === OS.Android) {
|
|
60
|
+
// return <ThreeModel assetUrl={asset3DUrl} />;
|
|
61
|
+
// }
|
|
62
|
+
return (
|
|
63
|
+
<div ref={modelViewerRef} className="w-full h-full">
|
|
64
|
+
{loading ? (
|
|
65
|
+
<div className="absolute inset-0 flex items-center justify-center">
|
|
66
|
+
loading...
|
|
67
|
+
</div>
|
|
68
|
+
) : (
|
|
69
|
+
<model-viewer
|
|
70
|
+
camera-controls
|
|
71
|
+
auto-rotate
|
|
72
|
+
src={asset3DUrl}
|
|
73
|
+
alt="3D model"
|
|
74
|
+
ar
|
|
75
|
+
poster={poster}
|
|
76
|
+
disable-pan
|
|
77
|
+
disable-tap
|
|
78
|
+
{...props3D}
|
|
79
|
+
// camera-orbit="0deg 75deg auto"
|
|
80
|
+
// min-camera-orbit="auto 75deg auto"
|
|
81
|
+
// max-camera-orbit="auto 75deg auto"
|
|
82
|
+
>
|
|
83
|
+
<div slot="ar-button">{buttonAr}</div>
|
|
84
|
+
</model-viewer>
|
|
85
|
+
)}
|
|
86
|
+
</div>
|
|
87
|
+
);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export default ThreeModelViewer;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// import { Mousewheel } from "swiper";
|
|
2
|
+
import { useEffect, useRef } from "react";
|
|
3
|
+
import { Swiper, SwiperProps, SwiperSlide } from "swiper/react";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import type { Swiper as SwiperType } from "swiper";
|
|
6
|
+
import { Navigation, Autoplay, Pagination } from "swiper/modules";
|
|
7
|
+
|
|
8
|
+
interface CarouselCustomProps extends SwiperProps {
|
|
9
|
+
listItem: React.ReactNode[];
|
|
10
|
+
hasClickNavigation?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
wrapperClassName?: string;
|
|
13
|
+
setSwiperInstance?: React.Dispatch<React.SetStateAction<SwiperType | null>>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const CarouselCustom = (props: CarouselCustomProps) => {
|
|
17
|
+
const {
|
|
18
|
+
slidesPerView = 1.05,
|
|
19
|
+
direction = "horizontal",
|
|
20
|
+
listItem,
|
|
21
|
+
className = "",
|
|
22
|
+
hasClickNavigation = true,
|
|
23
|
+
wrapperClassName = "",
|
|
24
|
+
setSwiperInstance,
|
|
25
|
+
...rest
|
|
26
|
+
} = props;
|
|
27
|
+
const swiperRef = useRef<SwiperType>();
|
|
28
|
+
|
|
29
|
+
const handleClick = (e: React.MouseEvent<HTMLDivElement>) => {
|
|
30
|
+
if (!hasClickNavigation) return;
|
|
31
|
+
const container = e.currentTarget;
|
|
32
|
+
const { clientX } = e;
|
|
33
|
+
const { left, width } = container.getBoundingClientRect();
|
|
34
|
+
const clickX = clientX - left;
|
|
35
|
+
|
|
36
|
+
if (clickX > width / 2) {
|
|
37
|
+
swiperRef.current?.slideNext();
|
|
38
|
+
} else {
|
|
39
|
+
swiperRef.current?.slidePrev();
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
useEffect(() => {
|
|
44
|
+
if (!setSwiperInstance || !swiperRef.current) return;
|
|
45
|
+
setSwiperInstance(swiperRef.current);
|
|
46
|
+
}, [setSwiperInstance, swiperRef.current]);
|
|
47
|
+
|
|
48
|
+
return (
|
|
49
|
+
<div
|
|
50
|
+
className={twMerge("h-full w-full relative", wrapperClassName)}
|
|
51
|
+
onClick={handleClick}
|
|
52
|
+
>
|
|
53
|
+
<Swiper
|
|
54
|
+
onSwiper={(swiper) => (swiperRef.current = swiper)}
|
|
55
|
+
// loop={true}
|
|
56
|
+
className={twMerge("w-full", className)}
|
|
57
|
+
slidesPerView={slidesPerView}
|
|
58
|
+
spaceBetween={8}
|
|
59
|
+
pagination={{
|
|
60
|
+
clickable: true,
|
|
61
|
+
}}
|
|
62
|
+
direction={direction}
|
|
63
|
+
// modules={[Mousewheel]}
|
|
64
|
+
modules={[Autoplay, Pagination]}
|
|
65
|
+
{...rest}
|
|
66
|
+
>
|
|
67
|
+
{listItem &&
|
|
68
|
+
listItem.map((item, index) => {
|
|
69
|
+
return (
|
|
70
|
+
<SwiperSlide className="w-fit" key={index}>
|
|
71
|
+
{item}
|
|
72
|
+
</SwiperSlide>
|
|
73
|
+
);
|
|
74
|
+
})}
|
|
75
|
+
</Swiper>
|
|
76
|
+
</div>
|
|
77
|
+
);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export default CarouselCustom;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { motion } from "framer-motion";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
|
|
6
|
+
export const FadeInMotion: FC<{
|
|
7
|
+
isVisible?: boolean;
|
|
8
|
+
delay: number;
|
|
9
|
+
duration?: number;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
}> = (props) => {
|
|
13
|
+
const { duration = 0.5, delay = 0.5, children, className } = props;
|
|
14
|
+
return (
|
|
15
|
+
<motion.div
|
|
16
|
+
className={clsx(
|
|
17
|
+
"flex w-full flex-col gap-[16px]",
|
|
18
|
+
!!className && className
|
|
19
|
+
)}
|
|
20
|
+
initial={{ opacity: 0 }}
|
|
21
|
+
whileInView={{ opacity: 1 }}
|
|
22
|
+
transition={{ duration, delay }}>
|
|
23
|
+
{children}
|
|
24
|
+
</motion.div>
|
|
25
|
+
);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const FadeInMotionV2: FC<{
|
|
29
|
+
isVisible: boolean;
|
|
30
|
+
delay: number;
|
|
31
|
+
duration?: number;
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
style?: React.CSSProperties;
|
|
35
|
+
}> = (props) => {
|
|
36
|
+
const {
|
|
37
|
+
duration = 0.5,
|
|
38
|
+
delay = 0.5,
|
|
39
|
+
isVisible = true,
|
|
40
|
+
children,
|
|
41
|
+
className = "",
|
|
42
|
+
style = {},
|
|
43
|
+
} = props;
|
|
44
|
+
if (!isVisible) return <></>;
|
|
45
|
+
return (
|
|
46
|
+
<motion.div
|
|
47
|
+
style={style}
|
|
48
|
+
className={twMerge(
|
|
49
|
+
"flex w-full flex-col gap-[16px]",
|
|
50
|
+
className,
|
|
51
|
+
isVisible && "visible",
|
|
52
|
+
!isVisible && "invisible"
|
|
53
|
+
)}
|
|
54
|
+
initial={{ opacity: 0 }}
|
|
55
|
+
animate={{ opacity: 1 }}
|
|
56
|
+
transition={{ duration, delay }}>
|
|
57
|
+
{children}
|
|
58
|
+
</motion.div>
|
|
59
|
+
);
|
|
60
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { useFullScreenContext } from "../../hooks/useFullScreenContext";
|
|
2
|
+
import { DetailedHTMLProps, HTMLAttributes, useEffect, useRef } from "react";
|
|
3
|
+
import { twMerge } from "tailwind-merge";
|
|
4
|
+
|
|
5
|
+
interface Props
|
|
6
|
+
extends DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
7
|
+
name?: string;
|
|
8
|
+
showScrollGuide?: boolean;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
index?: number;
|
|
11
|
+
className?: string;
|
|
12
|
+
isSnapScroll?: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function SectionFullScreen(props: Props) {
|
|
16
|
+
const {
|
|
17
|
+
name,
|
|
18
|
+
children,
|
|
19
|
+
index,
|
|
20
|
+
className,
|
|
21
|
+
isSnapScroll = true,
|
|
22
|
+
...rest
|
|
23
|
+
} = props;
|
|
24
|
+
const id = index !== undefined ? `${name}-${index}` : name;
|
|
25
|
+
const sectionRef = useRef<HTMLElement>(null);
|
|
26
|
+
const { setCurrentSection } = useFullScreenContext();
|
|
27
|
+
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
const sectionRefCurrent = sectionRef.current;
|
|
30
|
+
const observer = new IntersectionObserver(
|
|
31
|
+
(entries) => {
|
|
32
|
+
entries.forEach((entry) => {
|
|
33
|
+
if (entry.isIntersecting) {
|
|
34
|
+
setCurrentSection(name);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
},
|
|
38
|
+
{ threshold: 0.5 }
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
if (sectionRefCurrent) {
|
|
42
|
+
observer.observe(sectionRefCurrent);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return () => {
|
|
46
|
+
if (sectionRefCurrent) {
|
|
47
|
+
observer.unobserve(sectionRefCurrent);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}, []);
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<section
|
|
54
|
+
id={id}
|
|
55
|
+
className={twMerge(
|
|
56
|
+
"relative m-auto w-full h-full max-w-[600px] snap-none",
|
|
57
|
+
!!className && className,
|
|
58
|
+
isSnapScroll ? "snap-center snap-always" : "h-auto"
|
|
59
|
+
)}
|
|
60
|
+
ref={sectionRef}
|
|
61
|
+
{...rest}
|
|
62
|
+
>
|
|
63
|
+
{children}
|
|
64
|
+
</section>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export default SectionFullScreen;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { FC, ReactElement, useEffect, useRef, useState } from "react";
|
|
2
|
+
import PlayIcon from "../icons/PlayIcon";
|
|
3
|
+
|
|
4
|
+
export type VideoProps = {
|
|
5
|
+
videoUrl: string;
|
|
6
|
+
thumbnailUrl?: string;
|
|
7
|
+
objectFit?: "contain" | "cover" | "fill";
|
|
8
|
+
width?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
loop?: boolean;
|
|
11
|
+
muted?: boolean;
|
|
12
|
+
controls?: boolean;
|
|
13
|
+
autoPlay?: boolean;
|
|
14
|
+
onLoadEnded?(): void;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const Video: FC<VideoProps> = (props): ReactElement => {
|
|
18
|
+
const {
|
|
19
|
+
autoPlay = true,
|
|
20
|
+
videoUrl,
|
|
21
|
+
thumbnailUrl,
|
|
22
|
+
objectFit = "contain",
|
|
23
|
+
width = "100%",
|
|
24
|
+
height = "100%",
|
|
25
|
+
loop = false,
|
|
26
|
+
controls = false,
|
|
27
|
+
muted = false,
|
|
28
|
+
onLoadEnded = () => {},
|
|
29
|
+
} = props;
|
|
30
|
+
const [isPlay, setIsPlay] = useState(autoPlay);
|
|
31
|
+
const videoRef = useRef<HTMLVideoElement | null>(null);
|
|
32
|
+
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
if (!videoRef.current && !autoPlay) return;
|
|
35
|
+
const video = videoRef.current as HTMLVideoElement;
|
|
36
|
+
const callback = (entries: IntersectionObserverEntry[]) => {
|
|
37
|
+
entries.forEach((entry) => {
|
|
38
|
+
if (entry.isIntersecting) {
|
|
39
|
+
video.play();
|
|
40
|
+
} else {
|
|
41
|
+
video.pause();
|
|
42
|
+
video.currentTime = 0;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
const observer = new IntersectionObserver(callback);
|
|
47
|
+
observer.observe(video);
|
|
48
|
+
|
|
49
|
+
return () => observer.unobserve(video);
|
|
50
|
+
}, [videoRef.current]);
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<div className="relative h-full w-full">
|
|
54
|
+
<video
|
|
55
|
+
ref={videoRef}
|
|
56
|
+
autoPlay={autoPlay}
|
|
57
|
+
loop={loop}
|
|
58
|
+
playsInline
|
|
59
|
+
muted={muted}
|
|
60
|
+
controls={controls}
|
|
61
|
+
poster={thumbnailUrl}
|
|
62
|
+
onEnded={onLoadEnded}
|
|
63
|
+
style={{
|
|
64
|
+
width,
|
|
65
|
+
height,
|
|
66
|
+
objectFit,
|
|
67
|
+
}}>
|
|
68
|
+
<source src={videoUrl} className="w-full"></source>
|
|
69
|
+
</video>
|
|
70
|
+
{!isPlay && (
|
|
71
|
+
<div className="cursor absolute top-0 flex h-full w-full items-center justify-center">
|
|
72
|
+
<div className="relative flex h-full w-full items-center justify-center">
|
|
73
|
+
<div className="absolute inline-flex h-[55px] w-[55px] animate-ping rounded-full bg-white"></div>
|
|
74
|
+
<div
|
|
75
|
+
className="z-50 flex h-[80px] w-[80px] items-center justify-center rounded-full bg-black"
|
|
76
|
+
onClick={() => {
|
|
77
|
+
console.log(videoRef.current);
|
|
78
|
+
videoRef.current?.play();
|
|
79
|
+
setIsPlay(true);
|
|
80
|
+
}}>
|
|
81
|
+
<PlayIcon />
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
)}
|
|
86
|
+
</div>
|
|
87
|
+
);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export default Video;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
function ThreeDCubeScanIcon() {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
width="32"
|
|
8
|
+
height="32"
|
|
9
|
+
fill="none"
|
|
10
|
+
viewBox="0 0 32 32"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
stroke="#BFBFBF"
|
|
14
|
+
strokeLinecap="round"
|
|
15
|
+
strokeLinejoin="round"
|
|
16
|
+
strokeMiterlimit="10"
|
|
17
|
+
strokeWidth="2"
|
|
18
|
+
d="M2.667 12V9.333c0-4 2.666-6.666 6.666-6.666h13.334c4 0 6.666 2.666 6.666 6.666V12M2.667 20v2.667c0 4 2.666 6.666 6.666 6.666h13.334c4 0 6.666-2.666 6.666-6.666V20"
|
|
19
|
+
></path>
|
|
20
|
+
<path
|
|
21
|
+
stroke="#BFBFBF"
|
|
22
|
+
strokeLinecap="round"
|
|
23
|
+
strokeLinejoin="round"
|
|
24
|
+
strokeWidth="2"
|
|
25
|
+
d="M8.933 12.347L16 16.44l7.013-4.067M16 23.693v-7.266"
|
|
26
|
+
></path>
|
|
27
|
+
<path
|
|
28
|
+
stroke="#BFBFBF"
|
|
29
|
+
strokeLinecap="round"
|
|
30
|
+
strokeLinejoin="round"
|
|
31
|
+
strokeWidth="2"
|
|
32
|
+
d="M14.347 8.387L10.08 10.76c-.96.533-1.76 1.88-1.76 2.987v4.52c0 1.106.787 2.453 1.76 2.986l4.267 2.374c.906.506 2.4.506 3.32 0l4.266-2.374c.96-.533 1.76-1.88 1.76-2.986v-4.52c0-1.107-.786-2.454-1.76-2.987l-4.266-2.373c-.92-.52-2.414-.52-3.32 0z"
|
|
33
|
+
></path>
|
|
34
|
+
</svg>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export default ThreeDCubeScanIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
function ThreeDFlipIcon() {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
width="24"
|
|
8
|
+
height="24"
|
|
9
|
+
fill="none"
|
|
10
|
+
viewBox="0 0 24 24"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
stroke="#F0F0F0"
|
|
14
|
+
strokeLinecap="round"
|
|
15
|
+
strokeLinejoin="round"
|
|
16
|
+
strokeWidth="1.5"
|
|
17
|
+
d="M22 15c0 3.87-3.13 7-7 7l1.05-1.75M2 9c0-3.87 3.13-7 7-7L7.95 3.75"
|
|
18
|
+
></path>
|
|
19
|
+
<path
|
|
20
|
+
fill="#fff"
|
|
21
|
+
d="M6.832 14.308c.072 0 .148.012.228.036a.966.966 0 01.288.144c.136.104.296.196.48.276.192.08.412.12.66.12.248 0 .48-.06.696-.18.224-.128.408-.304.552-.528.144-.232.216-.508.216-.828 0-.304-.064-.556-.192-.756-.12-.2-.284-.352-.492-.456a1.384 1.384 0 00-.648-.156 1.75 1.75 0 00-.444.048 5.453 5.453 0 00-.336.108 1.273 1.273 0 01-.372.048.526.526 0 01-.432-.192.739.739 0 01-.144-.456c0-.112.02-.212.06-.3.048-.088.116-.184.204-.288l2.112-2.244.324.276H6.64a.651.651 0 01-.48-.192.651.651 0 01-.192-.48c0-.184.064-.336.192-.456a.651.651 0 01.48-.192h3.672c.248 0 .432.068.552.204a.723.723 0 01.108.828 1.295 1.295 0 01-.204.264l-2.124 2.28-.324-.408c.088-.04.208-.076.36-.108.16-.032.292-.048.396-.048.472 0 .88.124 1.224.372.352.24.62.556.804.948.192.384.288.8.288 1.248 0 .592-.132 1.104-.396 1.536a2.6 2.6 0 01-1.116.996c-.48.232-1.04.348-1.68.348-.296 0-.588-.036-.876-.108a2.886 2.886 0 01-.744-.288c-.176-.096-.296-.2-.36-.312a.799.799 0 01-.084-.336.81.81 0 01.192-.516.625.625 0 01.504-.252zM15.434 7.6c.576 0 1.088.108 1.536.324.448.216.824.52 1.128.912.312.384.544.832.696 1.344.16.504.24 1.044.24 1.62 0 .776-.14 1.484-.42 2.124a3.57 3.57 0 01-1.224 1.512c-.528.376-1.18.564-1.956.564h-2.868a.74.74 0 01-.528-.204.74.74 0 01-.204-.528V8.332a.718.718 0 01.732-.732h2.868zm-.12 7.02c.504 0 .916-.128 1.236-.384.32-.264.552-.608.696-1.032.152-.432.228-.9.228-1.404a4.2 4.2 0 00-.132-1.068 2.618 2.618 0 00-.384-.9 1.93 1.93 0 00-.672-.624c-.272-.152-.596-.228-.972-.228h-2.1l.12-.108v5.88l-.072-.132h2.052z"
|
|
22
|
+
></path>
|
|
23
|
+
</svg>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export default ThreeDFlipIcon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default function ARExploreIcon() {
|
|
2
|
+
return (
|
|
3
|
+
<svg
|
|
4
|
+
width="25"
|
|
5
|
+
height="24"
|
|
6
|
+
viewBox="0 0 25 24"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
9
|
+
<path
|
|
10
|
+
d="M22.25 4.5V8.25C22.25 8.44891 22.171 8.63968 22.0303 8.78033C21.8897 8.92098 21.6989 9 21.5 9C21.3011 9 21.1103 8.92098 20.9697 8.78033C20.829 8.63968 20.75 8.44891 20.75 8.25V5.25H17.75C17.5511 5.25 17.3603 5.17098 17.2197 5.03033C17.079 4.88968 17 4.69891 17 4.5C17 4.30109 17.079 4.11032 17.2197 3.96967C17.3603 3.82902 17.5511 3.75 17.75 3.75H21.5C21.6989 3.75 21.8897 3.82902 22.0303 3.96967C22.171 4.11032 22.25 4.30109 22.25 4.5ZM7.25 18.75H4.25V15.75C4.25 15.5511 4.17098 15.3603 4.03033 15.2197C3.88968 15.079 3.69891 15 3.5 15C3.30109 15 3.11032 15.079 2.96967 15.2197C2.82902 15.3603 2.75 15.5511 2.75 15.75V19.5C2.75 19.6989 2.82902 19.8897 2.96967 20.0303C3.11032 20.171 3.30109 20.25 3.5 20.25H7.25C7.44891 20.25 7.63968 20.171 7.78033 20.0303C7.92098 19.8897 8 19.6989 8 19.5C8 19.3011 7.92098 19.1103 7.78033 18.9697C7.63968 18.829 7.44891 18.75 7.25 18.75ZM21.5 15C21.3011 15 21.1103 15.079 20.9697 15.2197C20.829 15.3603 20.75 15.5511 20.75 15.75V18.75H17.75C17.5511 18.75 17.3603 18.829 17.2197 18.9697C17.079 19.1103 17 19.3011 17 19.5C17 19.6989 17.079 19.8897 17.2197 20.0303C17.3603 20.171 17.5511 20.25 17.75 20.25H21.5C21.6989 20.25 21.8897 20.171 22.0303 20.0303C22.171 19.8897 22.25 19.6989 22.25 19.5V15.75C22.25 15.5511 22.171 15.3603 22.0303 15.2197C21.8897 15.079 21.6989 15 21.5 15ZM3.5 9C3.69891 9 3.88968 8.92098 4.03033 8.78033C4.17098 8.63968 4.25 8.44891 4.25 8.25V5.25H7.25C7.44891 5.25 7.63968 5.17098 7.78033 5.03033C7.92098 4.88968 8 4.69891 8 4.5C8 4.30109 7.92098 4.11032 7.78033 3.96967C7.63968 3.82902 7.44891 3.75 7.25 3.75H3.5C3.30109 3.75 3.11032 3.82902 2.96967 3.96967C2.82902 4.11032 2.75 4.30109 2.75 4.5V8.25C2.75 8.44891 2.82902 8.63968 2.96967 8.78033C3.11032 8.92098 3.30109 9 3.5 9ZM17.18 7.81031L12.875 5.34844C12.7617 5.28365 12.6334 5.24957 12.5028 5.24957C12.3723 5.24957 12.244 5.28365 12.1306 5.34844L7.82 7.81031C7.76139 7.84274 7.71253 7.89028 7.67851 7.94798C7.64449 8.00569 7.62655 8.07145 7.62655 8.13844C7.62655 8.20542 7.64449 8.27119 7.67851 8.32889C7.71253 8.3866 7.76139 8.43413 7.82 8.46656L12.5 11.1366L17.18 8.46187C17.2375 8.4291 17.2853 8.3817 17.3185 8.32448C17.3518 8.26726 17.3693 8.20227 17.3693 8.13609C17.3693 8.06992 17.3518 8.00492 17.3185 7.94771C17.2853 7.89049 17.2375 7.84309 17.18 7.81031ZM6.5 10.0809V15C6.49881 15.1328 6.5329 15.2635 6.59879 15.3788C6.66467 15.4941 6.75999 15.5899 6.875 15.6562L11.1875 18.1191C11.2445 18.152 11.3093 18.1693 11.3751 18.1693C11.441 18.1693 11.5057 18.1519 11.5627 18.1189C11.6198 18.0859 11.6671 18.0385 11.7 17.9814C11.7328 17.9244 11.7501 17.8596 11.75 17.7938V12.435L7.0625 9.75562C7.00545 9.72269 6.94074 9.70536 6.87486 9.70538C6.80899 9.70541 6.74428 9.72278 6.68726 9.75576C6.63024 9.78874 6.58291 9.83616 6.55003 9.89324C6.51716 9.95033 6.4999 10.0151 6.5 10.0809ZM18.5 15V10.0809C18.5001 10.0151 18.4828 9.95033 18.45 9.89324C18.4171 9.83616 18.3698 9.78874 18.3127 9.75576C18.2557 9.72278 18.191 9.70541 18.1251 9.70538C18.0593 9.70536 17.9945 9.72269 17.9375 9.75562L13.25 12.435V17.7891C13.2499 17.8549 13.2672 17.9197 13.3 17.9768C13.3329 18.0338 13.3802 18.0813 13.4373 18.1142C13.4943 18.1472 13.559 18.1646 13.6249 18.1646C13.6907 18.1646 13.7555 18.1473 13.8125 18.1144L18.125 15.6562C18.24 15.5899 18.3353 15.4941 18.4012 15.3788C18.4671 15.2635 18.5012 15.1328 18.5 15Z"
|
|
11
|
+
fill="black"
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
}
|