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,34 @@
|
|
|
1
|
+
import { useState } from "react";
|
|
2
|
+
import { BaseModal } from "../atomics";
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const ButtonCommingSoon = (props: Props) => {
|
|
9
|
+
const { children } = props;
|
|
10
|
+
const [isOpenOwner, setIsOpenOwner] = useState(false);
|
|
11
|
+
const toggleModal = () => setIsOpenOwner((pre) => !pre);
|
|
12
|
+
return (
|
|
13
|
+
<>
|
|
14
|
+
<BaseModal
|
|
15
|
+
isOpen={isOpenOwner}
|
|
16
|
+
toggleModal={toggleModal}
|
|
17
|
+
className="rounded-lg border-none p-6">
|
|
18
|
+
<div className="flex min-h-[150px] items-center justify-center text-lg font-semibold text-neutral-4">
|
|
19
|
+
Coming Soon!
|
|
20
|
+
</div>
|
|
21
|
+
</BaseModal>
|
|
22
|
+
|
|
23
|
+
<div
|
|
24
|
+
className="flex-1 rounded-xl border-white gap-1 border py-1"
|
|
25
|
+
onClick={toggleModal}>
|
|
26
|
+
<div className="flex w-full items-center justify-center gap-2">
|
|
27
|
+
{children}
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</>
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export default ButtonCommingSoon;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* eslint-disable react-hooks/exhaustive-deps */
|
|
2
|
+
import { parse } from "@phygitallabs/helpers";
|
|
3
|
+
import {
|
|
4
|
+
forwardRef,
|
|
5
|
+
MutableRefObject,
|
|
6
|
+
useEffect,
|
|
7
|
+
useRef,
|
|
8
|
+
useState,
|
|
9
|
+
} from "react";
|
|
10
|
+
import { getPrimaryStyling } from "../../../utils/helper";
|
|
11
|
+
import { FadeInMotion } from "../../FadeInMotion";
|
|
12
|
+
import { BaseFieldType, FieldConfig, ThemeConfig } from "../types/base";
|
|
13
|
+
|
|
14
|
+
type CollasibleTextType = BaseFieldType & {
|
|
15
|
+
sectionId: string;
|
|
16
|
+
expandedComponent: React.ComponentElement<any, any>;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const getTextContent = (element: any): string => {
|
|
20
|
+
if (typeof element === "string") return element;
|
|
21
|
+
if (Array.isArray(element)) return element.map(getTextContent).join("");
|
|
22
|
+
if (typeof element === "object" && element !== null) {
|
|
23
|
+
if (element.type === "br") return "\n";
|
|
24
|
+
if (element.props && element.props.children) {
|
|
25
|
+
return getTextContent(element.props.children);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return "";
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
// eslint-disable-next-line react/display-name
|
|
32
|
+
const CollasibleText = forwardRef<HTMLDivElement, CollasibleTextType>(
|
|
33
|
+
(props, ref) => {
|
|
34
|
+
const containerRef = ref as MutableRefObject<HTMLDivElement>;
|
|
35
|
+
const contentRef = useRef<HTMLDivElement>(null);
|
|
36
|
+
const { field, expandedComponent, configTheme } = props;
|
|
37
|
+
const { value, style_config: configField } = { ...field };
|
|
38
|
+
|
|
39
|
+
const [isTextOverflow, setIsTextOverflow] = useState(false);
|
|
40
|
+
|
|
41
|
+
// Check for overflow by comparing scroll height vs client height
|
|
42
|
+
const checkOverflow = () => {
|
|
43
|
+
if (!containerRef.current || !contentRef.current) return;
|
|
44
|
+
|
|
45
|
+
const container = containerRef.current;
|
|
46
|
+
const content = contentRef.current;
|
|
47
|
+
|
|
48
|
+
// Allow some buffer for line height calculations
|
|
49
|
+
const hasOverflow = content.scrollHeight > container.clientHeight + 5;
|
|
50
|
+
setIsTextOverflow(hasOverflow);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
if (!containerRef.current || !contentRef.current) return;
|
|
55
|
+
|
|
56
|
+
// Check overflow after content is rendered
|
|
57
|
+
const timer = setTimeout(checkOverflow, 100);
|
|
58
|
+
|
|
59
|
+
// Also check on resize
|
|
60
|
+
const resizeObserver = new ResizeObserver(checkOverflow);
|
|
61
|
+
resizeObserver.observe(containerRef.current);
|
|
62
|
+
|
|
63
|
+
return () => {
|
|
64
|
+
clearTimeout(timer);
|
|
65
|
+
resizeObserver.disconnect();
|
|
66
|
+
};
|
|
67
|
+
}, [containerRef, field, value]);
|
|
68
|
+
|
|
69
|
+
const parsedContent = parse(value || "");
|
|
70
|
+
|
|
71
|
+
return (
|
|
72
|
+
<FadeInMotion duration={0.5} delay={0.5} className="h-full">
|
|
73
|
+
<div
|
|
74
|
+
className="relative h-full w-full overflow-hidden"
|
|
75
|
+
style={{
|
|
76
|
+
...getPrimaryStyling(
|
|
77
|
+
configTheme as ThemeConfig,
|
|
78
|
+
configField as FieldConfig
|
|
79
|
+
),
|
|
80
|
+
}}
|
|
81
|
+
>
|
|
82
|
+
<div
|
|
83
|
+
ref={contentRef}
|
|
84
|
+
style={
|
|
85
|
+
{
|
|
86
|
+
"--max-lines":
|
|
87
|
+
Math.floor((containerRef.current?.clientHeight || 0) / 22) -
|
|
88
|
+
1,
|
|
89
|
+
} as any
|
|
90
|
+
}
|
|
91
|
+
>
|
|
92
|
+
{parsedContent}
|
|
93
|
+
</div>
|
|
94
|
+
{/* Gradient overlay and read more button */}
|
|
95
|
+
{isTextOverflow && (
|
|
96
|
+
<>
|
|
97
|
+
<div className="absolute bottom-0 left-0 right-0 h-16 bg-gradient-to-t from-black via-black/80 to-transparent"></div>
|
|
98
|
+
<div className="absolute bottom-3 right-0 z-10">
|
|
99
|
+
{expandedComponent}
|
|
100
|
+
</div>
|
|
101
|
+
</>
|
|
102
|
+
)}
|
|
103
|
+
</div>
|
|
104
|
+
</FadeInMotion>
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
export default CollasibleText;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { Envelope, Phone, MapPinArea, Globe } from "@phosphor-icons/react";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
import {
|
|
4
|
+
ContactType,
|
|
5
|
+
ContactTypeEnum,
|
|
6
|
+
ContactValueTypeEnum,
|
|
7
|
+
} from "../../../models/general";
|
|
8
|
+
import { Typography } from "../atomics";
|
|
9
|
+
|
|
10
|
+
const FaxIcon = () => (
|
|
11
|
+
<svg
|
|
12
|
+
width="16"
|
|
13
|
+
height="18"
|
|
14
|
+
viewBox="0 0 16 18"
|
|
15
|
+
fill="none"
|
|
16
|
+
fontSize={24}
|
|
17
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
18
|
+
className="w-6 h-6"
|
|
19
|
+
>
|
|
20
|
+
<path
|
|
21
|
+
d="M14.5044 3.1948C15.0134 3.28384 15.079 3.36234 15.0796 3.87374C15.0814 4.71963 15.0796 5.56553 15.0796 6.42723C15.1581 6.45301 15.2278 6.47996 15.2999 6.49812C15.6906 6.5977 15.9156 6.84198 15.9736 7.24325C15.99 7.35807 15.9987 7.47523 15.9987 7.5918C15.9999 10.6186 16.0023 13.6448 15.9952 16.6717C15.9952 16.9101 15.9777 17.1667 15.8898 17.3834C15.7182 17.8064 15.3602 17.9698 14.908 17.9686C13.0592 17.9639 11.2104 17.9686 9.36225 17.9686C8.05826 17.9686 6.75486 17.9727 5.45088 17.9598C4.68114 17.9522 4.21836 17.4871 4.21719 16.7185C4.21074 13.663 4.21602 10.6069 4.21192 7.55138C4.21133 7.07688 4.431 6.75001 4.84633 6.56314C5.0332 6.47878 5.07069 6.36631 5.06835 6.18471C5.06074 5.43548 5.06484 4.68624 5.06484 3.93642C5.06484 3.34652 5.10877 3.29322 5.69984 3.19539C5.69984 2.62014 5.69984 2.03902 5.69984 1.45791C5.69984 1.21481 5.68871 0.97053 5.70687 0.728595C5.73909 0.299792 6.02144 0.0361827 6.45376 0.0355969C8.43903 0.0314963 10.4237 0.0244667 12.409 0.0455554C12.648 0.0478986 12.918 0.17033 13.1166 0.315022C13.4839 0.583318 13.8114 0.906678 14.1506 1.21188C14.4042 1.44034 14.5114 1.73148 14.5056 2.07183C14.4991 2.44088 14.5038 2.81052 14.5038 3.19598L14.5044 3.1948ZM12.4049 0.489004C12.2696 0.481975 12.1747 0.472602 12.0792 0.472602C10.2597 0.472602 8.43962 0.472602 6.62013 0.473773C6.17551 0.473773 6.14446 0.505407 6.14388 0.959985C6.14388 2.86734 6.14388 4.7747 6.14388 6.68264C6.14388 6.78516 6.15383 6.88826 6.15969 7.00014H14.0445V2.02321C13.6714 2.02321 13.3135 2.03024 12.9567 2.02145C12.5783 2.01208 12.4113 1.83927 12.4055 1.46084C12.4008 1.14275 12.4043 0.82408 12.4043 0.489004H12.4049ZM10.1209 10.1881C11.1319 10.1881 12.1436 10.1904 13.1547 10.1869C13.5407 10.1857 13.7042 10.0229 13.7147 9.63975C13.7229 9.35798 13.7229 9.07563 13.7206 8.79386C13.7171 8.38966 13.5413 8.20747 13.1289 8.20689C11.1167 8.20396 9.10391 8.20513 7.0917 8.20923C6.71386 8.20982 6.53636 8.38497 6.52347 8.75988C6.51351 9.04165 6.51879 9.324 6.52347 9.60577C6.53109 10.0164 6.70097 10.1851 7.11571 10.1863C8.11743 10.1892 9.11856 10.1869 10.1203 10.1881H10.1209ZM7.82394 16.7818C8.21408 16.7853 8.53159 16.4719 8.52924 16.0841C8.52749 15.7045 8.2299 15.4005 7.85148 15.3905C7.45255 15.38 7.14735 15.6723 7.1409 16.0718C7.13446 16.4707 7.43087 16.7783 7.82394 16.7818ZM10.798 11.9613C10.7998 11.5776 10.5034 11.263 10.1291 11.2519C9.73833 11.2401 9.41673 11.55 9.41321 11.9431C9.40911 12.3356 9.6944 12.6349 10.0793 12.6431C10.4799 12.6519 10.7963 12.352 10.798 11.9613ZM10.7975 16.1251C10.8197 15.7332 10.5245 15.4063 10.1349 15.3911C9.74243 15.3759 9.43957 15.6453 9.41438 16.032C9.38861 16.4332 9.66218 16.7525 10.057 16.7812C10.4471 16.8093 10.774 16.5194 10.7969 16.1251H10.7975ZM7.1409 11.9361C7.13856 12.3479 7.41681 12.6373 7.82219 12.642C8.21643 12.6472 8.5269 12.3438 8.52983 11.9507C8.53276 11.5694 8.2012 11.2384 7.82453 11.2472C7.44435 11.256 7.14325 11.5594 7.1409 11.9361ZM11.6896 11.9179C11.672 12.3268 11.9491 12.632 12.3492 12.6443C12.7511 12.6566 13.0557 12.3731 13.0715 11.9724C13.0867 11.5881 12.7821 11.2659 12.3902 11.2519C12.0153 11.2378 11.7072 11.5313 11.6902 11.9179H11.6896ZM7.85558 13.335C7.45782 13.3268 7.15145 13.6033 7.13915 13.9811C7.12626 14.3871 7.41037 14.6987 7.80813 14.7145C8.19241 14.7297 8.52163 14.4175 8.53276 14.0285C8.5433 13.6536 8.24045 13.3432 7.85616 13.335H7.85558ZM13.0668 16.0876C13.0668 15.684 12.7646 15.3835 12.3645 15.3905C11.9749 15.3976 11.6908 15.6887 11.689 16.0829C11.6873 16.4866 11.9901 16.7894 12.3873 16.7818C12.7728 16.7742 13.0657 16.4748 13.0662 16.0876H13.0668ZM10.0986 14.7122C10.501 14.7087 10.8051 14.4035 10.7992 14.0092C10.7934 13.612 10.4852 13.3215 10.0793 13.3303C9.69088 13.3391 9.4097 13.6349 9.41438 14.0297C9.41907 14.4181 9.71724 14.7157 10.0986 14.7122ZM13.0668 14.0151C13.068 13.6255 12.7733 13.3279 12.3873 13.3297C11.9825 13.3314 11.675 13.6343 11.6814 14.0239C11.6885 14.424 11.9931 14.7186 12.3955 14.7145C12.7739 14.7104 13.0651 14.407 13.0662 14.0145L13.0668 14.0151Z"
|
|
22
|
+
fill="black"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d="M3.3577 12.294C3.3577 13.8206 3.3577 15.3471 3.3577 16.8743C3.3577 17.5609 2.98865 17.9463 2.30795 17.9616C1.92894 17.9698 1.54934 17.9686 1.17033 17.9604C0.477334 17.9457 0.0127967 17.4988 0.0110393 16.8116C0.00108072 13.7579 -0.00184827 10.7047 0.00108072 7.65094C0.00166652 6.99016 0.373062 6.55257 1.0233 6.48637C1.4644 6.44185 1.91957 6.44537 2.35892 6.50219C3.02673 6.5883 3.35594 7.01183 3.35653 7.68492C3.3577 9.22146 3.35653 10.758 3.35653 12.2946L3.3577 12.294Z"
|
|
26
|
+
fill="black"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
d="M11.0039 5.64684C10.8803 5.65621 10.7942 5.65738 10.7098 5.67027C10.4737 5.706 10.356 5.60876 10.3167 5.37151C10.2962 5.24674 10.2453 5.05518 10.1638 5.02823C9.99747 4.97317 9.79888 4.99426 9.61787 5.01828C9.56867 5.02472 9.51946 5.14891 9.49837 5.22623C9.36246 5.72006 9.36481 5.72065 8.8042 5.63805C8.84228 5.47168 8.87567 5.3059 8.91843 5.14305C9.09944 4.46001 9.28924 3.77931 9.46264 3.09393C9.50013 2.94514 9.55519 2.8684 9.7116 2.88421C9.7403 2.88714 9.76959 2.88187 9.79888 2.88129C10.3079 2.86664 10.305 2.86723 10.4298 3.35695C10.5944 4.00426 10.7643 4.64981 10.9306 5.29711C10.9564 5.39846 10.974 5.50214 11.0039 5.64742V5.64684ZM10.1545 4.54729C10.0748 4.16887 9.99923 3.8127 9.92424 3.45712L9.85805 3.46181C9.78424 3.81563 9.71101 4.16945 9.63252 4.54788H10.1545V4.54729Z"
|
|
30
|
+
fill="black"
|
|
31
|
+
/>
|
|
32
|
+
<path
|
|
33
|
+
d="M13.2754 5.62716C13.2274 5.65352 13.2186 5.66172 13.2098 5.66231C12.8294 5.68067 12.5656 5.51196 12.4184 5.15618C12.3598 5.015 12.3018 4.87383 12.2145 4.66353C12.1284 4.89374 12.0634 5.06538 11.9995 5.23761C11.8191 5.72323 11.8039 5.73085 11.2163 5.62716C11.3926 5.24464 11.5531 4.86445 11.7435 4.4995C11.8408 4.31322 11.8314 4.1615 11.7412 3.98224C11.5637 3.63018 11.402 3.2705 11.2386 2.92371C12.0815 2.63784 12.0071 3.39293 12.2707 3.82701C12.3416 3.62784 12.3973 3.46733 12.4547 3.30799C12.6281 2.82939 12.6533 2.81592 13.2338 2.92488C13.0715 3.25937 12.9227 3.59093 12.7517 3.9096C12.6322 4.13162 12.6046 4.31966 12.7452 4.55632C12.9456 4.89374 13.0973 5.26104 13.2748 5.62658L13.2754 5.62716Z"
|
|
34
|
+
fill="black"
|
|
35
|
+
/>
|
|
36
|
+
<path
|
|
37
|
+
d="M7.10703 2.89343H8.58617V3.35856H7.73618V4.04687H8.53286V4.53191H7.71333C7.71333 4.80723 7.71333 5.04683 7.71333 5.287C7.71333 5.68417 7.71333 5.68534 7.31089 5.67011C7.24528 5.66777 7.18026 5.64961 7.10645 5.63731V2.89343H7.10703Z"
|
|
38
|
+
fill="black"
|
|
39
|
+
/>
|
|
40
|
+
</svg>
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
const CellPhone = () => (
|
|
44
|
+
<svg
|
|
45
|
+
width="12"
|
|
46
|
+
height="18"
|
|
47
|
+
viewBox="0 0 12 18"
|
|
48
|
+
fill="none"
|
|
49
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
50
|
+
className="w-6 h-6"
|
|
51
|
+
>
|
|
52
|
+
<path
|
|
53
|
+
fill-rule="evenodd"
|
|
54
|
+
clip-rule="evenodd"
|
|
55
|
+
d="M2.85714 0.357147H9.14286C10.4447 0.357147 11.5 1.41248 11.5 2.71429V15.2857C11.5 16.5875 10.4447 17.6429 9.14286 17.6429H2.85714C1.55533 17.6429 0.5 16.5875 0.5 15.2857V2.71429C0.5 1.41248 1.55533 0.357147 2.85714 0.357147ZM9.92858 3.49988C9.92858 3.06594 9.5768 2.71416 9.14287 2.71416H2.85715C2.42321 2.71416 2.07144 3.06594 2.07144 3.49988V14.4999C2.07144 14.9338 2.42321 15.2856 2.85715 15.2856H9.14287C9.5768 15.2856 9.92858 14.9338 9.92858 14.4999V3.49988Z"
|
|
56
|
+
fill="#2D2D2D"
|
|
57
|
+
/>
|
|
58
|
+
</svg>
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
interface ContactCardProps {
|
|
62
|
+
primaryColor?: string;
|
|
63
|
+
value: ContactType;
|
|
64
|
+
className?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export default function ContactCard({
|
|
68
|
+
value,
|
|
69
|
+
className,
|
|
70
|
+
primaryColor,
|
|
71
|
+
}: ContactCardProps) {
|
|
72
|
+
console.log(value);
|
|
73
|
+
|
|
74
|
+
const renderIcon = (
|
|
75
|
+
type: ContactTypeEnum,
|
|
76
|
+
valueType: ContactValueTypeEnum
|
|
77
|
+
) => {
|
|
78
|
+
let IconComponent: React.ElementType | null = null;
|
|
79
|
+
switch (type) {
|
|
80
|
+
case ContactTypeEnum.Phone:
|
|
81
|
+
switch (valueType) {
|
|
82
|
+
case ContactValueTypeEnum.Home:
|
|
83
|
+
IconComponent = Phone;
|
|
84
|
+
break;
|
|
85
|
+
case ContactValueTypeEnum.Work:
|
|
86
|
+
IconComponent = FaxIcon;
|
|
87
|
+
break;
|
|
88
|
+
default:
|
|
89
|
+
IconComponent = CellPhone;
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
break;
|
|
93
|
+
case ContactTypeEnum.Email:
|
|
94
|
+
IconComponent = Envelope;
|
|
95
|
+
break;
|
|
96
|
+
case ContactTypeEnum.Address:
|
|
97
|
+
IconComponent = MapPinArea;
|
|
98
|
+
break;
|
|
99
|
+
case ContactTypeEnum.Website:
|
|
100
|
+
IconComponent = Globe;
|
|
101
|
+
break;
|
|
102
|
+
default:
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return (
|
|
107
|
+
<div
|
|
108
|
+
className="p-2 rounded-md"
|
|
109
|
+
style={{ backgroundColor: `${primaryColor}40` }}
|
|
110
|
+
>
|
|
111
|
+
{IconComponent && (
|
|
112
|
+
<IconComponent size={24} weight="fill" color="black" />
|
|
113
|
+
)}
|
|
114
|
+
</div>
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
const formatWebsiteLink = (link: string) => {
|
|
119
|
+
return link.startsWith("http") ? link : `https://${link}`;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const renderContactByType = (type: ContactTypeEnum) => {
|
|
123
|
+
switch (type) {
|
|
124
|
+
case ContactTypeEnum.Phone:
|
|
125
|
+
return <a href={`tel:${value.value}`}>{value.value}</a>;
|
|
126
|
+
case ContactTypeEnum.Email:
|
|
127
|
+
return <a href={`mailto:${value.value}`}>{value.value}</a>;
|
|
128
|
+
case ContactTypeEnum.Website:
|
|
129
|
+
return (
|
|
130
|
+
<a target="_blank" href={formatWebsiteLink(value.value || "")}>
|
|
131
|
+
{value.value}
|
|
132
|
+
</a>
|
|
133
|
+
);
|
|
134
|
+
default:
|
|
135
|
+
return <p>{value.value}</p>;
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
// const renderSubType = (type: ContactValueTypeEnum): string => {
|
|
140
|
+
// switch (type) {
|
|
141
|
+
// case ContactValueTypeEnum.Work:
|
|
142
|
+
// return "Work";
|
|
143
|
+
// case ContactValueTypeEnum.Home:
|
|
144
|
+
// return "Home";
|
|
145
|
+
// case ContactValueTypeEnum.Other:
|
|
146
|
+
// return "Other";
|
|
147
|
+
// default:
|
|
148
|
+
// return "";
|
|
149
|
+
// }
|
|
150
|
+
// };
|
|
151
|
+
|
|
152
|
+
return (
|
|
153
|
+
<div
|
|
154
|
+
className={twMerge("flex items-center gap-2", !!className && className)}
|
|
155
|
+
>
|
|
156
|
+
{renderIcon(value.contact_type, value.type)}
|
|
157
|
+
<div className="flex flex-col gap-1 justify-center h-full">
|
|
158
|
+
<Typography variant="p" className="leading-tight">
|
|
159
|
+
{renderContactByType(value.contact_type)}
|
|
160
|
+
</Typography>
|
|
161
|
+
{/* <Typography variant="span" className="text-xs text-[#BBB] font-medium">
|
|
162
|
+
{renderSubType(value.type)}
|
|
163
|
+
</Typography> */}
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
);
|
|
167
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { FC, useState } from "react";
|
|
2
|
+
import { BaseModal } from "../../../common/ui-kit/atomics";
|
|
3
|
+
import { Field, ThemeConfig } from "../types/base";
|
|
4
|
+
import { BlockChainDisplayInfo } from "../../../../../types/NFT";
|
|
5
|
+
import NdachainIcon from "../../icons/icons-v2/NdachainIcon";
|
|
6
|
+
|
|
7
|
+
// hardcode for co vat hue on dev only
|
|
8
|
+
export interface NftInfo {
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
url: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type BlockchainInfo = {
|
|
15
|
+
collection: string;
|
|
16
|
+
contractAddress: string;
|
|
17
|
+
tokenStandard: string;
|
|
18
|
+
chain: string;
|
|
19
|
+
owner: string;
|
|
20
|
+
tokenId: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type DidInfoModalProps = {
|
|
24
|
+
field: Field;
|
|
25
|
+
configTheme: ThemeConfig;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
const DidInfoModal: FC<BlockChainDisplayInfo & DidInfoModalProps> = (props) => {
|
|
29
|
+
const { explorerUrl, nftId } = props;
|
|
30
|
+
const [open, setOpen] = useState<boolean>(false);
|
|
31
|
+
|
|
32
|
+
const toggleModal = () => setOpen((pre) => !pre);
|
|
33
|
+
return (
|
|
34
|
+
<>
|
|
35
|
+
<BaseModal
|
|
36
|
+
className="bg-black/80 p-0"
|
|
37
|
+
toggleModal={toggleModal}
|
|
38
|
+
isOpen={open}
|
|
39
|
+
>
|
|
40
|
+
<div className="flex flex-col w-full justify-center items-center">
|
|
41
|
+
<NdachainIcon className="w-[150px] h-[150px]" />
|
|
42
|
+
<div className="w-full border-b-[1px] border-neutral-8 text-white p-4 text-center font-semibold">
|
|
43
|
+
Đã được định danh trên NDAChain <br /> Nền tảng Chuỗi khối Quốc gia
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div className="flex w-full flex-col gap-[10px] p-[12px]">
|
|
48
|
+
<div className="text- flex items-center justify-between">
|
|
49
|
+
<p className="text-xs font-medium text-neutral-6">
|
|
50
|
+
Mã định danh Phi tập trung DID
|
|
51
|
+
</p>
|
|
52
|
+
<a
|
|
53
|
+
href={explorerUrl}
|
|
54
|
+
target="_blank"
|
|
55
|
+
className="text-sm font-semibold text-white underline"
|
|
56
|
+
>
|
|
57
|
+
{nftId}
|
|
58
|
+
</a>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</BaseModal>
|
|
62
|
+
<div
|
|
63
|
+
className="flex gap-1 flex-shrink-0 items-center text-black text-[10px] tracking-tighter rounded-full p-1 px-2 bg-white"
|
|
64
|
+
onClick={toggleModal}
|
|
65
|
+
>
|
|
66
|
+
<NdachainIcon className="w-5 h-5" />
|
|
67
|
+
<p className="font-medium text-xs uppercase">Định danh</p>
|
|
68
|
+
</div>
|
|
69
|
+
</>
|
|
70
|
+
);
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export default DidInfoModal;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import useImageOrientation from "../../../hooks/useImageOrientation";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
import { BaseFieldType } from "../types/base";
|
|
4
|
+
import { ImageNomion as Image } from '@phygitallabs/core-ui/components/image-nomion';
|
|
5
|
+
|
|
6
|
+
type ImageWithBackgroundType = BaseFieldType & {
|
|
7
|
+
fullScreen?: boolean;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const ImageWithBackground = ({
|
|
11
|
+
field,
|
|
12
|
+
fullScreen = false,
|
|
13
|
+
}: ImageWithBackgroundType) => {
|
|
14
|
+
const { value } = { ...field };
|
|
15
|
+
const { orientation } = useImageOrientation(value?.url);
|
|
16
|
+
return (
|
|
17
|
+
<>
|
|
18
|
+
{(orientation === "horizontal" || fullScreen) && (
|
|
19
|
+
<div
|
|
20
|
+
className="absolute inset-0 z-5 h-full w-full bg-cover bg-center blur"
|
|
21
|
+
style={{ backgroundImage: `url(${value?.url})` }}
|
|
22
|
+
/>
|
|
23
|
+
)}
|
|
24
|
+
{value?.url && (
|
|
25
|
+
<Image
|
|
26
|
+
src={value?.url}
|
|
27
|
+
alt="Culture"
|
|
28
|
+
className={twMerge(
|
|
29
|
+
"h-full w-full object-contain z-8 absolute inset-0",
|
|
30
|
+
orientation === "horizontal" ? "object-contain" : "object-cover",
|
|
31
|
+
fullScreen && "object-scale-down"
|
|
32
|
+
)}
|
|
33
|
+
/>
|
|
34
|
+
)}
|
|
35
|
+
</>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default ImageWithBackground;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { parse } from "@phygitallabs/helpers";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
content: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export default function LexicalParagraph(props: Props) {
|
|
10
|
+
const { content, className } = props;
|
|
11
|
+
const parsedData = JSON.parse(content || "{}");
|
|
12
|
+
const htmlContent = parsedData?.htmlContent || "";
|
|
13
|
+
|
|
14
|
+
return <p className={twMerge(className)}>{parse(htmlContent)}</p>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { cn } from "@phygitallabs/helpers";
|
|
2
|
+
import { BaseFieldType } from "../types/base";
|
|
3
|
+
|
|
4
|
+
interface ButtonItem {
|
|
5
|
+
label: string;
|
|
6
|
+
link?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface ListButtonProps extends BaseFieldType {
|
|
10
|
+
classNameWrapper?: string;
|
|
11
|
+
classNameItem?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const ListButton = ({
|
|
15
|
+
field,
|
|
16
|
+
configTheme,
|
|
17
|
+
classNameWrapper,
|
|
18
|
+
classNameItem,
|
|
19
|
+
}: ListButtonProps) => {
|
|
20
|
+
const { value = [] } = { ...field };
|
|
21
|
+
return (
|
|
22
|
+
<div
|
|
23
|
+
className={cn(
|
|
24
|
+
"grid grid-cols-2 gap-3",
|
|
25
|
+
!!classNameWrapper && classNameWrapper
|
|
26
|
+
)}
|
|
27
|
+
>
|
|
28
|
+
{value?.map((item: ButtonItem, index: number) => {
|
|
29
|
+
return (
|
|
30
|
+
<a
|
|
31
|
+
className={cn(
|
|
32
|
+
"flex h-full w-full items-center justify-center rounded-md px-3 py-3",
|
|
33
|
+
!!classNameItem && classNameItem
|
|
34
|
+
)}
|
|
35
|
+
href={item.link}
|
|
36
|
+
target="_blank"
|
|
37
|
+
key={index}
|
|
38
|
+
style={{
|
|
39
|
+
backgroundColor: configTheme?.primary_color,
|
|
40
|
+
color: configTheme?.background_color,
|
|
41
|
+
}}
|
|
42
|
+
>
|
|
43
|
+
<p className="text-center">{item.label}</p>
|
|
44
|
+
</a>
|
|
45
|
+
);
|
|
46
|
+
})}
|
|
47
|
+
</div>
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export default ListButton;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { ProfileSocialType } from "../../../../LandingPage/models/general";
|
|
2
|
+
import {
|
|
3
|
+
FacebookLogo,
|
|
4
|
+
InstagramLogo,
|
|
5
|
+
LinkedinLogo,
|
|
6
|
+
TelegramLogo,
|
|
7
|
+
ThreadsLogo,
|
|
8
|
+
TiktokLogo,
|
|
9
|
+
TwitterLogo,
|
|
10
|
+
YoutubeLogo,
|
|
11
|
+
Phone,
|
|
12
|
+
} from "@phosphor-icons/react";
|
|
13
|
+
import { twMerge } from "tailwind-merge";
|
|
14
|
+
|
|
15
|
+
interface ListContactProps {
|
|
16
|
+
contactList: Partial<Record<ProfileSocialType, string>>;
|
|
17
|
+
className?: string;
|
|
18
|
+
sizeIcon?: number;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const DEFAULT_ORDER_CONTACT = [
|
|
22
|
+
ProfileSocialType.Phone,
|
|
23
|
+
ProfileSocialType.Facebook,
|
|
24
|
+
ProfileSocialType.Instagram,
|
|
25
|
+
ProfileSocialType.Twitter,
|
|
26
|
+
ProfileSocialType.Tiktok,
|
|
27
|
+
ProfileSocialType.Telegram,
|
|
28
|
+
ProfileSocialType.Threads,
|
|
29
|
+
ProfileSocialType.Youtube,
|
|
30
|
+
ProfileSocialType.Linkedin,
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
const RenderIcon = (type: ProfileSocialType, sizeIcon = 24) => {
|
|
34
|
+
let IconComponent: React.ElementType | null = null;
|
|
35
|
+
switch (type) {
|
|
36
|
+
case ProfileSocialType.Phone:
|
|
37
|
+
IconComponent = Phone;
|
|
38
|
+
break;
|
|
39
|
+
case ProfileSocialType.Facebook:
|
|
40
|
+
IconComponent = FacebookLogo;
|
|
41
|
+
break;
|
|
42
|
+
case ProfileSocialType.Instagram:
|
|
43
|
+
IconComponent = InstagramLogo;
|
|
44
|
+
break;
|
|
45
|
+
case ProfileSocialType.Twitter:
|
|
46
|
+
IconComponent = TwitterLogo;
|
|
47
|
+
break;
|
|
48
|
+
case ProfileSocialType.Tiktok:
|
|
49
|
+
IconComponent = TiktokLogo;
|
|
50
|
+
break;
|
|
51
|
+
case ProfileSocialType.Telegram:
|
|
52
|
+
IconComponent = TelegramLogo;
|
|
53
|
+
break;
|
|
54
|
+
case ProfileSocialType.Threads:
|
|
55
|
+
IconComponent = ThreadsLogo;
|
|
56
|
+
break;
|
|
57
|
+
case ProfileSocialType.Youtube:
|
|
58
|
+
IconComponent = YoutubeLogo;
|
|
59
|
+
break;
|
|
60
|
+
case ProfileSocialType.Linkedin:
|
|
61
|
+
IconComponent = LinkedinLogo;
|
|
62
|
+
break;
|
|
63
|
+
default:
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
return IconComponent && <IconComponent size={sizeIcon} weight="fill" />;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const getHref = (type: ProfileSocialType, value: string) => {
|
|
70
|
+
if (type === ProfileSocialType.Phone) {
|
|
71
|
+
return `tel:${value}`;
|
|
72
|
+
} else {
|
|
73
|
+
let inputUrl = value;
|
|
74
|
+
if (!inputUrl.trim().match(/^(http:\/\/|https:\/\/)/)) {
|
|
75
|
+
// Prefix with https:// if no protocol is found
|
|
76
|
+
inputUrl = `https://${inputUrl}`;
|
|
77
|
+
}
|
|
78
|
+
return inputUrl;
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export default function ListContactSocial({
|
|
83
|
+
contactList,
|
|
84
|
+
className,
|
|
85
|
+
sizeIcon = 24,
|
|
86
|
+
}: ListContactProps) {
|
|
87
|
+
return (
|
|
88
|
+
<div className={twMerge("flex gap-3", !!className && className)}>
|
|
89
|
+
{DEFAULT_ORDER_CONTACT.map(
|
|
90
|
+
(item, index) =>
|
|
91
|
+
Boolean((contactList as any)?.[item]) && (
|
|
92
|
+
<a
|
|
93
|
+
href={getHref(item, contactList[item] ?? "")}
|
|
94
|
+
key={index}
|
|
95
|
+
target="_blank"
|
|
96
|
+
>
|
|
97
|
+
<div>{RenderIcon(item, sizeIcon)}</div>
|
|
98
|
+
</a>
|
|
99
|
+
)
|
|
100
|
+
)}
|
|
101
|
+
</div>
|
|
102
|
+
);
|
|
103
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// import { useProductStory } from "@/hooks/useProductStory";
|
|
2
|
+
import { FunctionComponent } from "react";
|
|
3
|
+
import { Typography } from "../atomics";
|
|
4
|
+
import Title from "./Title";
|
|
5
|
+
import { ThemeConfig } from "../types/base";
|
|
6
|
+
|
|
7
|
+
export type MetaInfoType = {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
Icon: any;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
type MetaInfoProps = {
|
|
15
|
+
productDetail: MetaInfoType[];
|
|
16
|
+
configTheme?: ThemeConfig;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const returnValue = (value: string | string[]) => {
|
|
20
|
+
if (Array.isArray(value)) {
|
|
21
|
+
return (
|
|
22
|
+
<ul className="ml-5 flex flex-col">
|
|
23
|
+
{value.map((el, index) => (
|
|
24
|
+
<li className="list-disc" key={index}>
|
|
25
|
+
{el}
|
|
26
|
+
</li>
|
|
27
|
+
))}
|
|
28
|
+
</ul>
|
|
29
|
+
);
|
|
30
|
+
} else return value;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const MetaInfo: FunctionComponent<MetaInfoProps> = ({
|
|
34
|
+
productDetail,
|
|
35
|
+
configTheme,
|
|
36
|
+
}: MetaInfoProps) => {
|
|
37
|
+
return (
|
|
38
|
+
<div className="flex flex-col gap-5 pt-3">
|
|
39
|
+
<div className="relative flex items-center justify-center gap-[16px]">
|
|
40
|
+
<Title
|
|
41
|
+
field={{
|
|
42
|
+
value: "THÔNG TIN SẢN PHẨM",
|
|
43
|
+
}}
|
|
44
|
+
lineText
|
|
45
|
+
configTheme={configTheme}
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
{productDetail.map((item, index) => {
|
|
49
|
+
if (!item.value || item.value === " x x ") {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return (
|
|
53
|
+
<div key={index} className="flex ">
|
|
54
|
+
<div className="flex items-center gap-[12px] px-[24px]">
|
|
55
|
+
<div>{item.Icon}</div>
|
|
56
|
+
<div className="flex flex-col gap-[2px]">
|
|
57
|
+
<Typography variant="p" color={configTheme?.secondary_color}>
|
|
58
|
+
{item.label}
|
|
59
|
+
</Typography>
|
|
60
|
+
<div className="flex">
|
|
61
|
+
<Typography
|
|
62
|
+
variant="span"
|
|
63
|
+
color={configTheme?.secondary_color}>
|
|
64
|
+
{returnValue(item.value)}
|
|
65
|
+
</Typography>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
);
|
|
71
|
+
})}
|
|
72
|
+
</div>
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default MetaInfo;
|