@momo-webplatform/mobase-next 1.0.1
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/README.md +136 -0
- package/dist/chunk-7LRQ2WLZ.mjs +1 -0
- package/dist/components/blocks/BlogSection/BlogSection.d.mts +17 -0
- package/dist/components/blocks/BlogSection/BlogSection.mjs +1 -0
- package/dist/components/blocks/BlogSection/BlogSectionTemplate.d.mts +15 -0
- package/dist/components/blocks/BlogSection/BlogSectionTemplate.mjs +1 -0
- package/dist/components/blocks/BlogSection/index.d.mts +14 -0
- package/dist/components/blocks/BlogSection/index.mjs +1 -0
- package/dist/components/blocks/BlogSection/templates/BlogSectionTemplateOne.d.mts +17 -0
- package/dist/components/blocks/BlogSection/templates/BlogSectionTemplateOne.mjs +1 -0
- package/dist/components/blocks/BlogSection/templates/BlogSectionTemplateTwo.d.mts +17 -0
- package/dist/components/blocks/BlogSection/templates/BlogSectionTemplateTwo.mjs +1 -0
- package/dist/components/blocks/BlogSection/utils.d.mts +49 -0
- package/dist/components/blocks/BlogSection/utils.mjs +0 -0
- package/dist/components/blocks/CTASection/CTASection.d.mts +17 -0
- package/dist/components/blocks/CTASection/CTASection.mjs +1 -0
- package/dist/components/blocks/CTASection/CTASectionTemplate.d.mts +18 -0
- package/dist/components/blocks/CTASection/CTASectionTemplate.mjs +1 -0
- package/dist/components/blocks/CTASection/index.d.mts +14 -0
- package/dist/components/blocks/CTASection/index.mjs +1 -0
- package/dist/components/blocks/CTASection/utils.d.mts +60 -0
- package/dist/components/blocks/CTASection/utils.mjs +0 -0
- package/dist/components/blocks/FAQSection/FAQSection.d.mts +17 -0
- package/dist/components/blocks/FAQSection/FAQSection.mjs +1 -0
- package/dist/components/blocks/FAQSection/FAQTemplate.d.mts +18 -0
- package/dist/components/blocks/FAQSection/FAQTemplate.mjs +1 -0
- package/dist/components/blocks/FAQSection/index.d.mts +14 -0
- package/dist/components/blocks/FAQSection/index.mjs +1 -0
- package/dist/components/blocks/FAQSection/utils.d.mts +36 -0
- package/dist/components/blocks/FAQSection/utils.mjs +0 -0
- package/dist/components/blocks/FeatureSection/FeatureSection.d.mts +17 -0
- package/dist/components/blocks/FeatureSection/FeatureSection.mjs +1 -0
- package/dist/components/blocks/FeatureSection/FeatureTemlates.d.mts +29 -0
- package/dist/components/blocks/FeatureSection/FeatureTemlates.mjs +1 -0
- package/dist/components/blocks/FeatureSection/index.d.mts +14 -0
- package/dist/components/blocks/FeatureSection/index.mjs +1 -0
- package/dist/components/blocks/FeatureSection/utils.d.mts +77 -0
- package/dist/components/blocks/FeatureSection/utils.mjs +0 -0
- package/dist/components/blocks/GiftListSection/GiftListSection.d.mts +17 -0
- package/dist/components/blocks/GiftListSection/GiftListSection.mjs +1 -0
- package/dist/components/blocks/GiftListSection/GiftListSectionTemplate.d.mts +17 -0
- package/dist/components/blocks/GiftListSection/GiftListSectionTemplate.mjs +1 -0
- package/dist/components/blocks/GiftListSection/index.d.mts +14 -0
- package/dist/components/blocks/GiftListSection/index.mjs +1 -0
- package/dist/components/blocks/GiftListSection/utils.d.mts +81 -0
- package/dist/components/blocks/GiftListSection/utils.mjs +0 -0
- package/dist/components/blocks/HeroSection/HeroSection.d.mts +18 -0
- package/dist/components/blocks/HeroSection/HeroSection.mjs +1 -0
- package/dist/components/blocks/HeroSection/HeroSectionFeatures.d.mts +31 -0
- package/dist/components/blocks/HeroSection/HeroSectionFeatures.mjs +1 -0
- package/dist/components/blocks/HeroSection/HeroSectionMedia.d.mts +17 -0
- package/dist/components/blocks/HeroSection/HeroSectionMedia.mjs +1 -0
- package/dist/components/blocks/HeroSection/HeroSectionStats.d.mts +19 -0
- package/dist/components/blocks/HeroSection/HeroSectionStats.mjs +1 -0
- package/dist/components/blocks/HeroSection/HeroSectionTemplate.d.mts +19 -0
- package/dist/components/blocks/HeroSection/HeroSectionTemplate.mjs +1 -0
- package/dist/components/blocks/HeroSection/index.d.mts +14 -0
- package/dist/components/blocks/HeroSection/index.mjs +1 -0
- package/dist/components/blocks/HeroSection/utils.d.mts +84 -0
- package/dist/components/blocks/HeroSection/utils.mjs +1 -0
- package/dist/components/blocks/HowItWorksSection/HowItWorksSection.d.mts +17 -0
- package/dist/components/blocks/HowItWorksSection/HowItWorksSection.mjs +1 -0
- package/dist/components/blocks/HowItWorksSection/HowItWorksSectionTemplate.d.mts +19 -0
- package/dist/components/blocks/HowItWorksSection/HowItWorksSectionTemplate.mjs +1 -0
- package/dist/components/blocks/HowItWorksSection/index.d.mts +14 -0
- package/dist/components/blocks/HowItWorksSection/index.mjs +1 -0
- package/dist/components/blocks/HowItWorksSection/utils.d.mts +47 -0
- package/dist/components/blocks/HowItWorksSection/utils.mjs +0 -0
- package/dist/components/blocks/MetricsSection/MetricsSection.d.mts +17 -0
- package/dist/components/blocks/MetricsSection/MetricsSection.mjs +1 -0
- package/dist/components/blocks/MetricsSection/MetricsSectionTemplate.d.mts +15 -0
- package/dist/components/blocks/MetricsSection/MetricsSectionTemplate.mjs +1 -0
- package/dist/components/blocks/MetricsSection/index.d.mts +14 -0
- package/dist/components/blocks/MetricsSection/index.mjs +1 -0
- package/dist/components/blocks/MetricsSection/template/MetricsSectionTemplateOne.d.mts +17 -0
- package/dist/components/blocks/MetricsSection/template/MetricsSectionTemplateOne.mjs +1 -0
- package/dist/components/blocks/MetricsSection/template/MetricsSectionTemplateTwo.d.mts +17 -0
- package/dist/components/blocks/MetricsSection/template/MetricsSectionTemplateTwo.mjs +1 -0
- package/dist/components/blocks/MetricsSection/utils.d.mts +38 -0
- package/dist/components/blocks/MetricsSection/utils.mjs +0 -0
- package/dist/components/blocks/NewsSection/NewsSection.d.mts +17 -0
- package/dist/components/blocks/NewsSection/NewsSection.mjs +1 -0
- package/dist/components/blocks/NewsSection/NewsSectionTemplate.d.mts +17 -0
- package/dist/components/blocks/NewsSection/NewsSectionTemplate.mjs +1 -0
- package/dist/components/blocks/NewsSection/index.d.mts +14 -0
- package/dist/components/blocks/NewsSection/index.mjs +1 -0
- package/dist/components/blocks/NewsSection/utils.d.mts +64 -0
- package/dist/components/blocks/NewsSection/utils.mjs +0 -0
- package/dist/components/blocks/SocialProofSection/SocialProofSection.d.mts +17 -0
- package/dist/components/blocks/SocialProofSection/SocialProofSection.mjs +1 -0
- package/dist/components/blocks/SocialProofSection/SocialProofTemplates.d.mts +17 -0
- package/dist/components/blocks/SocialProofSection/SocialProofTemplates.mjs +1 -0
- package/dist/components/blocks/SocialProofSection/index.d.mts +14 -0
- package/dist/components/blocks/SocialProofSection/index.mjs +1 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate1.d.mts +17 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate1.mjs +1 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate2.d.mts +17 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate2.mjs +1 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate3.d.mts +17 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate3.mjs +1 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate4.d.mts +17 -0
- package/dist/components/blocks/SocialProofSection/templates/SocialProofTemplate4.mjs +18 -0
- package/dist/components/blocks/SocialProofSection/utils.d.mts +31 -0
- package/dist/components/blocks/SocialProofSection/utils.mjs +0 -0
- package/dist/components/blocks/TestimonialSection/TestimonialSection.d.mts +17 -0
- package/dist/components/blocks/TestimonialSection/TestimonialSection.mjs +1 -0
- package/dist/components/blocks/TestimonialSection/index.d.mts +14 -0
- package/dist/components/blocks/TestimonialSection/index.mjs +1 -0
- package/dist/components/blocks/TestimonialSection/shared.d.mts +29 -0
- package/dist/components/blocks/TestimonialSection/shared.mjs +1 -0
- package/dist/components/blocks/TestimonialSection/templates/TestimonialTemplateOne.d.mts +17 -0
- package/dist/components/blocks/TestimonialSection/templates/TestimonialTemplateOne.mjs +1 -0
- package/dist/components/blocks/TestimonialSection/templates/TestimonialTemplateThree.d.mts +17 -0
- package/dist/components/blocks/TestimonialSection/templates/TestimonialTemplateThree.mjs +1 -0
- package/dist/components/blocks/TestimonialSection/templates/TestimonialTemplateTwo.d.mts +17 -0
- package/dist/components/blocks/TestimonialSection/templates/TestimonialTemplateTwo.mjs +5 -0
- package/dist/components/blocks/TestimonialSection/utils.d.mts +37 -0
- package/dist/components/blocks/TestimonialSection/utils.mjs +1 -0
- package/dist/components/blocks/action-button/action-button.d.mts +15 -0
- package/dist/components/blocks/action-button/action-button.mjs +1 -0
- package/dist/components/blocks/action-button/index.d.mts +12 -0
- package/dist/components/blocks/action-button/index.mjs +1 -0
- package/dist/components/blocks/action-button/utils.d.mts +40 -0
- package/dist/components/blocks/action-button/utils.mjs +1 -0
- package/dist/components/blocks/common-blocks/common-blocks.d.mts +18 -0
- package/dist/components/blocks/common-blocks/common-blocks.mjs +1 -0
- package/dist/components/blocks/common-blocks/index.d.mts +13 -0
- package/dist/components/blocks/common-blocks/index.mjs +1 -0
- package/dist/components/blocks/common-blocks/utils.d.mts +90 -0
- package/dist/components/blocks/common-blocks/utils.mjs +0 -0
- package/dist/components/blocks/dialog-qr/DialogQr.d.mts +42 -0
- package/dist/components/blocks/dialog-qr/DialogQr.mjs +70 -0
- package/dist/components/blocks/dialog-qr/index.d.mts +8 -0
- package/dist/components/blocks/dialog-qr/index.mjs +1 -0
- package/dist/components/blocks/footer/defaults.d.mts +39 -0
- package/dist/components/blocks/footer/defaults.mjs +1 -0
- package/dist/components/blocks/footer/footer-content.d.mts +6 -0
- package/dist/components/blocks/footer/footer-content.mjs +5 -0
- package/dist/components/blocks/footer/footer.d.mts +6 -0
- package/dist/components/blocks/footer/footer.mjs +1 -0
- package/dist/components/blocks/footer/index.d.mts +5 -0
- package/dist/components/blocks/footer/index.mjs +1 -0
- package/dist/components/blocks/footer/types.d.mts +27 -0
- package/dist/components/blocks/footer/types.mjs +0 -0
- package/dist/components/blocks/header-navigation/header-navigation.d.mts +7 -0
- package/dist/components/blocks/header-navigation/header-navigation.mjs +5 -0
- package/dist/components/blocks/header-navigation/index.d.mts +4 -0
- package/dist/components/blocks/header-navigation/index.mjs +1 -0
- package/dist/components/blocks/header-navigation/list-item-mobile.d.mts +14 -0
- package/dist/components/blocks/header-navigation/list-item-mobile.mjs +1 -0
- package/dist/components/blocks/header-navigation/list-item.d.mts +14 -0
- package/dist/components/blocks/header-navigation/list-item.mjs +1 -0
- package/dist/components/blocks/header-navigation/mobile-menu.d.mts +11 -0
- package/dist/components/blocks/header-navigation/mobile-menu.mjs +1 -0
- package/dist/components/blocks/header-navigation/nav-items-mobile.d.mts +10 -0
- package/dist/components/blocks/header-navigation/nav-items-mobile.mjs +1 -0
- package/dist/components/blocks/header-navigation/nav-items.d.mts +11 -0
- package/dist/components/blocks/header-navigation/nav-items.mjs +1 -0
- package/dist/components/blocks/header-navigation/types.d.mts +44 -0
- package/dist/components/blocks/header-navigation/types.mjs +0 -0
- package/dist/components/blocks/heading-group/HeadingGroup.d.mts +97 -0
- package/dist/components/blocks/heading-group/HeadingGroup.mjs +1 -0
- package/dist/components/blocks/heading-group/index.d.mts +3 -0
- package/dist/components/blocks/heading-group/index.mjs +1 -0
- package/dist/components/mobase/accordion.d.mts +9 -0
- package/dist/components/mobase/accordion.mjs +1 -0
- package/dist/components/mobase/alert-dialog.d.mts +24 -0
- package/dist/components/mobase/alert-dialog.mjs +1 -0
- package/dist/components/mobase/alert.d.mts +14 -0
- package/dist/components/mobase/alert.mjs +1 -0
- package/dist/components/mobase/aspect-ratio.d.mts +8 -0
- package/dist/components/mobase/aspect-ratio.mjs +1 -0
- package/dist/components/mobase/autocomplete.d.mts +34 -0
- package/dist/components/mobase/autocomplete.mjs +1 -0
- package/dist/components/mobase/avatar.d.mts +14 -0
- package/dist/components/mobase/avatar.mjs +1 -0
- package/dist/components/mobase/badge.d.mts +15 -0
- package/dist/components/mobase/badge.mjs +1 -0
- package/dist/components/mobase/breadcrumb.d.mts +13 -0
- package/dist/components/mobase/breadcrumb.mjs +1 -0
- package/dist/components/mobase/button-group.d.mts +16 -0
- package/dist/components/mobase/button-group.mjs +1 -0
- package/dist/components/mobase/button.d.mts +22 -0
- package/dist/components/mobase/button.mjs +1 -0
- package/dist/components/mobase/calendar.d.mts +16 -0
- package/dist/components/mobase/calendar.mjs +1 -0
- package/dist/components/mobase/card.d.mts +14 -0
- package/dist/components/mobase/card.mjs +1 -0
- package/dist/components/mobase/carousel.d.mts +37 -0
- package/dist/components/mobase/carousel.mjs +1 -0
- package/dist/components/mobase/checkbox.d.mts +7 -0
- package/dist/components/mobase/checkbox.mjs +1 -0
- package/dist/components/mobase/close-button.d.mts +17 -0
- package/dist/components/mobase/close-button.mjs +1 -0
- package/dist/components/mobase/combobox.d.mts +29 -0
- package/dist/components/mobase/combobox.mjs +1 -0
- package/dist/components/mobase/command.d.mts +31 -0
- package/dist/components/mobase/command.mjs +1 -0
- package/dist/components/mobase/date-picker.d.mts +46 -0
- package/dist/components/mobase/date-picker.mjs +1 -0
- package/dist/components/mobase/dialog.d.mts +41 -0
- package/dist/components/mobase/dialog.mjs +1 -0
- package/dist/components/mobase/drawer.d.mts +46 -0
- package/dist/components/mobase/drawer.mjs +1 -0
- package/dist/components/mobase/dropdown-menu.d.mts +33 -0
- package/dist/components/mobase/dropdown-menu.mjs +1 -0
- package/dist/components/mobase/empty.d.mts +20 -0
- package/dist/components/mobase/empty.mjs +1 -0
- package/dist/components/mobase/field.d.mts +30 -0
- package/dist/components/mobase/field.mjs +1 -0
- package/dist/components/mobase/form.d.mts +7 -0
- package/dist/components/mobase/form.mjs +1 -0
- package/dist/components/mobase/hitbox.d.mts +19 -0
- package/dist/components/mobase/hitbox.mjs +1 -0
- package/dist/components/mobase/horizontal-scroll.d.mts +24 -0
- package/dist/components/mobase/horizontal-scroll.mjs +1 -0
- package/dist/components/mobase/infinite-slider.d.mts +19 -0
- package/dist/components/mobase/infinite-slider.mjs +1 -0
- package/dist/components/mobase/input-group.d.mts +27 -0
- package/dist/components/mobase/input-group.mjs +1 -0
- package/dist/components/mobase/input-search.d.mts +8 -0
- package/dist/components/mobase/input-search.mjs +1 -0
- package/dist/components/mobase/input.d.mts +34 -0
- package/dist/components/mobase/input.mjs +1 -0
- package/dist/components/mobase/item.d.mts +27 -0
- package/dist/components/mobase/item.mjs +1 -0
- package/dist/components/mobase/kbd.d.mts +6 -0
- package/dist/components/mobase/kbd.mjs +1 -0
- package/dist/components/mobase/label.d.mts +6 -0
- package/dist/components/mobase/label.mjs +1 -0
- package/dist/components/mobase/logo.d.mts +26 -0
- package/dist/components/mobase/logo.mjs +1 -0
- package/dist/components/mobase/logos-carousel.d.mts +15 -0
- package/dist/components/mobase/logos-carousel.mjs +27 -0
- package/dist/components/mobase/marquee.d.mts +16 -0
- package/dist/components/mobase/marquee.mjs +1 -0
- package/dist/components/mobase/native-select.d.mts +11 -0
- package/dist/components/mobase/native-select.mjs +1 -0
- package/dist/components/mobase/navigation-menu.d.mts +15 -0
- package/dist/components/mobase/navigation-menu.mjs +1 -0
- package/dist/components/mobase/pagination.d.mts +23 -0
- package/dist/components/mobase/pagination.mjs +1 -0
- package/dist/components/mobase/popover.d.mts +12 -0
- package/dist/components/mobase/popover.mjs +1 -0
- package/dist/components/mobase/progress.d.mts +10 -0
- package/dist/components/mobase/progress.mjs +1 -0
- package/dist/components/mobase/radio-group.d.mts +10 -0
- package/dist/components/mobase/radio-group.mjs +1 -0
- package/dist/components/mobase/scroll-area.d.mts +11 -0
- package/dist/components/mobase/scroll-area.mjs +1 -0
- package/dist/components/mobase/select.d.mts +21 -0
- package/dist/components/mobase/select.mjs +1 -0
- package/dist/components/mobase/separator.d.mts +6 -0
- package/dist/components/mobase/separator.mjs +1 -0
- package/dist/components/mobase/skeleton.d.mts +5 -0
- package/dist/components/mobase/skeleton.mjs +1 -0
- package/dist/components/mobase/slider.d.mts +6 -0
- package/dist/components/mobase/slider.mjs +1 -0
- package/dist/components/mobase/sliding-number.d.mts +10 -0
- package/dist/components/mobase/sliding-number.mjs +1 -0
- package/dist/components/mobase/spinner.d.mts +12 -0
- package/dist/components/mobase/spinner.mjs +1 -0
- package/dist/components/mobase/switch.d.mts +8 -0
- package/dist/components/mobase/switch.mjs +1 -0
- package/dist/components/mobase/table.d.mts +13 -0
- package/dist/components/mobase/table.mjs +1 -0
- package/dist/components/mobase/tabs.d.mts +14 -0
- package/dist/components/mobase/tabs.mjs +1 -0
- package/dist/components/mobase/text-effect.d.mts +30 -0
- package/dist/components/mobase/text-effect.mjs +2 -0
- package/dist/components/mobase/textarea.d.mts +10 -0
- package/dist/components/mobase/textarea.mjs +1 -0
- package/dist/components/mobase/toast.d.mts +14 -0
- package/dist/components/mobase/toast.mjs +1 -0
- package/dist/components/mobase/tooltip.d.mts +9 -0
- package/dist/components/mobase/tooltip.mjs +1 -0
- package/dist/hooks/use-click-outside.d.mts +6 -0
- package/dist/hooks/use-click-outside.mjs +1 -0
- package/dist/hooks/use-copy-to-clipboard.d.mts +9 -0
- package/dist/hooks/use-copy-to-clipboard.mjs +1 -0
- package/dist/hooks/use-event-callback.d.mts +19 -0
- package/dist/hooks/use-event-callback.mjs +1 -0
- package/dist/hooks/use-event-listener.d.mts +8 -0
- package/dist/hooks/use-event-listener.mjs +1 -0
- package/dist/hooks/use-is-client.d.mts +3 -0
- package/dist/hooks/use-is-client.mjs +1 -0
- package/dist/hooks/use-is-momo-app.d.mts +3 -0
- package/dist/hooks/use-is-momo-app.mjs +1 -0
- package/dist/hooks/use-is-touch-device.d.mts +7 -0
- package/dist/hooks/use-is-touch-device.mjs +1 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.mts +5 -0
- package/dist/hooks/use-isomorphic-layout-effect.mjs +1 -0
- package/dist/hooks/use-local-storage.d.mts +5 -0
- package/dist/hooks/use-local-storage.mjs +1 -0
- package/dist/hooks/use-mobile.d.mts +3 -0
- package/dist/hooks/use-mobile.mjs +1 -0
- package/dist/hooks/use-window-size.d.mts +11 -0
- package/dist/hooks/use-window-size.mjs +1 -0
- package/dist/index.d.mts +137 -0
- package/dist/index.mjs +1 -0
- package/dist/lib/legacy-button-variant.d.mts +13 -0
- package/dist/lib/legacy-button-variant.mjs +1 -0
- package/dist/lib/media-ratio.d.mts +6 -0
- package/dist/lib/media-ratio.mjs +1 -0
- package/dist/lib/plain-text-from-html.d.mts +6 -0
- package/dist/lib/plain-text-from-html.mjs +1 -0
- package/dist/lib/qr-image-url.d.mts +13 -0
- package/dist/lib/qr-image-url.mjs +1 -0
- package/dist/lib/scroll-to-selector.d.mts +9 -0
- package/dist/lib/scroll-to-selector.mjs +1 -0
- package/dist/lib/testimonial-avatar.d.mts +6 -0
- package/dist/lib/testimonial-avatar.mjs +1 -0
- package/dist/lib/utils.d.mts +5 -0
- package/dist/lib/utils.mjs +1 -0
- package/package.json +68 -0
- package/src/styles/globals.css +456 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { TestimonialSection } from './TestimonialSection.mjs';
|
|
2
|
+
export { TestimonialData, TestimonialSectionProps, getColorForIndex, getInitials, randomColors } from './utils.mjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import '../common-blocks/utils.mjs';
|
|
5
|
+
import '../action-button/utils.mjs';
|
|
6
|
+
import 'react';
|
|
7
|
+
import '../../mobase/button.mjs';
|
|
8
|
+
import 'class-variance-authority/types';
|
|
9
|
+
import '@base-ui/react/button';
|
|
10
|
+
import 'class-variance-authority';
|
|
11
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
12
|
+
import '../../mobase/dialog.mjs';
|
|
13
|
+
import '@base-ui/react/dialog';
|
|
14
|
+
import '@base-ui/react/use-render';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../chunk-7LRQ2WLZ.mjs";import{TestimonialSection as e}from"./TestimonialSection";import{randomColors as r,getInitials as n,getColorForIndex as a}from"./utils";export{e as TestimonialSection,a as getColorForIndex,n as getInitials,r as randomColors};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { TestimonialData } from './utils.mjs';
|
|
3
|
+
import '../common-blocks/utils.mjs';
|
|
4
|
+
import '../action-button/utils.mjs';
|
|
5
|
+
import 'react';
|
|
6
|
+
import '../../mobase/button.mjs';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
import '@base-ui/react/button';
|
|
9
|
+
import 'class-variance-authority';
|
|
10
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
11
|
+
import '../../mobase/dialog.mjs';
|
|
12
|
+
import '@base-ui/react/dialog';
|
|
13
|
+
import '@base-ui/react/use-render';
|
|
14
|
+
|
|
15
|
+
declare function TestimonialAvatar({ avatar, name, index, }: {
|
|
16
|
+
avatar?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
index?: number;
|
|
19
|
+
}): react_jsx_runtime.JSX.Element;
|
|
20
|
+
declare function StarRating({ rating }: {
|
|
21
|
+
rating: number;
|
|
22
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
23
|
+
declare function TestimonialItemCard({ testimonial, className, index, }: {
|
|
24
|
+
testimonial: TestimonialData;
|
|
25
|
+
className?: string;
|
|
26
|
+
index?: number;
|
|
27
|
+
}): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { StarRating, TestimonialAvatar, TestimonialItemCard };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"../../../chunk-7LRQ2WLZ.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";import n from"html-react-parser";import{Star as u}from"lucide-react";import{cn as r}from"../../../lib/utils";import{getColorForIndex as f,getInitials as x,randomColors as g}from"./utils";function d({avatar:e="",name:i="",index:a=0}){var o;if(!!!(e!=null&&e.trim())){const v=(o=x({name:i}))!=null?o:"",c=f(a,g);return t("div",{className:r("flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-full font-semibold text-white",c),"data-slot":"testimonial-avatar-fallback",children:v})}return t("div",{className:"size-9 shrink-0 overflow-hidden rounded-full","data-slot":"testimonial-avatar",children:t("img",{src:e,loading:"lazy",className:"size-full object-cover",alt:i})})}function m({rating:e}){return e<=0?null:t("div",{className:"flex flex-nowrap gap-0.5 text-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","data-slot":"testimonial-stars",children:Array.from({length:5},(i,a)=>t(u,{className:r(a<e?"fill-amber-400 text-amber-400":"fill-muted text-muted"),"aria-hidden":!0},a))})}function p({testimonial:e,className:i,index:a}){const l=Number(e.rating)||0;return t("div",{className:r("testimonial-item",i),"data-slot":"testimonial-item",children:s("div",{className:"relative h-full rounded-xl border border-border bg-card px-5 pb-10 pt-4 shadow-md sm:px-5",children:[s("div",{className:"flex flex-nowrap items-center gap-2",children:[t(d,{avatar:e.avatar,name:e.name,index:a}),s("div",{className:"min-w-0 flex-1 ps-1",children:[t("div",{className:"truncate text-sm font-semibold text-foreground",children:e.name}),e.position?t("div",{className:"text-xs font-normal text-primary",children:n(e.position)}):null]})]}),s("div",{className:"mt-3",children:[e.shortTitle?t("div",{className:"text-sm font-bold text-foreground",children:n(e.shortTitle)}):null,e.description?t("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-muted-foreground",children:n(e.description)}):null]}),s("div",{className:"absolute inset-x-0 bottom-0 flex items-center gap-2 p-4 md:px-5",children:[e.date?t("div",{className:"text-xs text-muted-foreground",children:e.date}):null,l>0?t("div",{className:r(e.date&&"ms-auto"),children:t(m,{rating:l})}):null]})]})})}export{m as StarRating,d as TestimonialAvatar,p as TestimonialItemCard};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { TestimonialSectionProps } from '../utils.mjs';
|
|
4
|
+
import '../../common-blocks/utils.mjs';
|
|
5
|
+
import '../../action-button/utils.mjs';
|
|
6
|
+
import '../../../mobase/button.mjs';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
import '@base-ui/react/button';
|
|
9
|
+
import 'class-variance-authority';
|
|
10
|
+
import '../../dialog-qr/DialogQr.mjs';
|
|
11
|
+
import '../../../mobase/dialog.mjs';
|
|
12
|
+
import '@base-ui/react/dialog';
|
|
13
|
+
import '@base-ui/react/use-render';
|
|
14
|
+
|
|
15
|
+
declare const TestimonialTemplateOne: React.MemoExoticComponent<({ dataHeading, dataTestimonials, dataButtons }: TestimonialSectionProps) => react_jsx_runtime.JSX.Element>;
|
|
16
|
+
|
|
17
|
+
export { TestimonialTemplateOne };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"../../../../chunk-7LRQ2WLZ.mjs";import{jsx as i,jsxs as v}from"react/jsx-runtime";import{memo as t}from"react";import{InfiniteSlider as f}from"../../../mobase/infinite-slider";import{ButtonsBlock as x,HeadingBlock as g}from"../../common-blocks/common-blocks";import{TestimonialItemCard as s}from"../shared";const u=t(({dataHeading:l,dataTestimonials:e,dataButtons:o})=>{var p;const r=(p=e==null?void 0:e.length)!=null?p:0,c=r>3;return v("div",{"data-slot":"testimonial-template-1",children:[l?i(g,{tagline:l.tagline,title:l.title,description:l.description,tagHeading:l.tagHeading,align:"center",colorScheme:l.colorScheme||"pink",sizeHeading:l.sizeHeading,className:l.className}):null,r>0?c?i("div",{className:"relative -mx-5 overflow-hidden md:mx-0",children:i(f,{direction:"horizontal",speed:70,speedOnHover:.05,gap:24,className:"pb-1.5",children:e==null?void 0:e.map((n,m)=>i(s,{testimonial:n,index:m,className:"mb-2 w-64 md:w-96"},`testimonial-${m}`))})}):i("div",{className:"-mx-5 flex snap-x snap-mandatory flex-nowrap gap-y-6 gap-x-5 overflow-x-auto overflow-y-hidden px-5 pb-3 md:-mx-3 md:w-full md:flex-wrap md:justify-center md:gap-x-0",children:e==null?void 0:e.map((n,m)=>i(s,{testimonial:n,index:m,className:"shrink-0 basis-10/12 snap-center md:px-3 lg:basis-1/3"},`testimonial-${m}`))}):null,o?i(x,{isFullInMobile:o.isFullInMobile,buttons:o.buttons,className:o.className,align:"center"}):null]})});u.displayName="TestimonialTemplateOne";export{u as TestimonialTemplateOne};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { TestimonialSectionProps } from '../utils.mjs';
|
|
4
|
+
import '../../common-blocks/utils.mjs';
|
|
5
|
+
import '../../action-button/utils.mjs';
|
|
6
|
+
import '../../../mobase/button.mjs';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
import '@base-ui/react/button';
|
|
9
|
+
import 'class-variance-authority';
|
|
10
|
+
import '../../dialog-qr/DialogQr.mjs';
|
|
11
|
+
import '../../../mobase/dialog.mjs';
|
|
12
|
+
import '@base-ui/react/dialog';
|
|
13
|
+
import '@base-ui/react/use-render';
|
|
14
|
+
|
|
15
|
+
declare const TestimonialTemplateThree: React.MemoExoticComponent<({ dataHeading, dataTestimonials, dataButtons }: TestimonialSectionProps) => react_jsx_runtime.JSX.Element>;
|
|
16
|
+
|
|
17
|
+
export { TestimonialTemplateThree };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"../../../../chunk-7LRQ2WLZ.mjs";import{jsx as l,jsxs as a}from"react/jsx-runtime";import{memo as f}from"react";import m from"html-react-parser";import{cn as n}from"../../../../lib/utils";import{AspectRatio as u}from"../../../mobase/aspect-ratio";import{Carousel as g,CarouselContent as p,CarouselDots as N,CarouselItem as x}from"../../../mobase/carousel";import{ButtonsBlock as h,HeadingBlock as w}from"../../common-blocks/common-blocks";import{StarRating as v}from"../shared";function b({className:e}){return l("svg",{width:42,height:36,className:n("shrink-0 text-primary",e),viewBox:"0 0 42 36",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:l("path",{d:"M23.8986 36V25.1748C23.8986 18.3776 25.3972 12.8392 28.3944 8.55944C31.4704 4.1958 36.0056 1.34266 42 0V8.18182C39.3183 8.85315 37.1887 10.1119 35.6113 11.958C34.0338 13.7203 33.0084 15.8601 32.5352 18.3776H39.6338V36H23.8986ZM0 36V25.1748C0 18.3776 1.49859 12.8392 4.49577 8.55944C7.57183 4.1958 12.0676 1.34266 17.9831 0V8.18182C15.3014 8.85315 13.1718 10.1119 11.5944 11.958C10.0169 13.7203 8.99155 15.8601 8.51831 18.3776H15.6169V36H0Z",fill:"currentColor"})})}function C({testimonial:e,className:i}){var r,o,d,c;const s=Number(e.rating)||0,t=!!(e.date||s>0);return l("div",{className:n("testimonial-item shadow-small relative h-full w-full cursor-grab select-none overflow-hidden rounded-xl bg-card p-5 md:p-10",i),"data-slot":"testimonial-slide-item",children:a("div",{className:"flex h-full md:gap-x-10",children:[(r=e.avatar)!=null&&r.trim()?l("div",{className:"relative hidden w-52 shrink-0 grow-0 items-start md:flex",children:l(u,{ratio:2/3,className:"w-full",children:l("img",{src:e.avatar,alt:(o=e.name)!=null?o:"",loading:"lazy",className:"size-full object-contain"})})}):null,a("div",{className:"flex grow flex-col justify-between gap-y-5 md:gap-y-6",children:[a("div",{className:"flex shrink-0 items-end gap-2 md:order-2 lg:gap-x-6",children:[a("div",{className:"min-w-0 grow",children:[e.name?l("div",{className:"text-sm font-bold md:text-base",children:e.name}):null,e.position?l("div",{className:"mt-1 text-xs font-normal text-muted-foreground",children:m(e.position)}):null]}),t?a("div",{className:"hidden shrink-0 grow-0 text-end md:grid md:grid-cols-1 md:gap-1",children:[e.date?l("div",{className:"text-xs text-muted-foreground",children:e.date}):null,s>0?l(v,{rating:s}):null]}):null,(d=e.avatar)!=null&&d.trim()?l("div",{className:"relative w-28 shrink-0 grow-0 md:hidden",children:l(u,{ratio:2/3,className:"w-full",children:l("img",{src:e.avatar,alt:(c=e.name)!=null?c:"",loading:"lazy",className:"size-full object-contain"})})}):null]}),a("div",{className:"flex min-h-0 flex-1 flex-col md:flex-none",children:[a("div",{className:"min-h-0 flex-1",children:[a("div",{className:"mb-1.5 flex shrink-0 gap-3",children:[l(b,{className:"size-5 md:size-6"}),e.shortTitle?l("div",{className:"shrink-0 text-base font-medium md:text-lg",children:m(e.shortTitle)}):null]}),e.description?l("blockquote",{className:"relative text-justify text-base text-foreground",children:m(e.description)}):null]}),t?a("div",{className:n("mt-2 flex shrink-0 items-center gap-2 md:hidden",e.date&&s>0?"justify-between":"justify-end"),children:[e.date?l("div",{className:"text-xs text-muted-foreground",children:e.date}):null,s>0?l(v,{rating:s}):null]}):null]})]})]})})}const k=f(({dataHeading:e,dataTestimonials:i,dataButtons:s})=>{const t=i!=null?i:[];return a("div",{"data-slot":"testimonial-template-3",children:[e?l(w,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"pink",sizeHeading:e.sizeHeading,className:e.className}):null,t.length>0?a(g,{className:"w-full",children:[l(p,{classNameContent:"!overflow-visible",className:"-ml-5 md:-ml-6",children:t.map((r,o)=>l(x,{className:"basis-full pl-5 md:pl-6 lg:basis-10/12 xl:basis-9/12",children:l(C,{testimonial:r})},o))}),t.length>1?l(N,{className:"mt-8"}):null]}):null,s?l(h,{isFullInMobile:s.isFullInMobile,buttons:s.buttons,className:s.className,align:"center"}):null]})});k.displayName="TestimonialTemplateThree";export{k as TestimonialTemplateThree};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { TestimonialSectionProps } from '../utils.mjs';
|
|
4
|
+
import '../../common-blocks/utils.mjs';
|
|
5
|
+
import '../../action-button/utils.mjs';
|
|
6
|
+
import '../../../mobase/button.mjs';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
import '@base-ui/react/button';
|
|
9
|
+
import 'class-variance-authority';
|
|
10
|
+
import '../../dialog-qr/DialogQr.mjs';
|
|
11
|
+
import '../../../mobase/dialog.mjs';
|
|
12
|
+
import '@base-ui/react/dialog';
|
|
13
|
+
import '@base-ui/react/use-render';
|
|
14
|
+
|
|
15
|
+
declare const TestimonialTemplateTwo: React.MemoExoticComponent<({ dataHeading, dataTestimonials, dataButtons }: TestimonialSectionProps) => react_jsx_runtime.JSX.Element>;
|
|
16
|
+
|
|
17
|
+
export { TestimonialTemplateTwo };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use client";import"../../../../chunk-7LRQ2WLZ.mjs";import{Fragment as y,jsx as e,jsxs as a}from"react/jsx-runtime";import{memo as u}from"react";import{InfiniteSlider as N}from"../../../mobase/infinite-slider";import{ButtonsBlock as b,HeadingBlock as k}from"../../common-blocks/common-blocks";import{TestimonialItemCard as v}from"../shared";const p={lg:[{reverse:!1,speed:40},{reverse:!0,speed:50},{reverse:!1,speed:30}],md:[{reverse:!1,speed:30},{reverse:!0,speed:40}],sm:[{reverse:!1,speed:30}]},h=u(({dataHeading:s,dataTestimonials:l,dataButtons:i})=>{var c;const o=(c=l==null?void 0:l.length)!=null?c:0,g=o>3,m=n=>e(y,{children:n.map((r,t)=>e(N,{direction:"vertical",reverse:r.reverse,speed:r.speed,speedOnHover:.05,gap:24,className:"px-0.5",classNameMotion:"w-full",children:l==null?void 0:l.map((f,d)=>e(v,{testimonial:f,index:d,className:"px-0 first:ps-0 last:pe-0"},`testimonial-${t}-${d}`))},`slider-${t}`))});return a("div",{"data-slot":"testimonial-template-2",children:[s?e(k,{tagline:s.tagline,title:s.title,description:s.description,tagHeading:s.tagHeading,align:"center",colorScheme:s.colorScheme||"pink",sizeHeading:s.sizeHeading,className:s.className}):null,o>0?g?a("div",{className:"mark-vertical-marquee relative h-[600px] overflow-hidden",children:[e("div",{className:"hidden w-full grid-cols-3 gap-6 lg:grid",children:m(p.lg)}),e("div",{className:"hidden w-full grid-cols-2 gap-6 md:grid lg:hidden",children:m(p.md)}),e("div",{className:"grid w-full grid-cols-1 gap-6 md:hidden",children:m(p.sm)})]}):e("div",{className:"flex w-full flex-wrap justify-center gap-y-6 md:-mx-3",children:l==null?void 0:l.map((n,r)=>e(v,{testimonial:n,index:r,className:"basis-full md:basis-1/2 md:px-3 lg:basis-1/3"},`testimonial-${r}`))}):null,i?e(b,{isFullInMobile:i.isFullInMobile,buttons:i.buttons,className:i.className,align:"center"}):null,e("style",{children:`
|
|
2
|
+
.mark-vertical-marquee {
|
|
3
|
+
mask: linear-gradient(transparent, black 16px, black calc(100% - 16px), transparent);
|
|
4
|
+
}
|
|
5
|
+
`})]})});h.displayName="TestimonialTemplateTwo";export{h as TestimonialTemplateTwo};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SectionBlockProps, HeadingBlockProps, ButtonsBlockProps } from '../common-blocks/utils.mjs';
|
|
2
|
+
import '../action-button/utils.mjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '../../mobase/button.mjs';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import '@base-ui/react/button';
|
|
8
|
+
import 'class-variance-authority';
|
|
9
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
10
|
+
import '../../mobase/dialog.mjs';
|
|
11
|
+
import '@base-ui/react/dialog';
|
|
12
|
+
import '@base-ui/react/use-render';
|
|
13
|
+
|
|
14
|
+
interface TestimonialData {
|
|
15
|
+
avatar?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
position?: string;
|
|
18
|
+
shortTitle?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
/** 1–5; 0 hides stars */
|
|
21
|
+
rating?: number;
|
|
22
|
+
date?: string;
|
|
23
|
+
}
|
|
24
|
+
interface TestimonialSectionProps extends SectionBlockProps {
|
|
25
|
+
template?: 1 | 2 | 3;
|
|
26
|
+
dataHeading?: HeadingBlockProps;
|
|
27
|
+
dataTestimonials?: TestimonialData[];
|
|
28
|
+
dataButtons?: ButtonsBlockProps;
|
|
29
|
+
}
|
|
30
|
+
declare const randomColors: string[];
|
|
31
|
+
/** Supports `getInitials("Jane Doe")` or legacy `getInitials({ name })`. */
|
|
32
|
+
declare function getInitials(nameOrOpts: string | {
|
|
33
|
+
name?: string;
|
|
34
|
+
}): string;
|
|
35
|
+
declare function getColorForIndex(index: number, colors?: readonly string[]): string;
|
|
36
|
+
|
|
37
|
+
export { type TestimonialData, type TestimonialSectionProps, getColorForIndex, getInitials, randomColors };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../chunk-7LRQ2WLZ.mjs";import{getInitialsFromName as e,TESTIMONIAL_AVATAR_FALLBACK_BACKGROUNDS as r}from"../../../lib/testimonial-avatar";const a=[...r];function g(t){var n;const o=typeof t=="string"?t:(n=t==null?void 0:t.name)!=null?n:"";return e(o)}function c(t,o=r){const n=o.length||1,i=o[t%n];return typeof i=="string"?i:"bg-primary"}export{c as getColorForIndex,g as getInitials,a as randomColors};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ActionButtonProps } from './utils.mjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '../../mobase/button.mjs';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
import '@base-ui/react/button';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
9
|
+
import '../../mobase/dialog.mjs';
|
|
10
|
+
import '@base-ui/react/dialog';
|
|
11
|
+
import '@base-ui/react/use-render';
|
|
12
|
+
|
|
13
|
+
declare function ActionButton({ action, newTab, offset, dialogQrProps, className, children, ...props }: ActionButtonProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { ActionButton };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as o,b as i,c as b}from"../../../chunk-7LRQ2WLZ.mjs";import{Fragment as _,jsx as c,jsxs as E}from"react/jsx-runtime";import{cn as S}from"../../../lib/utils";import{Button as m}from"../../mobase/button";import{DialogQr as a}from"../dialog-qr";import{useState as v}from"react";import{useIsMobile as M}from"./utils";function T(F){var r=F,{action:n,newTab:q,offset:L,dialogQrProps:t,className:u,children:s}=r,f=b(r,["action","newTab","offset","dialogQrProps","className","children"]);const[y,l]=v(!1),A=M(),B=!!(t!=null&&t.qrLink),C=()=>{const e=B?t==null?void 0:t.qrLink:n;return typeof e=="string"?e.trim():""},h=()=>{const e=C();!e&&typeof n!="function"||(typeof n=="function"?n():window.open(e,q?"_blank":"_self"))},O=(e,D=0)=>{const w=document.querySelector(e);if(!w)return;const R=w.getBoundingClientRect().top+window.scrollY-D;window.scrollTo({top:R,behavior:"smooth"})},W=()=>{typeof n=="string"&&n.startsWith("#")?O(n,L):h()},k=()=>E(_,{children:[c(m,i(o({},f),{className:u,onClick:()=>{l(!0)},"data-name":"button-action-with-qr",children:s})),c(a,i(o({},t),{open:y,onOpenChange:()=>{l(!1)},qrLink:(t==null?void 0:t.qrLink)||""}))]});return B?A?t!=null&&t.isQrForAll?k():c(m,i(o({},f),{className:u,onClick:h,"data-name":"button-action-with-qr",children:s})):k():c(m,i(o({},f),{onClick:W,className:S("cursor-pointer",u),"data-name":"button-action-without-qr",rel:"noreferrer",children:s}))}export{T as ActionButton};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { ActionButton } from './action-button.mjs';
|
|
2
|
+
export { ActionButtonProps } from './utils.mjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '../../mobase/button.mjs';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import '@base-ui/react/button';
|
|
8
|
+
import 'class-variance-authority';
|
|
9
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
10
|
+
import '../../mobase/dialog.mjs';
|
|
11
|
+
import '@base-ui/react/dialog';
|
|
12
|
+
import '@base-ui/react/use-render';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../chunk-7LRQ2WLZ.mjs";import{ActionButton as r}from"./action-button";export{r as ActionButton};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../../mobase/button.mjs';
|
|
3
|
+
import { DialogQrProps } from '../dialog-qr/DialogQr.mjs';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
import '@base-ui/react/button';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
import '../../mobase/dialog.mjs';
|
|
9
|
+
import '@base-ui/react/dialog';
|
|
10
|
+
import '@base-ui/react/use-render';
|
|
11
|
+
|
|
12
|
+
interface ActionButtonProps extends ButtonProps {
|
|
13
|
+
/**
|
|
14
|
+
* Action to be performed when the button is clicked.
|
|
15
|
+
*/
|
|
16
|
+
action?: string | (() => void) | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Opens a new tab when href link.
|
|
19
|
+
*/
|
|
20
|
+
newTab?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Offset top when use button scroll to element.
|
|
23
|
+
*/
|
|
24
|
+
offset?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Props to pass to the DialogQr component. If this prop is provided, the button will open a dialog with a QR code. qrLink in DialogQrProps is required.
|
|
27
|
+
*/
|
|
28
|
+
dialogQrProps?: Partial<DialogQrProps>;
|
|
29
|
+
/**
|
|
30
|
+
* CSS class to be appended to the root element.
|
|
31
|
+
*/
|
|
32
|
+
className?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The content for button.
|
|
35
|
+
*/
|
|
36
|
+
children?: ReactNode;
|
|
37
|
+
}
|
|
38
|
+
declare const useIsMobile: () => boolean | undefined;
|
|
39
|
+
|
|
40
|
+
export { type ActionButtonProps, useIsMobile };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"../../../chunk-7LRQ2WLZ.mjs";import{useEffect as t,useLayoutEffect as r,useState as s}from"react";import{UAParser as i}from"ua-parser-js";const n=()=>i().device.type==="mobile",a=typeof window!="undefined"?r:t,p=()=>{const[e,o]=s(!1);return a(()=>{o(n())},[]),e};export{p as useIsMobile};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { SectionBlockProps, HeadingBlockProps, ButtonsBlockProps } from './utils.mjs';
|
|
3
|
+
import '../action-button/utils.mjs';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '../../mobase/button.mjs';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import '@base-ui/react/button';
|
|
8
|
+
import 'class-variance-authority';
|
|
9
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
10
|
+
import '../../mobase/dialog.mjs';
|
|
11
|
+
import '@base-ui/react/dialog';
|
|
12
|
+
import '@base-ui/react/use-render';
|
|
13
|
+
|
|
14
|
+
declare function SectionBlock({ idSection, className, background, children }: SectionBlockProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
declare function HeadingBlock({ align, tagline, title, description, tagHeading, colorScheme, sizeHeading, className, }: HeadingBlockProps): react_jsx_runtime.JSX.Element | null;
|
|
16
|
+
declare function ButtonsBlock({ align, isFullInMobile, buttons, className }: ButtonsBlockProps): react_jsx_runtime.JSX.Element | null;
|
|
17
|
+
|
|
18
|
+
export { ButtonsBlock, HeadingBlock, SectionBlock };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u,b as d,c as m}from"../../../chunk-7LRQ2WLZ.mjs";import{jsx as l,jsxs as x}from"react/jsx-runtime";import g from"html-react-parser";import{cn as s}from"../../../lib/utils";import{ActionButton as B}from"../action-button/action-button";import{Heading as w,HeadingGroup as H,HeadingSub as y,HeadingTagline as N}from"../heading-group/HeadingGroup";function h({idSection:i,className:e,background:n,children:r}){return l("section",{id:i,className:s("block-section bg-background-1 py-8 md:py-10 lg:py-14",e),style:{background:n},children:l("div",{className:"wrapper relative",children:r})})}function P({align:i="center",tagline:e,title:n,description:r,tagHeading:o="h2",colorScheme:a="black",sizeHeading:t="small",className:p}){const c=a==="black"?"pink":a==="pink"?"regular":"white",f=a==="pink"?"pink":a==="white"?"white":"regular",k=a==="white"?"white":"regular";return!n&&!r&&!e?null:x(H,{align:i,className:p,children:[e?l(N,{color:c,children:e}):null,n?l(w,{tagHeading:o,color:f,size:t,children:g(n)}):null,r?l(y,{color:k,size:"large",marginTop:t==="large"?"spacing2Xl":"spacingX",children:g(r)}):null]})}function v({align:i,isFullInMobile:e=!1,buttons:n,className:r}){return(n==null?void 0:n.length)===0?null:l("div",{className:s("buttons-block mt-8 flex w-full gap-4 md:mt-10",i==="center"&&"justify-center",i==="right"&&"justify-end",e&&"flex-wrap md:flex-nowrap",r),children:n==null?void 0:n.slice(0,2).map((o,a)=>{if(!o)return null;const c=o,{btnName:t}=c,p=m(c,["btnName"]);return l(B,d(u({},p),{className:s(e&&"w-full md:w-auto",o.className),children:g(t)}),a)})})}export{v as ButtonsBlock,P as HeadingBlock,h as SectionBlock};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { ButtonsBlock, HeadingBlock, SectionBlock } from './common-blocks.mjs';
|
|
2
|
+
export { ButtonsBlockProps, HeadingBlockProps, SectionBlockProps } from './utils.mjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import '../action-button/utils.mjs';
|
|
5
|
+
import 'react';
|
|
6
|
+
import '../../mobase/button.mjs';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
import '@base-ui/react/button';
|
|
9
|
+
import 'class-variance-authority';
|
|
10
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
11
|
+
import '../../mobase/dialog.mjs';
|
|
12
|
+
import '@base-ui/react/dialog';
|
|
13
|
+
import '@base-ui/react/use-render';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../chunk-7LRQ2WLZ.mjs";import{SectionBlock as c,HeadingBlock as B,ButtonsBlock as e}from"./common-blocks";export{e as ButtonsBlock,B as HeadingBlock,c as SectionBlock};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ActionButtonProps } from '../action-button/utils.mjs';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../../mobase/button.mjs';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
import '@base-ui/react/button';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
import '../dialog-qr/DialogQr.mjs';
|
|
9
|
+
import '../../mobase/dialog.mjs';
|
|
10
|
+
import '@base-ui/react/dialog';
|
|
11
|
+
import '@base-ui/react/use-render';
|
|
12
|
+
|
|
13
|
+
interface HeadingBlockProps {
|
|
14
|
+
/**
|
|
15
|
+
* ALign the heading.
|
|
16
|
+
*/
|
|
17
|
+
align?: "center" | "left" | "right";
|
|
18
|
+
/**
|
|
19
|
+
* The tagline content.
|
|
20
|
+
*/
|
|
21
|
+
tagline?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The title content.
|
|
24
|
+
*/
|
|
25
|
+
title?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The description content.
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
/**
|
|
31
|
+
* HTML Tag heading. Default is "h2".
|
|
32
|
+
*/
|
|
33
|
+
tagHeading?: "h1" | "h2";
|
|
34
|
+
/**
|
|
35
|
+
* The color scheme of the heading block.
|
|
36
|
+
*/
|
|
37
|
+
colorScheme?: "pink" | "black" | "white";
|
|
38
|
+
/**
|
|
39
|
+
* The size of the heading.
|
|
40
|
+
*/
|
|
41
|
+
sizeHeading?: "small" | "large";
|
|
42
|
+
/**
|
|
43
|
+
* CSS class to be appended to the root element heading.
|
|
44
|
+
*/
|
|
45
|
+
className?: string;
|
|
46
|
+
}
|
|
47
|
+
interface dataButton extends ActionButtonProps {
|
|
48
|
+
/**
|
|
49
|
+
* Button name.
|
|
50
|
+
*/
|
|
51
|
+
btnName: string;
|
|
52
|
+
}
|
|
53
|
+
interface ButtonsBlockProps {
|
|
54
|
+
/**
|
|
55
|
+
* CSS class to be appended to the root element.
|
|
56
|
+
*/
|
|
57
|
+
className?: string;
|
|
58
|
+
/**
|
|
59
|
+
* ALign the button.
|
|
60
|
+
*/
|
|
61
|
+
align?: "center" | "left" | "right";
|
|
62
|
+
/**
|
|
63
|
+
* Button is full width in mobile.
|
|
64
|
+
*/
|
|
65
|
+
isFullInMobile?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Button group data.
|
|
68
|
+
*/
|
|
69
|
+
buttons?: dataButton[];
|
|
70
|
+
}
|
|
71
|
+
interface SectionBlockProps {
|
|
72
|
+
/**
|
|
73
|
+
* Id of the section.
|
|
74
|
+
*/
|
|
75
|
+
idSection?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* CSS class to be appended to the root element.
|
|
78
|
+
*/
|
|
79
|
+
className?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Input the color code or image url according to CSS syntax.
|
|
82
|
+
*/
|
|
83
|
+
background?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The children of the section.
|
|
86
|
+
*/
|
|
87
|
+
children?: React.ReactNode;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type { ButtonsBlockProps, HeadingBlockProps, SectionBlockProps, dataButton };
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Dialog } from '../../mobase/dialog.mjs';
|
|
4
|
+
import 'class-variance-authority/types';
|
|
5
|
+
import '@base-ui/react/dialog';
|
|
6
|
+
import '@base-ui/react/use-render';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
|
|
9
|
+
interface DialogQrProps extends Omit<React.ComponentProps<typeof Dialog>, "children"> {
|
|
10
|
+
/**
|
|
11
|
+
* The title of the dialog QR.
|
|
12
|
+
*/
|
|
13
|
+
title?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The short title of the step 3 in dialog QR.
|
|
16
|
+
*/
|
|
17
|
+
shortTitle?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The image URL for the QR code.
|
|
20
|
+
*/
|
|
21
|
+
qrImage?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The link associated with the QR code.
|
|
24
|
+
*/
|
|
25
|
+
qrLink?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The logo image URL for the QR code.
|
|
28
|
+
*/
|
|
29
|
+
logoQr?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Indicates whether the QR code is all in one.
|
|
32
|
+
*/
|
|
33
|
+
isQrForAll?: boolean;
|
|
34
|
+
className?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional override for step list (left side).
|
|
37
|
+
*/
|
|
38
|
+
children?: React.ReactNode;
|
|
39
|
+
}
|
|
40
|
+
declare function DialogQr({ className, children, title, shortTitle, qrImage, qrLink, logoQr, isQrForAll, ...props }: DialogQrProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
export { DialogQr, type DialogQrProps };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";import{a as l,b as r,c}from"../../../chunk-7LRQ2WLZ.mjs";import{Fragment as n,jsx as e,jsxs as a}from"react/jsx-runtime";import{QRCodeSVG as x}from"qrcode.react";import{cn as f}from"../../../lib/utils";import{Dialog as u,DialogContent as N}from"../../mobase/dialog";function w({img:t="",children:o,isQrForAll:i}){return a(n,{children:[e("div",{className:"qrcode__scan__container",children:a("div",{className:"qrcode__scan",children:[e("div",{className:"qrcode__gradient",children:e("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),e("div",{className:"qrcode__border",children:e("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),e("div",{className:"p-4 qrcode__image",children:t?e("img",{alt:"step 3",className:"mx-auto img-fluid d-block",src:t,loading:"lazy"}):o})]})}),e("div",{className:"mt-4 text-sm text-white",children:i?a(n,{children:[e("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),e("div",{className:"mt-3",children:"Nh\u1EADn ti\u1EC1n t\u1EEB m\u1ECDi V\xED \u0110i\u1EC7n T\u1EED v\xE0 Ng\xE2n H\xE0ng"})]}):a(n,{children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"inline mr-1 w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"})}),"S\u1EED d\u1EE5ng App MoMo ho\u1EB7c",e("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),e("style",{children:`
|
|
2
|
+
.qrcode__scan__container {
|
|
3
|
+
padding: 15px;
|
|
4
|
+
background-color: white;
|
|
5
|
+
width: 280px;
|
|
6
|
+
height: 280px;
|
|
7
|
+
border-radius: 20px;
|
|
8
|
+
border-radius: 15px;
|
|
9
|
+
margin: 0 auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.qrcode__image {
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.qrcode__image img {
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.qrcode__scan {
|
|
21
|
+
width: 245px;
|
|
22
|
+
height: 245px;
|
|
23
|
+
margin: 0 auto;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
background-color: white;
|
|
26
|
+
position: relative;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.qrcode__border {
|
|
33
|
+
position: absolute;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
top: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
z-index: 5;
|
|
39
|
+
opacity: 0.9;
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.qrcode__gradient {
|
|
44
|
+
position: absolute;
|
|
45
|
+
opacity: 0.6;
|
|
46
|
+
width: 98%;
|
|
47
|
+
height: 98%;
|
|
48
|
+
top: 1%;
|
|
49
|
+
left: 1%;
|
|
50
|
+
z-index: 6;
|
|
51
|
+
// pointer-events: none;
|
|
52
|
+
transform: translate3d(0, -110%, 0);
|
|
53
|
+
animation: QRCodeScan 3s infinite cubic-bezier(0.45, 0.03, 0.81, 0.63);
|
|
54
|
+
|
|
55
|
+
backface-visibility: hidden;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@keyframes QRCodeScan {
|
|
59
|
+
0% {
|
|
60
|
+
transform: translate3d(0, -110%, 0);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
90% {
|
|
64
|
+
transform: translate3d(0, 30%, 0);
|
|
65
|
+
}
|
|
66
|
+
100% {
|
|
67
|
+
transform: translate3d(0, 30%, 0);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`})]})}function R(b){var m=b,{className:t,children:o,title:i,shortTitle:g,qrImage:p,qrLink:d,logoQr:h,isQrForAll:s=!1}=m,v=c(m,["className","children","title","shortTitle","qrImage","qrLink","logoQr","isQrForAll"]);return e(u,r(l({},v),{children:e(N,{className:f("h-auto max-h-screen bg-background-1 overflow-hidden border-0 p-0 ring-0 md:max-h-screen md:max-w-2xl lg:max-w-3xl [&>button>svg]:text-white",t),children:a("div",{className:"flex flex-row flex-wrap",children:[e("div",{className:"hidden flex-none w-full sm:block md:w-5/12",children:o||a("div",{className:"grid grid-cols-1 gap-y-6 px-5 py-8 text-sm",children:[a("div",{className:"flex flex-nowrap items-center",children:[e("div",{className:"flex-none",children:e("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),a("div",{className:"flex-1 pl-4",children:[e("div",{className:"font-semibold text-gray-800 step",children:"B\u01B0\u1EDBc 1 :"}),e("div",{className:"mt-1 text-gray-500",children:s?"M\u1EDF app MoMo ho\u1EB7c \u1EE9ng d\u1EE5ng ng\xE2n h\xE0ng/v\xED \u0111i\u1EC7n t\u1EED ch\u1EA5p nh\u1EADn m\xE3 v\u1EA1ch t\u1EEB QR \u0110a N\u0103ng":"M\u1EDF \u1EE9ng d\u1EE5ng camera m\u1EB7c \u0111\u1ECBnh ho\u1EB7c \u1EE9ng d\u1EE5ng h\u1ED7 tr\u1EE3 QR code c\u1EE7a b\u1EA1n"})]})]}),a("div",{className:"flex flex-nowrap items-center",children:[e("div",{className:"flex-none",children:e("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),a("div",{className:"flex-1 pl-4",children:[e("div",{className:"font-semibold text-gray-800 step",children:"B\u01B0\u1EDBc 2 :"}),e("div",{className:"mt-1 text-gray-500",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),a("div",{className:"flex flex-nowrap items-center",children:[e("div",{className:"flex-none",children:e("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),a("div",{className:"flex-1 pl-4",children:[e("div",{className:"font-semibold text-gray-800 step",children:"B\u01B0\u1EDBc 3 :"}),a("div",{className:"mt-1 text-gray-500",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c ",g||"Truy c\u1EADp ngay"]})]})]})]})}),e("div",{className:"flex justify-center items-center w-full h-auto md:w-7/12",style:{background:"url(https://homepage.momocdn.net/jk/momo2020/img/intro/qrcode-pattern.png) 10px 10px no-repeat,linear-gradient(to top,#c1177c,#e11b90)"},children:a("div",{className:"px-5 py-10 text-center",children:[i?e("h4",{className:"mb-5 text-base font-semibold text-white",children:i}):null,a("div",{className:"relative",children:[s?e("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:e("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}):null,e(w,{img:p,isQrForAll:s,children:d?e(x,{value:d,size:215,imageSettings:{src:h||"https://homepage.momocdn.net/pwa/images/logoMomox50.png",height:50,width:50,excavate:!0},level:"H"}):null})]})]})})]})})}))}export{R as DialogQr};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { DialogQr, DialogQrProps } from './DialogQr.mjs';
|
|
2
|
+
import 'react/jsx-runtime';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '../../mobase/dialog.mjs';
|
|
5
|
+
import 'class-variance-authority/types';
|
|
6
|
+
import '@base-ui/react/dialog';
|
|
7
|
+
import '@base-ui/react/use-render';
|
|
8
|
+
import 'class-variance-authority';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../chunk-7LRQ2WLZ.mjs";import{DialogQr as p}from"./DialogQr";export{p as DialogQr};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FooterData, FooterSocialItem, FooterAppDownloadItem } from './types.mjs';
|
|
2
|
+
|
|
3
|
+
/** Default primary column — from legacy `FooterItemsDefault`. */
|
|
4
|
+
declare const footerDefaultPrimaryMenu: FooterData;
|
|
5
|
+
/** Default secondary column — from legacy `SERVICES_DEFAULT` (image → icon). */
|
|
6
|
+
declare const footerDefaultSecondaryMenu: FooterData;
|
|
7
|
+
declare const footerSupportAddress = "L\u1EA7u 6, To\u00E0 nh\u00E0 Ph\u00FA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\u00E0ng V\u0103n Th\u00E1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\u00E2n Ph\u00FA, Qu\u1EADn 7, Th\u00E0nh ph\u1ED1 H\u1ED3 Ch\u00ED Minh";
|
|
8
|
+
declare const footerMoMoText: {
|
|
9
|
+
readonly business: {
|
|
10
|
+
readonly phone: "1900636652";
|
|
11
|
+
readonly phoneFormat: "1900 636 652 (Phí 1.000đ/phút)";
|
|
12
|
+
readonly email: "merchant.care@momo.vn";
|
|
13
|
+
};
|
|
14
|
+
readonly support: {
|
|
15
|
+
readonly hotline: "1900545441";
|
|
16
|
+
readonly hotlineFormat: "1900 5454 41";
|
|
17
|
+
readonly phoneExt1: "02873065555";
|
|
18
|
+
readonly phoneExt1Format: "028.7306.5555";
|
|
19
|
+
readonly phoneExt2: "02899995555";
|
|
20
|
+
readonly phoneExt2Format: "028.9999.5555";
|
|
21
|
+
readonly phoneExt3: "02855555555";
|
|
22
|
+
readonly phoneExt3Format: "028.5555.5555";
|
|
23
|
+
readonly email: "hotro@momo.vn";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const footerSocialItems: FooterSocialItem[];
|
|
27
|
+
declare const footerAppDownloads: FooterAppDownloadItem[];
|
|
28
|
+
declare const footerQrDownloadImage = "https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg";
|
|
29
|
+
declare const footerLogoSrc = "https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg";
|
|
30
|
+
declare const footerCertificationBadge: {
|
|
31
|
+
readonly href: "http://online.gov.vn/Home/AppDetails/163";
|
|
32
|
+
readonly imageSrc: "https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png";
|
|
33
|
+
readonly width: 119;
|
|
34
|
+
readonly height: 45;
|
|
35
|
+
};
|
|
36
|
+
declare const footerHelpGuideUrl = "https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup";
|
|
37
|
+
declare const footerBusinessRegisterUrl = "https://business.momo.vn/#menutop";
|
|
38
|
+
|
|
39
|
+
export { footerAppDownloads, footerBusinessRegisterUrl, footerCertificationBadge, footerDefaultPrimaryMenu, footerDefaultSecondaryMenu, footerHelpGuideUrl, footerLogoSrc, footerMoMoText, footerQrDownloadImage, footerSocialItems, footerSupportAddress };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../chunk-7LRQ2WLZ.mjs";const o={heading:"V\u1EC1 ch\xFAng t\xF4i",lists:[{title:"Gi\u1EDBi thi\u1EC7u",url:"/sieu-ung-dung-momo",newTab:!1},{title:"An to\xE0n - B\u1EA3o m\u1EADt",url:"/an-toan-bao-mat",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n \u0111i\u1EC1u l\u1EC7",url:"/dieu-khoan-dieu-le",newTab:!1},{title:"Ch\xEDnh s\xE1ch quy\u1EC1n ri\xEAng t\u01B0",url:"/chinh-sach-quyen-rieng-tu",newTab:!1},{title:"\u0110i\u1EC1u kho\u1EA3n li\xEAn k\u1EBFt Google tr\xEAn \u1EE9ng d\u1EE5ng MoMo",url:"/google-cloud-policy",newTab:!1},{title:"Blog",url:"/blog",newTab:!1},{title:"Li\xEAn h\u1EC7",url:"/lienhe",newTab:!1},{title:"H\u1ECFi \u0111\xE1p",url:"/hoi-dap",newTab:!1}]},e={heading:"D\u1ECBch v\u1EE5 n\u1ED5i b\u1EADt",lists:[{title:"V\xE9 xem phim",url:"/cinema",icon:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144722.svg",newTab:!1},{title:"B\u1EA3o hi\u1EC3m \xD4 t\xF4",url:"/bao-hiem-o-to/vat-chat",icon:"https://homepage.momocdn.net/fileuploads/svg/momo-file-230629144844.svg",newTab:!1},{title:"V\xE9 m\xE1y bay",url:"/ve-may-bay",icon:"https://homepage.momocdn.net/fileuploads/svg/momo-file-201210145350.svg",newTab:!1},{title:"V\xED nh\xE2n \xE1i",url:"/vi-nhan-ai",icon:"https://homepage.momocdn.net/img/momo-upload-api-231214222240-638381893608141712.png",newTab:!1},{title:"T\xFAi th\u1EA7n t\xE0i",url:"/tui-than-tai",icon:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210716153611.svg",newTab:!1},{title:"V\xED tr\u1EA3 sau",url:"/vi-tra-sau",icon:"https://homepage.momocdn.net/img/momo-upload-api-230629144414-638236466540028217.png",newTab:!1},{title:"Vay nhanh",url:"/vay-nhanh",icon:"https://homepage.momocdn.net/img/momo-upload-api-230418101312-638174095928506551.png",newTab:!1},{title:"Tr\u1EA3 G\xF3p Apple",url:"/tra-gop-san-pham-apple",icon:"https://homepage.momocdn.net/img/momo-amazone-s3-api-240719154503-638570007030998565.png",newTab:!1}]},t="L\u1EA7u 6, To\xE0 nh\xE0 Ph\xFA M\u1EF9 H\u01B0ng, s\u1ED1 8 Ho\xE0ng V\u0103n Th\xE1i, khu ph\u1ED1 1, Ph\u01B0\u1EDDng T\xE2n Ph\xFA, Qu\u1EADn 7, Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh",n={business:{phone:"1900636652",phoneFormat:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",email:"merchant.care@momo.vn"},support:{hotline:"1900545441",hotlineFormat:"1900 5454 41",phoneExt1:"02873065555",phoneExt1Format:"028.7306.5555",phoneExt2:"02899995555",phoneExt2Format:"028.9999.5555",phoneExt3:"02855555555",phoneExt3Format:"028.5555.5555",email:"hotro@momo.vn"}},a=[{name:"Facebook",image:"https://homepage.momocdn.net/styles/desktop/images/social/facebook.svg",link:"https://www.facebook.com/vimomo"},{name:"Linkedin",image:"https://homepage.momocdn.net/styles/desktop/images/social/linkedin.svg",link:"https://www.linkedin.com/company/momo-mservice/"},{name:"Youtube",image:"https://homepage.momocdn.net/styles/desktop/images/social/youtube.svg",link:"https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw"}],m=[{name:"App Store",image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{name:"Google Play",image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}],i="https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",p="https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",s={href:"http://online.gov.vn/Home/AppDetails/163",imageSrc:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45},l="https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",h="https://business.momo.vn/#menutop";export{m as footerAppDownloads,h as footerBusinessRegisterUrl,s as footerCertificationBadge,o as footerDefaultPrimaryMenu,e as footerDefaultSecondaryMenu,l as footerHelpGuideUrl,p as footerLogoSrc,n as footerMoMoText,i as footerQrDownloadImage,a as footerSocialItems,t as footerSupportAddress};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { FooterProps } from './types.mjs';
|
|
3
|
+
|
|
4
|
+
declare function FooterContent({ primaryMenu, secondaryMenu, }: Pick<FooterProps, "primaryMenu" | "secondaryMenu">): react_jsx_runtime.JSX.Element;
|
|
5
|
+
|
|
6
|
+
export { FooterContent };
|