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,170 @@
|
|
|
1
|
+
import { Field } from "../../../types/base";
|
|
2
|
+
import { Media } from "../../../../../models/general";
|
|
3
|
+
import { HEADER_HEGIHT } from "../../../../../constants";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { LayoutImages } from "../../BEDIPageSection";
|
|
6
|
+
import { ImageNomion as Image } from '@phygitallabs/core-ui/components/image-nomion';
|
|
7
|
+
|
|
8
|
+
interface Props {
|
|
9
|
+
sectionData: {
|
|
10
|
+
sender: Field<string>;
|
|
11
|
+
receiver: Field<string>;
|
|
12
|
+
memory_images: Field<Media[]>;
|
|
13
|
+
letter: Field;
|
|
14
|
+
letter_background: Field<Media>;
|
|
15
|
+
layout_images: Field<LayoutImages>;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const IMG_HAPPIEST =
|
|
20
|
+
"https://storage.googleapis.com/assets-fygito/images/user_id/1723626533-Thehappiestcouple.webp";
|
|
21
|
+
const IMG_TO_HEART =
|
|
22
|
+
"https://storage.googleapis.com/assets-fygito/images/user_id/1723626572-totheheart,loveandbeyond.webp";
|
|
23
|
+
// const IMG_DEAR =
|
|
24
|
+
// "https://storage.googleapis.com/assets-fygito/images/user_id/1723625442-Dear.webp";
|
|
25
|
+
const DEFAULT_BG =
|
|
26
|
+
"https://storage.googleapis.com/assets-fygito/images/user_id/1723711363-image1.webp";
|
|
27
|
+
|
|
28
|
+
const getLayoutFromLength = (length: number) => {
|
|
29
|
+
if (length > 6) return;
|
|
30
|
+
if (length === 2) return LayoutImages.Two;
|
|
31
|
+
if (length === 3) return LayoutImages.Three;
|
|
32
|
+
if (length === 4) return LayoutImages.Four;
|
|
33
|
+
if (length === 5) return LayoutImages.Four;
|
|
34
|
+
if (length === 6) return LayoutImages.Six;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
function CommonLayout({ children, className }: any) {
|
|
38
|
+
return (
|
|
39
|
+
<div
|
|
40
|
+
className={twMerge(
|
|
41
|
+
"flex flex-col justify-center max-w-full max-h-[500px] short:max-h-[340px] h-full",
|
|
42
|
+
className
|
|
43
|
+
)}
|
|
44
|
+
>
|
|
45
|
+
{children}
|
|
46
|
+
</div>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function CommonImage({ url, className }: any) {
|
|
51
|
+
return (
|
|
52
|
+
<div className={twMerge("p-[1px]", className)}>
|
|
53
|
+
<Image
|
|
54
|
+
className={twMerge("object-cover")}
|
|
55
|
+
width="100%"
|
|
56
|
+
height={"100%"}
|
|
57
|
+
src={url}
|
|
58
|
+
alt={url}
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const BEDIBentoImageSection = (props: Props) => {
|
|
65
|
+
const { sectionData } = props;
|
|
66
|
+
const { sender, receiver, memory_images, layout_images } = sectionData;
|
|
67
|
+
const renderImages = () => {
|
|
68
|
+
const imageLength = memory_images?.value?.filter(
|
|
69
|
+
(image) => image?.url
|
|
70
|
+
)?.length;
|
|
71
|
+
if (!imageLength) return null;
|
|
72
|
+
let layout = layout_images?.value;
|
|
73
|
+
if (!layout) layout = getLayoutFromLength(imageLength)!;
|
|
74
|
+
switch (layout) {
|
|
75
|
+
case LayoutImages.Two:
|
|
76
|
+
return (
|
|
77
|
+
<CommonLayout className="aspect-[16/18]">
|
|
78
|
+
{memory_images?.value
|
|
79
|
+
?.slice(0, 2)
|
|
80
|
+
?.map((image, index) => (
|
|
81
|
+
<CommonImage
|
|
82
|
+
url={image?.url}
|
|
83
|
+
className="h-1/2 w-full"
|
|
84
|
+
key={index}
|
|
85
|
+
/>
|
|
86
|
+
))}
|
|
87
|
+
</CommonLayout>
|
|
88
|
+
);
|
|
89
|
+
case LayoutImages.Three:
|
|
90
|
+
return (
|
|
91
|
+
<CommonLayout className="aspect-[16/27]">
|
|
92
|
+
{memory_images?.value
|
|
93
|
+
?.slice(0, 3)
|
|
94
|
+
?.map((image, index) => (
|
|
95
|
+
<CommonImage
|
|
96
|
+
url={image?.url}
|
|
97
|
+
className="h-1/3 w-full"
|
|
98
|
+
key={index}
|
|
99
|
+
/>
|
|
100
|
+
))}
|
|
101
|
+
</CommonLayout>
|
|
102
|
+
);
|
|
103
|
+
case LayoutImages.Four:
|
|
104
|
+
return (
|
|
105
|
+
<CommonLayout className="aspect-[9/16] flex-wrap">
|
|
106
|
+
{memory_images?.value
|
|
107
|
+
?.slice(0, 4)
|
|
108
|
+
?.map((image, index) => (
|
|
109
|
+
<CommonImage
|
|
110
|
+
url={image?.url}
|
|
111
|
+
className="h-1/2 w-1/2"
|
|
112
|
+
key={index}
|
|
113
|
+
/>
|
|
114
|
+
))}
|
|
115
|
+
</CommonLayout>
|
|
116
|
+
);
|
|
117
|
+
case LayoutImages.Six:
|
|
118
|
+
return (
|
|
119
|
+
<CommonLayout className="aspect-[10/12] flex-wrap">
|
|
120
|
+
{memory_images?.value
|
|
121
|
+
?.slice(0, 6)
|
|
122
|
+
?.map((image, index) => (
|
|
123
|
+
<CommonImage
|
|
124
|
+
url={image?.url}
|
|
125
|
+
className="h-1/3 w-1/2"
|
|
126
|
+
key={index}
|
|
127
|
+
/>
|
|
128
|
+
))}
|
|
129
|
+
</CommonLayout>
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
return (
|
|
135
|
+
<div
|
|
136
|
+
className="flex flex-col relative w-full justify-center items-center h-[100svh] svh-full"
|
|
137
|
+
// isSnapScroll={false}
|
|
138
|
+
>
|
|
139
|
+
<div
|
|
140
|
+
className="flex flex-col items-center justify-center h-full pb-10 pt-[60px] short:pt-[55px] gap-4 short:gap-3 w-full"
|
|
141
|
+
style={{
|
|
142
|
+
backgroundImage: `url(${DEFAULT_BG})`,
|
|
143
|
+
}}
|
|
144
|
+
>
|
|
145
|
+
<div className="h-[calc(100%-110px)] w-full flex flex-col items-center gap-1.5 justify-center">
|
|
146
|
+
<img
|
|
147
|
+
className="max-w-[275px] short:w-[200px]"
|
|
148
|
+
src={IMG_HAPPIEST}
|
|
149
|
+
alt="Happiest"
|
|
150
|
+
/>
|
|
151
|
+
<div className="flex gap-2 font-canela text-2xl mb-6 text-white">
|
|
152
|
+
<div>{sender?.value}</div>
|
|
153
|
+
<div>&</div>
|
|
154
|
+
<div>{receiver?.value}</div>
|
|
155
|
+
</div>
|
|
156
|
+
<div className="flex w-full flex-wrap back justify-center px-4">
|
|
157
|
+
{renderImages()}
|
|
158
|
+
</div>
|
|
159
|
+
<img
|
|
160
|
+
className="w-[150px] short:w-[125px] mt-2"
|
|
161
|
+
src={IMG_TO_HEART}
|
|
162
|
+
alt="Dear"
|
|
163
|
+
/>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
);
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
export default BEDIBentoImageSection;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import VideoRef from "../../../moleculars/VideoRef";
|
|
2
|
+
import PlayIcon from "../../../../icons/PlayIcon";
|
|
3
|
+
import { useRef, useState } from "react";
|
|
4
|
+
import { useSwiper } from "swiper/react";
|
|
5
|
+
import { HEADER_HEGIHT } from "../../../../../constants";
|
|
6
|
+
import { BEDIEnumId } from "../constants";
|
|
7
|
+
|
|
8
|
+
const BEDIIntroSection = ({ onVideoEnd }: any) => {
|
|
9
|
+
const videoIntroRef = useRef<HTMLVideoElement | null>(null);
|
|
10
|
+
const audioRef = useRef<HTMLAudioElement | null>(null);
|
|
11
|
+
const [isPlay, setIsPlay] = useState(false);
|
|
12
|
+
const swiper = useSwiper();
|
|
13
|
+
|
|
14
|
+
const scrollToNextPage = () => {
|
|
15
|
+
swiper.slideNext();
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const resetVideo = () => {
|
|
19
|
+
if (!videoIntroRef?.current) return;
|
|
20
|
+
videoIntroRef.current.currentTime = 0;
|
|
21
|
+
setIsPlay(false);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const handleVideoEnd = () => {
|
|
25
|
+
onVideoEnd();
|
|
26
|
+
setTimeout(() => {
|
|
27
|
+
resetVideo();
|
|
28
|
+
scrollToNextPage();
|
|
29
|
+
}, 1500);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<div
|
|
34
|
+
id={BEDIEnumId.Intro}
|
|
35
|
+
className="flex flex-col items-center justify-center text-center gap-2 relative h-[100svh] svh-full"
|
|
36
|
+
style={{
|
|
37
|
+
paddingTop: `${HEADER_HEGIHT}px`,
|
|
38
|
+
}}>
|
|
39
|
+
<VideoRef
|
|
40
|
+
videoUrl="https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/bedi-video.MOV"
|
|
41
|
+
onLoadEnded={handleVideoEnd}
|
|
42
|
+
ref={videoIntroRef}
|
|
43
|
+
thumbnailUrl="https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/bedi-video-thumbnail.webp"
|
|
44
|
+
objectFit="cover"
|
|
45
|
+
muted={true}
|
|
46
|
+
/>
|
|
47
|
+
<audio
|
|
48
|
+
loop
|
|
49
|
+
ref={audioRef}
|
|
50
|
+
src="https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/time-flies.mp3"
|
|
51
|
+
/>
|
|
52
|
+
{!isPlay && (
|
|
53
|
+
<>
|
|
54
|
+
<div
|
|
55
|
+
className="z-50 absolute top-1/2 -translate-y-1/2 flex h-[80px] w-[80px] items-center justify-center rounded-full bg-black"
|
|
56
|
+
onClick={() => {
|
|
57
|
+
videoIntroRef.current?.play();
|
|
58
|
+
audioRef?.current?.play();
|
|
59
|
+
setIsPlay(true);
|
|
60
|
+
}}>
|
|
61
|
+
<PlayIcon />
|
|
62
|
+
</div>
|
|
63
|
+
</>
|
|
64
|
+
)}
|
|
65
|
+
</div>
|
|
66
|
+
);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default BEDIIntroSection;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { BaseSectionProps } from "../../../../../models/base-section";
|
|
2
|
+
import { Field } from "../../../types/base";
|
|
3
|
+
import { Media } from "../../../../../models/general";
|
|
4
|
+
import { parse } from "@phygitallabs/helpers";
|
|
5
|
+
import { FadeInMotion } from "../../../../FadeInMotion";
|
|
6
|
+
import { HEADER_HEGIHT } from "../../../../../../LandingPage/constants";
|
|
7
|
+
import { ImageNomion as Image } from '@phygitallabs/core-ui/components/image-nomion';
|
|
8
|
+
|
|
9
|
+
interface Props extends BaseSectionProps {}
|
|
10
|
+
interface SectionData {
|
|
11
|
+
letter_background: Field<Media>;
|
|
12
|
+
letter: Field;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const IMG_DEAR =
|
|
16
|
+
"https://storage.googleapis.com/assets-fygito/images/user_id/1723625442-Dear.webp";
|
|
17
|
+
// const IMG_INFINITIVE_LOVE =
|
|
18
|
+
// "https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/bedi/infinity love.webp";
|
|
19
|
+
const DEFAULT_BG =
|
|
20
|
+
"https://storage.googleapis.com/assets-fygito/images/user_id/1723711363-image1.webp";
|
|
21
|
+
|
|
22
|
+
const BEDILetterSection = (props: Props) => {
|
|
23
|
+
const { sectionData } = props;
|
|
24
|
+
const { letter, letter_background } = sectionData as SectionData;
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<div
|
|
28
|
+
style={{
|
|
29
|
+
paddingTop: `${HEADER_HEGIHT}px`,
|
|
30
|
+
}}
|
|
31
|
+
className="w-full h-[100svh] svh-full relative">
|
|
32
|
+
<FadeInMotion className="h-full" delay={0.5}>
|
|
33
|
+
<div className="relative z-50 h-full w-full px-5 pb-[10svh] justify-center pt-[30px] flex flex-col items-center gap-3">
|
|
34
|
+
<img className="w-auto max-h-[60px]" src={IMG_DEAR} alt="Dear" />
|
|
35
|
+
<div className="w-full text-justify text-base leading-7 mb-10 text-white">
|
|
36
|
+
{parse(letter?.value?.htmlContent)}
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
{!letter_background?.value?.url && (
|
|
41
|
+
<div className="absolute z-0 w-full h-full top-0 left-0">
|
|
42
|
+
<Image
|
|
43
|
+
width={"100%"}
|
|
44
|
+
height={"100%"}
|
|
45
|
+
className="object-cover"
|
|
46
|
+
src={DEFAULT_BG}
|
|
47
|
+
alt="Infinity love"
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
50
|
+
)}
|
|
51
|
+
|
|
52
|
+
{letter_background?.value?.url && (
|
|
53
|
+
<div className="absolute z-10 w-full h-full">
|
|
54
|
+
<div className="w-full h-full relative overlay z-20"></div>
|
|
55
|
+
<div className="absolute z-2 w-full h-full top-0 left-0">
|
|
56
|
+
<Image
|
|
57
|
+
width={"100%"}
|
|
58
|
+
height={"100%"}
|
|
59
|
+
className="object-cover"
|
|
60
|
+
src={letter_background?.value?.url}
|
|
61
|
+
alt="Infinity love"
|
|
62
|
+
/>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
)}
|
|
66
|
+
</FadeInMotion>
|
|
67
|
+
</div>
|
|
68
|
+
);
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export default BEDILetterSection;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import CarouselCustom from "../../../../CarouselCustom";
|
|
2
|
+
import BEDIIntroSection from "./BEDIIntroSection";
|
|
3
|
+
import BEDIBentoImageSection from "./BEDIBentoImageSection";
|
|
4
|
+
import { useEffect, useRef, useState } from "react";
|
|
5
|
+
import { BEDISectionData } from "../index";
|
|
6
|
+
import { BEDIEnumId } from "../constants";
|
|
7
|
+
import BEDILetterSection from "../../BEDIPageSection/BEDIPage1Section/BEDILetterSection";
|
|
8
|
+
|
|
9
|
+
interface Props {
|
|
10
|
+
sectionData: BEDISectionData;
|
|
11
|
+
handleShowScrollDown?: () => void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const BEDIPage1Section = (props: Props) => {
|
|
15
|
+
const { sectionData, handleShowScrollDown } = props;
|
|
16
|
+
const {
|
|
17
|
+
sender,
|
|
18
|
+
receiver,
|
|
19
|
+
memory_images,
|
|
20
|
+
letter,
|
|
21
|
+
letter_background,
|
|
22
|
+
layout_images,
|
|
23
|
+
} = sectionData;
|
|
24
|
+
const [pageIndex, setPageIndex] = useState(1);
|
|
25
|
+
const [swiperInstance, setSwiperInstance] = useState<any>(null);
|
|
26
|
+
const [autoSlide, setAutoSlide] = useState(false);
|
|
27
|
+
const timerId = useRef<any>(null);
|
|
28
|
+
|
|
29
|
+
const scrollToNextpage = () => {
|
|
30
|
+
console.log("scrollToNextpage");
|
|
31
|
+
const container = document.getElementsByTagName("body")[0];
|
|
32
|
+
const targetEle = document.getElementById(BEDIEnumId.WhatIsLove)!;
|
|
33
|
+
const top = targetEle?.offsetTop - 48;
|
|
34
|
+
if (container) {
|
|
35
|
+
container.scrollTo({
|
|
36
|
+
top,
|
|
37
|
+
behavior: "smooth", // Add smooth scrolling effect
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
useEffect(() => {
|
|
43
|
+
const container = document.getElementById("snap-container");
|
|
44
|
+
if (!container) return;
|
|
45
|
+
container.addEventListener("scroll", () => {
|
|
46
|
+
clearTimeout(timerId.current);
|
|
47
|
+
});
|
|
48
|
+
}, []);
|
|
49
|
+
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
if (!swiperInstance) return;
|
|
52
|
+
if (pageIndex === 1) clearTimeout(timerId.current);
|
|
53
|
+
if (pageIndex === 2) {
|
|
54
|
+
if (autoSlide) {
|
|
55
|
+
timerId.current = setTimeout(() => swiperInstance.slideNext(), 4000);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (pageIndex === 3) {
|
|
59
|
+
handleShowScrollDown?.();
|
|
60
|
+
if (autoSlide) {
|
|
61
|
+
setAutoSlide(false);
|
|
62
|
+
timerId.current = setTimeout(() => {
|
|
63
|
+
scrollToNextpage();
|
|
64
|
+
}, 7000);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return () => clearTimeout(timerId.current);
|
|
69
|
+
}, [pageIndex]);
|
|
70
|
+
|
|
71
|
+
return (
|
|
72
|
+
<div
|
|
73
|
+
id={BEDIEnumId.Intro}
|
|
74
|
+
className="flex flex-col items-center justify-center text-center gap-2 relative h-[100svh] svh-full bg-[#040A3F]">
|
|
75
|
+
<CarouselCustom
|
|
76
|
+
spaceBetween={0}
|
|
77
|
+
setSwiperInstance={setSwiperInstance}
|
|
78
|
+
hasClickNavigation={false}
|
|
79
|
+
onSlideChange={(swiper) => {
|
|
80
|
+
setPageIndex(swiper.realIndex + 1);
|
|
81
|
+
}}
|
|
82
|
+
slidesPerView={1}
|
|
83
|
+
listItem={[
|
|
84
|
+
<BEDIIntroSection onVideoEnd={() => setAutoSlide(true)} />,
|
|
85
|
+
<BEDIBentoImageSection
|
|
86
|
+
sectionData={{
|
|
87
|
+
sender,
|
|
88
|
+
receiver,
|
|
89
|
+
memory_images,
|
|
90
|
+
letter,
|
|
91
|
+
letter_background,
|
|
92
|
+
layout_images,
|
|
93
|
+
}}
|
|
94
|
+
/>,
|
|
95
|
+
<BEDILetterSection sectionData={{ letter, letter_background }} />,
|
|
96
|
+
]}
|
|
97
|
+
/>
|
|
98
|
+
</div>
|
|
99
|
+
);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export default BEDIPage1Section;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { twMerge } from "tailwind-merge";
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
const BgLetter = (props: Props) => {
|
|
8
|
+
const { url } = props;
|
|
9
|
+
return (
|
|
10
|
+
<>
|
|
11
|
+
<div
|
|
12
|
+
className="absolute h-[100svh] svh-full w-full bg-cover bg-center blur z-10 bg-black"
|
|
13
|
+
style={{
|
|
14
|
+
backgroundImage: `url("${url}")`,
|
|
15
|
+
}}
|
|
16
|
+
/>
|
|
17
|
+
<div
|
|
18
|
+
className={twMerge(
|
|
19
|
+
"absolute inset-0 h-[100svh] svh-full w-full z-20 bg-[#040A3F]"
|
|
20
|
+
)}
|
|
21
|
+
// style={{
|
|
22
|
+
// backgroundColor: "rgba(255, 255, 255, 0.65)",
|
|
23
|
+
// }}
|
|
24
|
+
/>
|
|
25
|
+
</>
|
|
26
|
+
);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default BgLetter;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export enum BEDIEnumId {
|
|
2
|
+
Carousel = "bedi-carousel",
|
|
3
|
+
BentoImage = "bedi-bento-image",
|
|
4
|
+
Intro = "bedi-intro",
|
|
5
|
+
Letter = "bedi-letter",
|
|
6
|
+
Activate = "bedi-activate",
|
|
7
|
+
WhatIsLove = "bedi-what-is-love",
|
|
8
|
+
InfinityLove = "bedi-infinity-love",
|
|
9
|
+
BatteryLove = "bedi-battery-love",
|
|
10
|
+
UserGuide = "bedi-user-guide",
|
|
11
|
+
Contact = "bedi-contact",
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const BEDIMenuOrder = [
|
|
15
|
+
{
|
|
16
|
+
name: "You & Me",
|
|
17
|
+
id: BEDIEnumId.Intro,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: "Tình yêu có nghĩa là gì",
|
|
21
|
+
id: BEDIEnumId.WhatIsLove,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "Kích hoạt Lover - Ship",
|
|
25
|
+
id: BEDIEnumId.Activate,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "Hướng dẫn sử dụng",
|
|
29
|
+
id: BEDIEnumId.UserGuide,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "Liên hệ",
|
|
33
|
+
id: BEDIEnumId.Contact,
|
|
34
|
+
},
|
|
35
|
+
];
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { BaseSectionProps } from "../../../../../LandingPage/models/base-section";
|
|
2
|
+
import { ImageNomion as Image } from '@phygitallabs/core-ui/components/image-nomion';
|
|
3
|
+
import { FC, useEffect, useState } from "react";
|
|
4
|
+
import { Field } from "../../types/base";
|
|
5
|
+
import { LexicalType, Media } from "../../../../models/general";
|
|
6
|
+
import BEDIContactSection from "./BEDIContactSection";
|
|
7
|
+
import { ChevronDown, VerifiedIcon } from "lucide-react";
|
|
8
|
+
import BEDIPage1Section from "./BEDIPage1Section/BEDIPage1Section";
|
|
9
|
+
import BEDICarouselSection from "./BEDICarouselSection";
|
|
10
|
+
import { BEDIEnumId } from "./constants";
|
|
11
|
+
import { twMerge } from "tailwind-merge";
|
|
12
|
+
|
|
13
|
+
export enum LayoutImages {
|
|
14
|
+
Two = "2",
|
|
15
|
+
Three = "3",
|
|
16
|
+
ThreeMixed = "3-mixed",
|
|
17
|
+
Four = "4",
|
|
18
|
+
Six = "6",
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface BEDIContact {
|
|
22
|
+
facebook: string;
|
|
23
|
+
insta: string;
|
|
24
|
+
tiktok: string;
|
|
25
|
+
phone: string;
|
|
26
|
+
location: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface BEDISectionData {
|
|
30
|
+
video_intro: Field<Media>;
|
|
31
|
+
active_image: Field<Media>;
|
|
32
|
+
video_intro_thumbnail: Field<Media>;
|
|
33
|
+
memory_images: Field<Media[]>;
|
|
34
|
+
sender: Field<string>;
|
|
35
|
+
receiver: Field<string>;
|
|
36
|
+
letter: Field<LexicalType>;
|
|
37
|
+
activation_url: Field<string>;
|
|
38
|
+
contacts: Field<BEDIContact>;
|
|
39
|
+
letter_background: Field<Media>;
|
|
40
|
+
layout_images: Field<LayoutImages>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface BEDIPageSectionProps extends BaseSectionProps {
|
|
44
|
+
sectionData: BEDISectionData;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const ScrollGuide = ({
|
|
48
|
+
className = "",
|
|
49
|
+
}: {
|
|
50
|
+
title?: string;
|
|
51
|
+
className?: string;
|
|
52
|
+
}) => {
|
|
53
|
+
return (
|
|
54
|
+
<div
|
|
55
|
+
className={twMerge(
|
|
56
|
+
"fixed bottom-0 left-0 z-[200] flex h-[50px] w-full cursor-pointer flex-col items-center justify-center text-center",
|
|
57
|
+
className
|
|
58
|
+
)}>
|
|
59
|
+
<p className="text-[10px] font-semibold uppercase text-white">
|
|
60
|
+
Kéo xuống
|
|
61
|
+
</p>
|
|
62
|
+
<div className="mx-auto animate-bounce">
|
|
63
|
+
<ChevronDown width={30} height={30} color="white" />
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const BEDIPageSection: FC<BEDIPageSectionProps> = (props) => {
|
|
70
|
+
const { sectionData } = props;
|
|
71
|
+
const { active_image } = sectionData;
|
|
72
|
+
const [show, setShow] = useState(false);
|
|
73
|
+
const [showPosition, setShowPosition] = useState(false);
|
|
74
|
+
const [isInLastSection, setIsInLastSection] = useState<boolean | null>(null);
|
|
75
|
+
const handleScroll = () => {
|
|
76
|
+
const container = document.getElementsByTagName("body")[0];
|
|
77
|
+
const scrollHeight = container?.scrollHeight;
|
|
78
|
+
const scrollTop = container?.scrollTop;
|
|
79
|
+
const clientHeight = container?.clientHeight;
|
|
80
|
+
|
|
81
|
+
// Show button only if scrolled past the viewport height and not too close to the bottom
|
|
82
|
+
if (scrollTop + clientHeight < scrollHeight - 50) {
|
|
83
|
+
setIsInLastSection(false);
|
|
84
|
+
} else {
|
|
85
|
+
setIsInLastSection(true);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (scrollTop > 0) {
|
|
89
|
+
setShowPosition(true);
|
|
90
|
+
} else {
|
|
91
|
+
setShowPosition(false);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
useEffect(() => {
|
|
96
|
+
const container = document.getElementsByTagName("body")[0];
|
|
97
|
+
container?.addEventListener("scroll", handleScroll);
|
|
98
|
+
return () => {
|
|
99
|
+
container?.removeEventListener("scroll", handleScroll);
|
|
100
|
+
};
|
|
101
|
+
}, []);
|
|
102
|
+
|
|
103
|
+
const isShowScrolldown = (showPosition || show) && isInLastSection !== true
|
|
104
|
+
|
|
105
|
+
return (
|
|
106
|
+
<div className="relative" id="bedi-container">
|
|
107
|
+
<div className="bg-[#DDD]">
|
|
108
|
+
<BEDIPage1Section
|
|
109
|
+
handleShowScrollDown={() => setShow(true)}
|
|
110
|
+
sectionData={sectionData}
|
|
111
|
+
/>
|
|
112
|
+
<div
|
|
113
|
+
className="relative w-full flex justify-center items-center"
|
|
114
|
+
id={BEDIEnumId.WhatIsLove}>
|
|
115
|
+
<Image
|
|
116
|
+
src="https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/bedi/Layer_1 (1) (1).webp"
|
|
117
|
+
className="w-full h-full !object-contain aspect-mobile"
|
|
118
|
+
/>
|
|
119
|
+
</div>
|
|
120
|
+
<BEDICarouselSection />
|
|
121
|
+
<div
|
|
122
|
+
id={BEDIEnumId.Activate}
|
|
123
|
+
className="relative w-full flex flex-col justify-center items-center mt-[60px]">
|
|
124
|
+
<div className="relative">
|
|
125
|
+
{active_image?.value?.url && (
|
|
126
|
+
<Image
|
|
127
|
+
src={active_image?.value?.url}
|
|
128
|
+
className="w-full max-h-[100svh] max-svh-full object-contain"
|
|
129
|
+
/>
|
|
130
|
+
)}
|
|
131
|
+
<Image
|
|
132
|
+
src="https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/activate.png"
|
|
133
|
+
className="w-full max-h-[100svh] max-svh-full object-contain mt-[-8px]"
|
|
134
|
+
/>
|
|
135
|
+
<a
|
|
136
|
+
href="https://zalo.me/s/536875380284216243/dynamic-action?slug=2016&code_id=1158"
|
|
137
|
+
target="_blank"
|
|
138
|
+
className="absolute bottom-14 left-[30px] inline-flex items-center justify-center text-white text-md
|
|
139
|
+
max-[380px]:text-xs uppercase gap-1 rounded-lg py-2 px-3 font-medium
|
|
140
|
+
transition-colors focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-slate-50 animate-shimmer bg-[linear-gradient(110deg,#07137A,45%,#F846B8,55%,#07137A)] bg-[length:200%_100%]">
|
|
141
|
+
<VerifiedIcon
|
|
142
|
+
fill="white"
|
|
143
|
+
size={18}
|
|
144
|
+
className="text-black border-none"
|
|
145
|
+
/>
|
|
146
|
+
<p>Kích hoạt ngay</p>
|
|
147
|
+
</a>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
<div className="relative w-full pt-[60px] pb-3 flex justify-center flex-col items-center">
|
|
152
|
+
<Image
|
|
153
|
+
src="https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/tram-sac-3x.webp"
|
|
154
|
+
className="w-full h-full object-contain"
|
|
155
|
+
/>
|
|
156
|
+
</div>
|
|
157
|
+
<div
|
|
158
|
+
id={BEDIEnumId.UserGuide}
|
|
159
|
+
className="relative w-full pb-3 flex justify-center flex-col items-center">
|
|
160
|
+
<Image
|
|
161
|
+
src="https://s3-sgn10.fptcloud.com/phygix-assets/nomion/static/media/user-guide-full.png"
|
|
162
|
+
className="w-full h-full object-contain"
|
|
163
|
+
/>
|
|
164
|
+
</div>
|
|
165
|
+
<BEDIContactSection />
|
|
166
|
+
</div>
|
|
167
|
+
{isShowScrolldown && <ScrollGuide />}
|
|
168
|
+
</div>
|
|
169
|
+
);
|
|
170
|
+
};
|
|
171
|
+
export default BEDIPageSection;
|
package/src/components/LandingPage/common/ui-kit/organisms/BaoNgayNay2025Section/AudioTheme.tsx
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useMedia } from "../../../../hooks";
|
|
2
|
+
import { AUDIO_TET_THEM } from "./constant";
|
|
3
|
+
import { useEffect, useRef } from "react";
|
|
4
|
+
|
|
5
|
+
export const audioThemeId = "audio-theme-tet";
|
|
6
|
+
|
|
7
|
+
export const AudioTheme = () => {
|
|
8
|
+
const audioRef = useRef<HTMLAudioElement | null>(null);
|
|
9
|
+
|
|
10
|
+
const { registerMedia } = useMedia();
|
|
11
|
+
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
if (audioRef.current) {
|
|
14
|
+
registerMedia({
|
|
15
|
+
id: audioThemeId,
|
|
16
|
+
type: "audio",
|
|
17
|
+
element: audioRef.current,
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}, []);
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<audio
|
|
24
|
+
className="invisible"
|
|
25
|
+
ref={audioRef}
|
|
26
|
+
src={AUDIO_TET_THEM}
|
|
27
|
+
preload="auto"
|
|
28
|
+
/>
|
|
29
|
+
);
|
|
30
|
+
};
|