@devvistatech/devvista-kit 0.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/CHANGELOG.md +13 -0
- package/LICENSE +7 -0
- package/README.md +15 -0
- package/app/about/page.tsx +306 -0
- package/app/adRequest/page.tsx +550 -0
- package/app/analytics/page.tsx +347 -0
- package/app/api/about/route.ts +307 -0
- package/app/api/adRequest/route.ts +568 -0
- package/app/api/analytics/[reportType]/route.ts +338 -0
- package/app/api/bio/route.ts +314 -0
- package/app/api/blog/route.ts +307 -0
- package/app/api/chat/route.ts +15 -0
- package/app/api/contact/route.ts +410 -0
- package/app/api/contacts/route.ts +225 -0
- package/app/api/files/route.ts +430 -0
- package/app/api/gallery-data/route.ts +661 -0
- package/app/api/schedule/route.ts +456 -0
- package/app/api/sync-user/route.ts +114 -0
- package/app/api/trial-request/route.ts +298 -0
- package/app/blog/[id]/page.tsx +281 -0
- package/app/blog/page.tsx +217 -0
- package/app/constants/about.ts +49 -0
- package/app/constants/adRequest.ts +114 -0
- package/app/constants/contact.ts +41 -0
- package/app/constants/faq.ts +46 -0
- package/app/constants/gallery.ts +43 -0
- package/app/constants/page.ts +70 -0
- package/app/constants/schedule.ts +72 -0
- package/app/contact/page.tsx +285 -0
- package/app/faq/page.tsx +192 -0
- package/app/favicon.ico +0 -0
- package/app/gallery/page.tsx +320 -0
- package/app/globals.css +58 -0
- package/app/layout.tsx +62 -0
- package/app/page.tsx +339 -0
- package/app/schedule/page.tsx +661 -0
- package/bin/init.js +187 -0
- package/components/addOns/functional/BioEditor.tsx +430 -0
- package/components/addOns/functional/CalendlyWidget.tsx +101 -0
- package/components/addOns/functional/ClassList.tsx +146 -0
- package/components/addOns/functional/ClassPopup.tsx +399 -0
- package/components/addOns/functional/ContactForm.tsx +285 -0
- package/components/addOns/functional/FileUploader.tsx +293 -0
- package/components/addOns/functional/ImageDescCarousel.tsx +821 -0
- package/components/addOns/functional/NewUserAnalytics.tsx +101 -0
- package/components/addOns/functional/ScheduleCarousel.tsx +172 -0
- package/components/addOns/functional/aboutSections/AboutSection.tsx +571 -0
- package/components/addOns/functional/aboutSections/constants/aboutSection.ts +66 -0
- package/components/addOns/functional/blogSections/BlogDashboard.tsx +185 -0
- package/components/addOns/functional/blogSections/BlogFormPopUp.tsx +555 -0
- package/components/addOns/functional/blogSections/BlogList.tsx +149 -0
- package/components/addOns/functional/blogSections/BlogSidebar.tsx +59 -0
- package/components/addOns/functional/blogSections/constants/blogDashboard.ts +29 -0
- package/components/addOns/functional/blogSections/constants/blogFormPopUp.ts +98 -0
- package/components/addOns/functional/blogSections/constants/blogList.ts +23 -0
- package/components/addOns/functional/blogSections/constants/blogSidebar.ts +16 -0
- package/components/addOns/functional/contactsDashboard/ContactsDashboard.tsx +348 -0
- package/components/addOns/functional/contactsDashboard/constants/contactsDashboard.ts +71 -0
- package/components/addOns/functional/galleries/GalleryComplex.tsx +908 -0
- package/components/addOns/functional/galleries/GallerySimple.tsx +604 -0
- package/components/addOns/functional/galleries/constants/galleryComplex.ts +105 -0
- package/components/addOns/functional/galleries/constants/gallerySimple.ts +75 -0
- package/components/addOns/functional/schedules/ScheduleGridOne.tsx +263 -0
- package/components/addOns/functional/schedules/ScheduleGridTwo.tsx +295 -0
- package/components/addOns/functional/schedules/ScheduleGridTwoBasic.tsx +289 -0
- package/components/addOns/functional/schedules/SchedulerForm.tsx +429 -0
- package/components/addOns/functional/schedules/constants/ScheduleGridTwo.ts +41 -0
- package/components/addOns/functional/schedules/constants/ScheduleGridTwoBasic.ts +41 -0
- package/components/addOns/functional/schedules/constants/SchedulerForm.ts +66 -0
- package/components/addOns/functional/schedules/constants/scheduleGridOne.ts +55 -0
- package/components/addOns/non-functional/AnnouncementBanner.tsx +47 -0
- package/components/addOns/non-functional/FeaturesSection.tsx +63 -0
- package/components/addOns/non-functional/HeroSection.tsx +143 -0
- package/components/addOns/non-functional/IconBubble.tsx +50 -0
- package/components/addOns/non-functional/SampleCarousel.tsx +205 -0
- package/components/addOns/non-functional/Testimonials.tsx +336 -0
- package/components/addOns/non-functional/ThreeSetGallery.tsx +64 -0
- package/components/addOns/non-functional/aboutSections/AboutSection.tsx +63 -0
- package/components/addOns/non-functional/aboutSections/constants/aboutSection.ts +25 -0
- package/components/addOns/non-functional/imageCarousels/ProductSlider.tsx +118 -0
- package/components/addOns/non-functional/imageCarousels/ProgramCarousel.tsx +233 -0
- package/components/addOns/non-functional/imageCarousels/constants/programCarousel.ts +40 -0
- package/components/addOns/non-functional/imageCarousels/constants/programSlider.ts +37 -0
- package/components/addOns/non-functional/spinner.tsx +22 -0
- package/components/footers/footer.tsx +454 -0
- package/components/navBars/navbar.tsx +311 -0
- package/components/other/accordion.tsx +58 -0
- package/components/other/admin-menu.tsx +69 -0
- package/components/other/alert-dialog.tsx +141 -0
- package/components/other/alert.tsx +59 -0
- package/components/other/aspect-ratio.tsx +7 -0
- package/components/other/avatar.tsx +50 -0
- package/components/other/badge.tsx +36 -0
- package/components/other/breadcrumb.tsx +115 -0
- package/components/other/button.tsx +733 -0
- package/components/other/calendar.tsx +66 -0
- package/components/other/card.tsx +86 -0
- package/components/other/carousel.tsx +275 -0
- package/components/other/chart.tsx +363 -0
- package/components/other/checkbox.tsx +30 -0
- package/components/other/collapsible.tsx +11 -0
- package/components/other/command.tsx +155 -0
- package/components/other/context-menu.tsx +200 -0
- package/components/other/dialog.tsx +122 -0
- package/components/other/drawer.tsx +118 -0
- package/components/other/dropdown-menu.tsx +200 -0
- package/components/other/form.tsx +179 -0
- package/components/other/hover-card.tsx +29 -0
- package/components/other/input-otp.tsx +71 -0
- package/components/other/input.tsx +25 -0
- package/components/other/label.tsx +26 -0
- package/components/other/login-popup.tsx +0 -0
- package/components/other/menubar.tsx +236 -0
- package/components/other/mobile-icon.tsx +22 -0
- package/components/other/navigation-menu.tsx +128 -0
- package/components/other/pagination.tsx +117 -0
- package/components/other/popover.tsx +31 -0
- package/components/other/progress.tsx +28 -0
- package/components/other/radio-group.tsx +44 -0
- package/components/other/resizable.tsx +45 -0
- package/components/other/scroll-area.tsx +48 -0
- package/components/other/select.tsx +160 -0
- package/components/other/separator.tsx +31 -0
- package/components/other/sheet.tsx +140 -0
- package/components/other/signup-popup.tsx +0 -0
- package/components/other/skeleton.tsx +15 -0
- package/components/other/slider.tsx +28 -0
- package/components/other/social-icons.tsx +40 -0
- package/components/other/sonner.tsx +31 -0
- package/components/other/switch.tsx +29 -0
- package/components/other/table.tsx +117 -0
- package/components/other/tabs.tsx +55 -0
- package/components/other/textarea.tsx +24 -0
- package/components/other/toast.tsx +123 -0
- package/components/other/toaster.tsx +35 -0
- package/components/other/toggle-group.tsx +61 -0
- package/components/other/toggle.tsx +45 -0
- package/components/other/tooltip.tsx +30 -0
- package/components/theme-provider.tsx +9 -0
- package/components/types.ts +22 -0
- package/dist/.next/types/app/api/about/route.js +52 -0
- package/dist/.next/types/app/api/blog/route.js +52 -0
- package/dist/.next/types/app/api/files/route.js +52 -0
- package/dist/.next/types/app/api/schedule/route.js +52 -0
- package/dist/.next/types/app/api/sync-user/route.js +52 -0
- package/dist/.next/types/app/layout.js +22 -0
- package/dist/.next/types/app/page.js +22 -0
- package/dist/app/about/page.jsx +259 -0
- package/dist/app/adRequest/page.jsx +531 -0
- package/dist/app/analytics/page.jsx +298 -0
- package/dist/app/api/about/route.js +285 -0
- package/dist/app/api/adRequest/route.js +440 -0
- package/dist/app/api/analytics/[reportType]/route.js +346 -0
- package/dist/app/api/bio/route.js +293 -0
- package/dist/app/api/blog/route.js +366 -0
- package/dist/app/api/chat/route.js +58 -0
- package/dist/app/api/contact/route.js +163 -0
- package/dist/app/api/contacts/route.js +234 -0
- package/dist/app/api/files/route.js +444 -0
- package/dist/app/api/gallery-data/route.js +642 -0
- package/dist/app/api/schedule/route.js +461 -0
- package/dist/app/api/sync-user/route.js +174 -0
- package/dist/app/api/trial-request/route.js +165 -0
- package/dist/app/blog/[id]/page.jsx +307 -0
- package/dist/app/blog/page.jsx +210 -0
- package/dist/app/constants/about.js +32 -0
- package/dist/app/constants/adRequest.js +113 -0
- package/dist/app/constants/contact.js +40 -0
- package/dist/app/constants/faq.js +36 -0
- package/dist/app/constants/gallery.js +42 -0
- package/dist/app/constants/page.js +69 -0
- package/dist/app/constants/schedule.js +71 -0
- package/dist/app/contact/page.jsx +119 -0
- package/dist/app/faq/page.jsx +97 -0
- package/dist/app/gallery/page.jsx +280 -0
- package/dist/app/layout.jsx +45 -0
- package/dist/app/page.jsx +324 -0
- package/dist/app/schedule/page.jsx +500 -0
- package/dist/components/addOns/functional/BioEditor.jsx +175 -0
- package/dist/components/addOns/functional/CalendlyWidget.jsx +61 -0
- package/dist/components/addOns/functional/ClassList.jsx +158 -0
- package/dist/components/addOns/functional/ClassPopup.jsx +300 -0
- package/dist/components/addOns/functional/ContactForm.jsx +219 -0
- package/dist/components/addOns/functional/FileUploader.jsx +222 -0
- package/dist/components/addOns/functional/ImageDescCarousel.jsx +464 -0
- package/dist/components/addOns/functional/NewUserAnalytics.jsx +71 -0
- package/dist/components/addOns/functional/ScheduleCarousel.jsx +68 -0
- package/dist/components/addOns/functional/aboutSections/AboutSection.jsx +369 -0
- package/dist/components/addOns/functional/aboutSections/constants/aboutSection.js +65 -0
- package/dist/components/addOns/functional/blogSections/BlogDashboard.jsx +111 -0
- package/dist/components/addOns/functional/blogSections/BlogFormPopUp.jsx +465 -0
- package/dist/components/addOns/functional/blogSections/BlogList.jsx +170 -0
- package/dist/components/addOns/functional/blogSections/BlogSidebar.jsx +35 -0
- package/dist/components/addOns/functional/blogSections/constants/blogDashboard.js +28 -0
- package/dist/components/addOns/functional/blogSections/constants/blogFormPopUp.js +97 -0
- package/dist/components/addOns/functional/blogSections/constants/blogList.js +22 -0
- package/dist/components/addOns/functional/blogSections/constants/blogSidebar.js +15 -0
- package/dist/components/addOns/functional/contactsDashboard/ContactsDashboard.jsx +323 -0
- package/dist/components/addOns/functional/contactsDashboard/constants/contactsDashboard.js +70 -0
- package/dist/components/addOns/functional/galleries/GalleryComplex.jsx +586 -0
- package/dist/components/addOns/functional/galleries/GallerySimple.jsx +385 -0
- package/dist/components/addOns/functional/galleries/constants/galleryComplex.js +104 -0
- package/dist/components/addOns/functional/galleries/constants/gallerySimple.js +74 -0
- package/dist/components/addOns/functional/schedules/ScheduleGridOne.jsx +167 -0
- package/dist/components/addOns/functional/schedules/ScheduleGridTwo.jsx +100 -0
- package/dist/components/addOns/functional/schedules/ScheduleGridTwoBasic.jsx +97 -0
- package/dist/components/addOns/functional/schedules/SchedulerForm.jsx +188 -0
- package/dist/components/addOns/functional/schedules/constants/ScheduleGridTwo.js +40 -0
- package/dist/components/addOns/functional/schedules/constants/ScheduleGridTwoBasic.js +40 -0
- package/dist/components/addOns/functional/schedules/constants/SchedulerForm.js +65 -0
- package/dist/components/addOns/functional/schedules/constants/scheduleGridOne.js +54 -0
- package/dist/components/addOns/non-functional/AnnouncementBanner.jsx +24 -0
- package/dist/components/addOns/non-functional/FeaturesSection.jsx +38 -0
- package/dist/components/addOns/non-functional/HeroSection.jsx +71 -0
- package/dist/components/addOns/non-functional/IconBubble.jsx +36 -0
- package/dist/components/addOns/non-functional/SampleCarousel.jsx +114 -0
- package/dist/components/addOns/non-functional/Testimonials.jsx +177 -0
- package/dist/components/addOns/non-functional/ThreeSetGallery.jsx +40 -0
- package/dist/components/addOns/non-functional/aboutSections/AboutSection.jsx +35 -0
- package/dist/components/addOns/non-functional/aboutSections/constants/aboutSection.js +24 -0
- package/dist/components/addOns/non-functional/imageCarousels/ProductSlider.jsx +80 -0
- package/dist/components/addOns/non-functional/imageCarousels/ProgramCarousel.jsx +155 -0
- package/dist/components/addOns/non-functional/imageCarousels/constants/programCarousel.js +39 -0
- package/dist/components/addOns/non-functional/imageCarousels/constants/programSlider.js +36 -0
- package/dist/components/addOns/non-functional/spinner.jsx +13 -0
- package/dist/components/footers/footer.jsx +219 -0
- package/dist/components/navBars/navbar.jsx +158 -0
- package/dist/components/other/accordion.jsx +40 -0
- package/dist/components/other/admin-menu.jsx +34 -0
- package/dist/components/other/alert-dialog.jsx +64 -0
- package/dist/components/other/alert.jsx +41 -0
- package/dist/components/other/aspect-ratio.jsx +4 -0
- package/dist/components/other/avatar.jsx +31 -0
- package/dist/components/other/badge.jsx +32 -0
- package/dist/components/other/breadcrumb.jsx +57 -0
- package/dist/components/other/button.jsx +321 -0
- package/dist/components/other/calendar.jsx +43 -0
- package/dist/components/other/card.jsx +44 -0
- package/dist/components/other/carousel.jsx +140 -0
- package/dist/components/other/chart.jsx +182 -0
- package/dist/components/other/checkbox.jsx +26 -0
- package/dist/components/other/collapsible.jsx +6 -0
- package/dist/components/other/command.jsx +68 -0
- package/dist/components/other/context-menu.jsx +88 -0
- package/dist/components/other/dialog.jsx +60 -0
- package/dist/components/other/drawer.jsx +60 -0
- package/dist/components/other/dropdown-menu.jsx +90 -0
- package/dist/components/other/form.jsx +89 -0
- package/dist/components/other/hover-card.jsx +23 -0
- package/dist/components/other/input-otp.jsx +46 -0
- package/dist/components/other/input.jsx +19 -0
- package/dist/components/other/label.jsx +23 -0
- package/dist/components/other/login-popup.jsx +1 -0
- package/dist/components/other/menubar.jsx +96 -0
- package/dist/components/other/mobile-icon.jsx +11 -0
- package/dist/components/other/navigation-menu.jsx +62 -0
- package/dist/components/other/pagination.jsx +63 -0
- package/dist/components/other/popover.jsx +25 -0
- package/dist/components/other/progress.jsx +23 -0
- package/dist/components/other/radio-group.jsx +31 -0
- package/dist/components/other/resizable.jsx +29 -0
- package/dist/components/other/scroll-area.jsx +36 -0
- package/dist/components/other/select.jsx +83 -0
- package/dist/components/other/separator.jsx +21 -0
- package/dist/components/other/sheet.jsx +74 -0
- package/dist/components/other/signup-popup.jsx +1 -0
- package/dist/components/other/skeleton.jsx +17 -0
- package/dist/components/other/slider.jsx +26 -0
- package/dist/components/other/social-icons.jsx +15 -0
- package/dist/components/other/sonner.jsx +27 -0
- package/dist/components/other/switch.jsx +23 -0
- package/dist/components/other/table.jsx +56 -0
- package/dist/components/other/tabs.jsx +32 -0
- package/dist/components/other/textarea.jsx +19 -0
- package/dist/components/other/toast.jsx +58 -0
- package/dist/components/other/toaster.jsx +31 -0
- package/dist/components/other/toggle-group.jsx +41 -0
- package/dist/components/other/toggle.jsx +39 -0
- package/dist/components/other/tooltip.jsx +24 -0
- package/dist/components/theme-provider.jsx +18 -0
- package/dist/components/types.js +1 -0
- package/dist/hooks/use-toast.js +135 -0
- package/dist/lib/auth-context.jsx +144 -0
- package/dist/lib/google-analytics.jsx +148 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/verify-user.js +142 -0
- package/dist/middleware.js +32 -0
- package/dist/tailwind.config.js +86 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/hooks/use-toast.ts +188 -0
- package/lib/auth-context.tsx +131 -0
- package/lib/google-analytics.tsx +98 -0
- package/lib/utils.ts +6 -0
- package/lib/verify-user.ts +118 -0
- package/middleware.ts +35 -0
- package/next.config.js +10 -0
- package/package.json +116 -0
- package/postcss.config.js +6 -0
- package/public/images/FitStop.png +0 -0
- package/public/images/classes/bodyblast.JPG +0 -0
- package/public/images/classes/cardioxtrain.JPG +0 -0
- package/public/images/classes/combo.JPG +0 -0
- package/public/images/classes/flexiblefriday.JPG +0 -0
- package/public/images/classes/freestyle.jpg +0 -0
- package/public/images/classes/noclasses.jpg +0 -0
- package/public/images/classes/seniorstretch.JPG +0 -0
- package/public/images/classes/stretch.JPG +0 -0
- package/public/images/classes/zoomba.JPG +0 -0
- package/public/images/fitstoproom1.jpg +0 -0
- package/public/images/fitstoproom2.jpg +0 -0
- package/public/images/gallery/021-1024x768.jpg +0 -0
- package/public/images/gallery/023-1024x768.jpg +0 -0
- package/public/images/gallery/027-1024x768.jpg +0 -0
- package/public/images/gallery/029-1024x768.jpg +0 -0
- package/public/images/gallery/030-1024x768.jpg +0 -0
- package/public/images/gallery/042-1024x768.jpg +0 -0
- package/public/images/gallery/049-1024x768.jpg +0 -0
- package/public/images/gallery/073-1024x768.jpg +0 -0
- package/public/images/gallery/108-300x225.jpg +0 -0
- package/public/images/gallery/109-300x225.jpg +0 -0
- package/public/images/gallery/116.jpg +0 -0
- package/public/images/gallery/123-1-1024x768.jpg +0 -0
- package/public/images/gallery/133.jpg +0 -0
- package/public/images/gallery/142-1.jpg +0 -0
- package/public/images/gallery/143.jpg +0 -0
- package/public/images/gallery/145-1-1024x768.jpg +0 -0
- package/public/images/gallery/151-1024x768.jpg +0 -0
- package/public/images/gallery/166-300x225.jpg +0 -0
- package/public/images/gallery/175.jpg +0 -0
- package/public/images/gallery/183-1024x768.jpg +0 -0
- package/public/images/gallery/311.JPG +0 -0
- package/public/images/gallery/413-1.jpg +0 -0
- package/public/images/gallery/Cathys-Fit-Stop-Holiday-Party-0003-1024x683.jpg +0 -0
- package/public/images/gallery/Cathys-Fit-Stop-Holiday-Party-0076-1024x683.jpg +0 -0
- package/public/images/gallery/Cathys-Fit-Stop-Holiday-Party-0171-1024x683.jpg +0 -0
- package/public/images/gallery/DSCN0233-1024x768.jpg +0 -0
- package/public/images/gallery/DSCN0245-1-1024x768.jpg +0 -0
- package/public/images/gallery/Fitstopgirls2.jpg +0 -0
- package/public/images/gallery/GrandOpening2009.JPG +0 -0
- package/public/images/gallery/IMG_1937.JPG +0 -0
- package/public/images/gallery/IMG_1950-20.jpg +0 -0
- package/public/images/gallery/IMG_2112.JPG +0 -0
- package/public/images/gallery/IMG_2229.JPG +0 -0
- package/public/images/gallery/IMG_2272.JPG +0 -0
- package/public/images/gallery/IMG_2336.JPG +0 -0
- package/public/images/gallery/IMG_2367.JPG +0 -0
- package/public/images/gallery/IMG_2520.jpg +0 -0
- package/public/images/gallery/IMG_2564.jpg +0 -0
- package/public/images/gallery/IMG_3678.jpg +0 -0
- package/public/images/gallery/IMG_3744.jpg +0 -0
- package/public/images/gallery/IMG_3745.jpg +0 -0
- package/public/images/gallery/IMG_6383.jpg +0 -0
- package/public/images/gallery/Jillian-8-Months-2338-1024x683.jpg +0 -0
- package/public/images/gallery/Kathys-Fit-Stop-0032-1024x675.jpg +0 -0
- package/public/images/gallery/LaurieinPlank.jpeg +0 -0
- package/public/images/gallery/May2017032.JPG +0 -0
- package/public/images/gallery/clubpic10.jpg +0 -0
- package/public/images/gallery/clubpic15.jpg +0 -0
- package/public/images/gallery/clubpic2.jpg +0 -0
- package/public/images/gallery/clubpic3.jpg +0 -0
- package/public/images/gallery/clubpic4.jpg +0 -0
- package/public/images/gallery/clubpic5.jpg +0 -0
- package/public/images/gallery/clubpic6.jpg +0 -0
- package/public/images/gallery/clubpic7.jpg +0 -0
- package/public/images/gallery/clubpic8.jpg +0 -0
- package/public/images/gallery/clubpic9.jpg +0 -0
- package/public/images/gallery/z014-1024x768.jpg +0 -0
- package/public/images/gallery/z019-1-1024x768.jpg +0 -0
- package/public/images/kathy_faq-300x132.jpg +0 -0
- package/public/images/kathyportrait.jpg +0 -0
- package/public/images/kristiportrait.jpg +0 -0
- package/public/images/maincoverbackground.JPG +0 -0
- package/public/images/videos/FitStopLoopVideo.mp4 +0 -0
- package/public/images/weights.jpg +0 -0
- package/public/pdf/FitStop-Forum-April-2025.pdf +0 -0
- package/tailwind.config.ts +89 -0
- package/tsconfig.json +24 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// components/addOns/functional/schedules/constants/scheduleGridTwoBasic.ts
|
|
2
|
+
// Constants for hardcoded text in ScheduleGridTwoBasic.tsx, organized by purpose
|
|
3
|
+
export var SCHEDULE_GRID_TWO_BASIC = {
|
|
4
|
+
// UI Text for ScheduleGridTwoBasic
|
|
5
|
+
UI: {
|
|
6
|
+
// Heading for schedule section
|
|
7
|
+
CLASS_SCHEDULE_HEADING: "Class Schedule",
|
|
8
|
+
// Text when no classes exist for a day
|
|
9
|
+
NO_CLASSES_MESSAGE: "No classes",
|
|
10
|
+
// Footer text before phone number
|
|
11
|
+
COMPLIMENTARY_CLASS_TEXT: "Your first class is complimentary! Questions? Call ",
|
|
12
|
+
// Phone number in footer link
|
|
13
|
+
PHONE_NUMBER: "315-415-4043",
|
|
14
|
+
// Footer disclaimer
|
|
15
|
+
SCHEDULE_DISCLAIMER: "*Management reserves the right to cancel or alter class schedules based on attendance.",
|
|
16
|
+
// Days of the week for headers
|
|
17
|
+
DAYS_OF_WEEK: [
|
|
18
|
+
"Monday",
|
|
19
|
+
"Tuesday",
|
|
20
|
+
"Wednesday",
|
|
21
|
+
"Thursday",
|
|
22
|
+
"Friday",
|
|
23
|
+
"Saturday",
|
|
24
|
+
"Sunday",
|
|
25
|
+
],
|
|
26
|
+
// Hardcoded age group for popup
|
|
27
|
+
ALL_AGES_TEXT: "All Ages",
|
|
28
|
+
// DeleteIconButton aria-label template
|
|
29
|
+
DELETE_BUTTON_ARIA: "Delete ${cls.name} class",
|
|
30
|
+
},
|
|
31
|
+
// Button Text for ScheduleGridTwoBasic
|
|
32
|
+
BUTTONS: {
|
|
33
|
+
// AddButton text for adding new class
|
|
34
|
+
ADD_NEW_CLASS_BUTTON: "Add New Class",
|
|
35
|
+
},
|
|
36
|
+
// Error Messages for ScheduleGridTwoBasic
|
|
37
|
+
ERRORS: {
|
|
38
|
+
// No hardcoded errors
|
|
39
|
+
},
|
|
40
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// components/addOns/functional/schedules/constants/schedulerForm.ts
|
|
2
|
+
// Constants for hardcoded text in Schedule.tsx (SchedulerForm), organized by purpose
|
|
3
|
+
export var SCHEDULER_FORM = {
|
|
4
|
+
// UI Text for SchedulerForm
|
|
5
|
+
UI: {
|
|
6
|
+
// Heading for edit class modal
|
|
7
|
+
EDIT_CLASS_HEADING: "Edit Class",
|
|
8
|
+
// Heading for add new class modal
|
|
9
|
+
ADD_NEW_CLASS_HEADING: "Add New Class",
|
|
10
|
+
// Label for class name input
|
|
11
|
+
CLASS_NAME_LABEL: "Class Name",
|
|
12
|
+
// Placeholder for class name input
|
|
13
|
+
CLASS_NAME_PLACEHOLDER: "Enter class name",
|
|
14
|
+
// Label for start time inputs
|
|
15
|
+
START_TIME_LABEL: "Start Time",
|
|
16
|
+
// Default option for hour select
|
|
17
|
+
HOUR_OPTION: "Hour",
|
|
18
|
+
// Default option for minute select
|
|
19
|
+
MINUTE_OPTION: "Minute",
|
|
20
|
+
// Options for period select
|
|
21
|
+
AM_OPTION: "AM",
|
|
22
|
+
PM_OPTION: "PM",
|
|
23
|
+
// Label for end time inputs
|
|
24
|
+
END_TIME_LABEL: "End Time",
|
|
25
|
+
// Label for days of week checkboxes
|
|
26
|
+
DAYS_OF_WEEK_LABEL: "Days of the Week",
|
|
27
|
+
// Checkbox labels for days of the week
|
|
28
|
+
DAYS_OF_WEEK: [
|
|
29
|
+
{ value: 1, label: "Monday" },
|
|
30
|
+
{ value: 2, label: "Tuesday" },
|
|
31
|
+
{ value: 3, label: "Wednesday" },
|
|
32
|
+
{ value: 4, label: "Thursday" },
|
|
33
|
+
{ value: 5, label: "Friday" },
|
|
34
|
+
{ value: 6, label: "Saturday" },
|
|
35
|
+
{ value: 7, label: "Sunday" },
|
|
36
|
+
],
|
|
37
|
+
// Label for class description textarea
|
|
38
|
+
CLASS_DESCRIPTION_LABEL: "Class Description (optional)",
|
|
39
|
+
// Placeholder for class description textarea
|
|
40
|
+
CLASS_DESCRIPTION_PLACEHOLDER: "Enter class description",
|
|
41
|
+
// Heading for delete confirmation modal
|
|
42
|
+
DELETE_CONFIRMATION_HEADING: "Confirm Deletion",
|
|
43
|
+
// Text in delete confirmation modal
|
|
44
|
+
DELETE_CONFIRMATION_MESSAGE: "Are you sure you want to delete this class? This action cannot be undone.",
|
|
45
|
+
},
|
|
46
|
+
// Button Text for SchedulerForm
|
|
47
|
+
BUTTONS: {
|
|
48
|
+
// AddButton text when loading
|
|
49
|
+
SAVING_BUTTON: "Saving...",
|
|
50
|
+
// AddButton text when editing a class
|
|
51
|
+
UPDATE_BUTTON: "Update",
|
|
52
|
+
// AddButton text when adding a new class
|
|
53
|
+
ADD_BUTTON: "Add",
|
|
54
|
+
// DeleteButton text when loading
|
|
55
|
+
DELETING_BUTTON: "Deleting...",
|
|
56
|
+
// DeleteButton text for delete confirmation
|
|
57
|
+
DELETE_BUTTON: "Delete",
|
|
58
|
+
// CancelButton text for both modals
|
|
59
|
+
CANCEL_BUTTON: "Cancel",
|
|
60
|
+
},
|
|
61
|
+
// Error Messages for SchedulerForm
|
|
62
|
+
ERRORS: {
|
|
63
|
+
// No hardcoded errors
|
|
64
|
+
},
|
|
65
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// components/addOns/functional/schedules/constants/scheduleGridOne.ts
|
|
2
|
+
// Constants for hardcoded text in ScheduleGridOne.tsx, organized by purpose
|
|
3
|
+
export var SCHEDULE_GRID_ONE = {
|
|
4
|
+
// UI Text for ScheduleGridOne
|
|
5
|
+
UI: {
|
|
6
|
+
// Label for search input
|
|
7
|
+
SEARCH_LABEL: "Search by Class Name",
|
|
8
|
+
// Placeholder for search input
|
|
9
|
+
SEARCH_PLACEHOLDER: "Search classes...",
|
|
10
|
+
// Label for time filter select
|
|
11
|
+
TIME_FILTER_LABEL: "Time of Day",
|
|
12
|
+
// Default option for time filter select
|
|
13
|
+
ALL_TIMES_OPTION: "All Times",
|
|
14
|
+
// Time filter options
|
|
15
|
+
MORNING_OPTION: "Morning (Before 12:00 PM)",
|
|
16
|
+
AFTERNOON_OPTION: "Afternoon (12:00 PM - 5:00 PM)",
|
|
17
|
+
EVENING_OPTION: "Evening (After 5:00 PM)",
|
|
18
|
+
// Heading for schedule section
|
|
19
|
+
CLASS_SCHEDULE_HEADING: "Class Schedule",
|
|
20
|
+
// Text when no classes exist for a day
|
|
21
|
+
NO_CLASSES_MESSAGE: "No classes",
|
|
22
|
+
// Footer text before phone number
|
|
23
|
+
COMPLIMENTARY_CLASS_TEXT: "Your first class is complimentary! Questions? Call ",
|
|
24
|
+
// Phone number in footer link
|
|
25
|
+
PHONE_NUMBER: "315-415-4043",
|
|
26
|
+
// Footer disclaimer
|
|
27
|
+
SCHEDULE_DISCLAIMER: "*Management reserves the right to cancel or alter class schedules based on attendance.",
|
|
28
|
+
// Days of the week for headers
|
|
29
|
+
DAYS_OF_WEEK: [
|
|
30
|
+
"Monday",
|
|
31
|
+
"Tuesday",
|
|
32
|
+
"Wednesday",
|
|
33
|
+
"Thursday",
|
|
34
|
+
"Friday",
|
|
35
|
+
"Saturday",
|
|
36
|
+
"Sunday",
|
|
37
|
+
],
|
|
38
|
+
// Hardcoded age group for popup
|
|
39
|
+
ALL_AGES_TEXT: "All Ages",
|
|
40
|
+
// DeleteIconButton aria-label template
|
|
41
|
+
DELETE_BUTTON_ARIA: "Delete ${cls.name} class",
|
|
42
|
+
},
|
|
43
|
+
// Button Text for ScheduleGridOne
|
|
44
|
+
BUTTONS: {
|
|
45
|
+
// SubmitButton text for resetting filters
|
|
46
|
+
RESET_FILTERS_BUTTON: "Reset Filters",
|
|
47
|
+
// AddButton text for adding new class
|
|
48
|
+
ADD_NEW_CLASS_BUTTON: "Add New Class",
|
|
49
|
+
},
|
|
50
|
+
// Error Messages for ScheduleGridOne
|
|
51
|
+
ERRORS: {
|
|
52
|
+
// No hardcoded errors
|
|
53
|
+
},
|
|
54
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { motion } from "framer-motion";
|
|
3
|
+
import { X } from "lucide-react";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
export default function AnnouncementBanner() {
|
|
6
|
+
var _a = useState(true), isVisible = _a[0], setIsVisible = _a[1];
|
|
7
|
+
if (!isVisible)
|
|
8
|
+
return null;
|
|
9
|
+
return (<motion.div className="fixed top-0 left-0 right-0 bg-blue-500/80 backdrop-blur-sm text-white py-3 sm:py-6 px-4 sm:px-6 z-50 shadow-md" style={{
|
|
10
|
+
maskImage: "linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%)",
|
|
11
|
+
WebkitMaskImage: "linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%)",
|
|
12
|
+
}} initial={{ y: -100, opacity: 0 }} animate={{ y: 0, opacity: 1 }} exit={{ y: -100, opacity: 0 }} transition={{ duration: 0.5, ease: "easeOut" }}>
|
|
13
|
+
<div className="max-w-7xl mx-auto flex items-center justify-between relative pr-10 sm:pr-14">
|
|
14
|
+
<p className="text-xs sm:text-sm md:text-base font-medium text-center flex-1">
|
|
15
|
+
We will be closed this Friday and Saturday (July 4–5) in observance of Independence Day.
|
|
16
|
+
</p>
|
|
17
|
+
<button onClick={function () { return setIsVisible(false); }} className="absolute right-2 sm:right-4 bg-blue-600/50 hover:bg-blue-700/70 text-white rounded-full p-1.5 sm:p-2 focus:outline-none focus:ring-2 focus:ring-blue-300 transition-colors" aria-label="Close announcement">
|
|
18
|
+
<X className="w-5 h-5 sm:w-8 sm:h-8"/>
|
|
19
|
+
</button>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<style jsx>{"\n .gradient-text {\n background: linear-gradient(45deg, #80ff80 25%, #80ff80 50%, #00b7eb 85%, #00b7eb 75%);\n -webkit-background-clip: text;\n background-clip: text;\n color: transparent;\n }\n "}</style>
|
|
23
|
+
</motion.div>);
|
|
24
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// src/components/FeaturesSection.tsx
|
|
2
|
+
"use client";
|
|
3
|
+
import { ActionButton } from "@/components/other/button";
|
|
4
|
+
import { CheckCircle, ArrowRight } from "lucide-react";
|
|
5
|
+
import Link from "next/link";
|
|
6
|
+
export function FeaturesSection(_a) {
|
|
7
|
+
var features = _a.features, title = _a.title, description = _a.description, ctaText = _a.ctaText, ctaLink = _a.ctaLink;
|
|
8
|
+
return (<section className="w-full py-16 sm:py-24 px-4 sm:px-8 bg-blue-200 z-0">
|
|
9
|
+
<div className="w-full pt-16 sm:pt-24 pb-16 sm:pb-24">
|
|
10
|
+
<div className="max-w-7xl mx-auto px-4 sm:px-6">
|
|
11
|
+
<div className="flex flex-col md:flex-row gap-6 justify-center items-center">
|
|
12
|
+
<div className="w-full md:w-1/2 space-y-6 flex justify-center">
|
|
13
|
+
<ul className="space-y-4 text-2xl font-semibold">
|
|
14
|
+
{features.map(function (feature, index) { return (<li key={index} className="flex items-center justify-start">
|
|
15
|
+
<CheckCircle className="mr-3 h-6 w-6 text-[#FF69B4] flex-shrink-0"/>
|
|
16
|
+
<span>{feature.text}</span>
|
|
17
|
+
</li>); })}
|
|
18
|
+
</ul>
|
|
19
|
+
</div>
|
|
20
|
+
<div className="w-full md:w-1/2 space-y-6 text-center pt-12">
|
|
21
|
+
<h4 className="text-4xl sm:text-5xl font-bold text-[#333] tracking-tight">
|
|
22
|
+
{title}
|
|
23
|
+
</h4>
|
|
24
|
+
<p className="text-xl sm:text-2xl font-semibold text-[#333]">
|
|
25
|
+
{description}
|
|
26
|
+
</p>
|
|
27
|
+
<ActionButton asChild>
|
|
28
|
+
<Link href={ctaLink} className="flex items-center justify-center">
|
|
29
|
+
{ctaText}
|
|
30
|
+
<ArrowRight className="ml-2 h-6 w-6"/>
|
|
31
|
+
</Link>
|
|
32
|
+
</ActionButton>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</section>);
|
|
38
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useRef, useEffect, useState } from "react";
|
|
3
|
+
import { HeroButton } from "@/components/other/button"; // Updated import
|
|
4
|
+
import Link from "next/link";
|
|
5
|
+
export function HeroSection(_a) {
|
|
6
|
+
var title = _a.title, subtitle = _a.subtitle, ctaText = _a.ctaText, ctaLink = _a.ctaLink, videoSrc = _a.videoSrc, videoAriaLabel = _a.videoAriaLabel, posterSrc = _a.posterSrc, onVideoReady = _a.onVideoReady;
|
|
7
|
+
var heroBackgroundRef = useRef(null);
|
|
8
|
+
var videoRef = useRef(null);
|
|
9
|
+
var _b = useState(true), isVideoLoading = _b[0], setIsVideoLoading = _b[1];
|
|
10
|
+
useEffect(function () {
|
|
11
|
+
var handleScroll = function () {
|
|
12
|
+
if (window.innerWidth <= 768)
|
|
13
|
+
return;
|
|
14
|
+
if (heroBackgroundRef.current) {
|
|
15
|
+
var scrollY_1 = window.scrollY;
|
|
16
|
+
var parallaxSpeed = 0.9;
|
|
17
|
+
heroBackgroundRef.current.style.transform = "translateY(".concat(scrollY_1 * parallaxSpeed, "px)");
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
window.addEventListener("scroll", handleScroll, { passive: true });
|
|
21
|
+
return function () { return window.removeEventListener("scroll", handleScroll); };
|
|
22
|
+
}, []);
|
|
23
|
+
useEffect(function () {
|
|
24
|
+
var video = videoRef.current;
|
|
25
|
+
if (!video)
|
|
26
|
+
return;
|
|
27
|
+
video.style.opacity = "0";
|
|
28
|
+
var handleCanPlay = function () {
|
|
29
|
+
setIsVideoLoading(false);
|
|
30
|
+
video.style.opacity = "1";
|
|
31
|
+
if (onVideoReady)
|
|
32
|
+
onVideoReady();
|
|
33
|
+
};
|
|
34
|
+
video.addEventListener("canplaythrough", handleCanPlay);
|
|
35
|
+
video.load();
|
|
36
|
+
return function () {
|
|
37
|
+
video.removeEventListener("canplaythrough", handleCanPlay);
|
|
38
|
+
};
|
|
39
|
+
}, [onVideoReady, videoSrc]);
|
|
40
|
+
return (<section className="relative h-screen w-full z-0 pt-12 sm:pt-12 overflow-hidden bg-[#1E2A44]">
|
|
41
|
+
<style jsx>{"\n .bg-gradient-overlay {\n position: absolute;\n inset: 0;\n background: linear-gradient(\n to bottom,\n var(--jubilee) / 0.6,\n var(--jubilee) / 0.4\n );\n }\n .video-fade-in {\n opacity: 0;\n transition: opacity 0.5s ease-in;\n }\n "}</style>
|
|
42
|
+
<div className="absolute inset-0 z-[-10] overflow-hidden" style={{ "--jubilee": "#F47C7C" }} ref={heroBackgroundRef}>
|
|
43
|
+
<video ref={videoRef} autoPlay loop muted playsInline preload="metadata" className="video-fade-in absolute inset-0 w-full h-screen object-cover filter brightness-75" aria-label={videoAriaLabel} poster={posterSrc || undefined}>
|
|
44
|
+
<source src={"".concat(videoSrc, "#t=0.1")} type="video/mp4"/>
|
|
45
|
+
Your browser does not support the video tag.
|
|
46
|
+
</video>
|
|
47
|
+
<div className="bg-gradient-overlay"/>
|
|
48
|
+
</div>
|
|
49
|
+
<div className="relative z-10 w-full px-4 sm:px-6 lg:px-8 py-16 sm:py-20 lg:py-24 text-center flex flex-col justify-center items-center h-screen">
|
|
50
|
+
<div className="relative flex items-center justify-center w-full max-w-full">
|
|
51
|
+
<h1 className="text-5xl sm:text-5xl md:text-6xl lg:text-7xl font-bold text-[#FF69B4] tracking-tight" style={{
|
|
52
|
+
textShadow: "\n 2px 2px 4px rgba(0, 0, 0, 0.5),\n -2px -2px 4px rgba(0, 0, 0, 0.5)\n ",
|
|
53
|
+
fontFamily: "'Inter', sans-serif",
|
|
54
|
+
}}>
|
|
55
|
+
{title}
|
|
56
|
+
</h1>
|
|
57
|
+
</div>
|
|
58
|
+
<h2 className="text-2xl sm:text-4xl md:text-5xl font-semibold text-white tracking-tight pt-4" style={{
|
|
59
|
+
textShadow: "\n 2px 2px 4px rgba(0, 0, 0, 0.5),\n -2px -2px 4px rgba(0, 0, 0, 0.5)\n ",
|
|
60
|
+
}}>
|
|
61
|
+
{subtitle}
|
|
62
|
+
</h2>
|
|
63
|
+
<HeroButton asChild size="hero" className="mt-8 text-white text-base sm:text-lg lg:text-xl">
|
|
64
|
+
<Link href={ctaLink}>{ctaText}</Link>
|
|
65
|
+
</HeroButton>
|
|
66
|
+
</div>
|
|
67
|
+
<div className="absolute bottom-4 left-4 z-10">
|
|
68
|
+
{/* <SocialIcons /> */}
|
|
69
|
+
</div>
|
|
70
|
+
</section>);
|
|
71
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useState, useEffect } from 'react';
|
|
3
|
+
import { ScrollToTopButton, PhoneButton } from '@/components/other/button';
|
|
4
|
+
export default function IconBubble() {
|
|
5
|
+
var _a = useState(false), isPhoneHovered = _a[0], setIsPhoneHovered = _a[1];
|
|
6
|
+
var _b = useState(false), showScrollButton = _b[0], setShowScrollButton = _b[1];
|
|
7
|
+
useEffect(function () {
|
|
8
|
+
var handleScroll = function () {
|
|
9
|
+
if (window.scrollY > 200) {
|
|
10
|
+
setShowScrollButton(true);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
setShowScrollButton(false);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
window.addEventListener('scroll', handleScroll);
|
|
17
|
+
return function () { return window.removeEventListener('scroll', handleScroll); };
|
|
18
|
+
}, []);
|
|
19
|
+
var handleScrollToTop = function () {
|
|
20
|
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
21
|
+
};
|
|
22
|
+
return (<div className="fixed bottom-4 right-4 z-50 flex flex-col space-y-4">
|
|
23
|
+
{/* Scroll to Top Button */}
|
|
24
|
+
{showScrollButton && (<ScrollToTopButton onClick={handleScrollToTop}/>)}
|
|
25
|
+
|
|
26
|
+
{/* Phone Button */}
|
|
27
|
+
<div className="relative flex items-center" onMouseEnter={function () { return setIsPhoneHovered(true); }} onMouseLeave={function () { return setIsPhoneHovered(false); }}>
|
|
28
|
+
<a href="tel:3154154043" aria-label="Call us">
|
|
29
|
+
<PhoneButton />
|
|
30
|
+
</a>
|
|
31
|
+
{isPhoneHovered && (<div className="absolute right-20 bg-gray-900 text-white px-4 py-2 rounded-md text-base font-medium shadow-lg whitespace-nowrap">
|
|
32
|
+
(315) 415-4043
|
|
33
|
+
</div>)}
|
|
34
|
+
</div>
|
|
35
|
+
</div>);
|
|
36
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useRef, useState } from 'react';
|
|
3
|
+
import { motion } from 'framer-motion';
|
|
4
|
+
import { ChevronLeft, ChevronRight, X } from 'lucide-react';
|
|
5
|
+
export default function SampleCarousel() {
|
|
6
|
+
var _a = useState(false), isModalOpen = _a[0], setIsModalOpen = _a[1];
|
|
7
|
+
var _b = useState(null), selectedSample = _b[0], setSelectedSample = _b[1];
|
|
8
|
+
var openModal = function (sample) {
|
|
9
|
+
setSelectedSample(sample);
|
|
10
|
+
setIsModalOpen(true);
|
|
11
|
+
};
|
|
12
|
+
var closeModal = function () {
|
|
13
|
+
setIsModalOpen(false);
|
|
14
|
+
setSelectedSample(null);
|
|
15
|
+
};
|
|
16
|
+
// Carousel ref for scrolling
|
|
17
|
+
var carouselRef = useRef(null);
|
|
18
|
+
var scrollLeft = function () {
|
|
19
|
+
if (carouselRef.current) {
|
|
20
|
+
carouselRef.current.scrollBy({ left: -300, behavior: 'smooth' });
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
var scrollRight = function () {
|
|
24
|
+
if (carouselRef.current) {
|
|
25
|
+
carouselRef.current.scrollBy({ left: 300, behavior: 'smooth' });
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
// Carpet examples data
|
|
29
|
+
var carpetExamples = [
|
|
30
|
+
{
|
|
31
|
+
brand: 'Lorem',
|
|
32
|
+
type: 'Ipsum Dolor',
|
|
33
|
+
src: '/images/carpet/samples/new-samples/Dreamweaver_Astounding_Color_Fine Details-min.jpg',
|
|
34
|
+
alt: '',
|
|
35
|
+
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
brand: 'Lorem',
|
|
39
|
+
type: 'Sit Amet',
|
|
40
|
+
src: '/images/carpet/samples/new-samples/Dreamweaver_Dublin II_Color_Dundrum-min.jpg',
|
|
41
|
+
alt: '',
|
|
42
|
+
description: 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium.',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
brand: 'Lorem',
|
|
46
|
+
type: 'Consectetur',
|
|
47
|
+
src: '/images/carpet/samples/new-samples/Dreamweaver_Gold Standard_Color_Glitter-min.jpg',
|
|
48
|
+
alt: '',
|
|
49
|
+
description: 'At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis.',
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
return (<section id="carpet-examples" className="relative w-full py-16 sm:py-24 md:py-32 bg-gradient-to-b from-blue-100/20 to-teal-100/20">
|
|
53
|
+
<div className="w-full px-4 sm:px-6 md:px-12">
|
|
54
|
+
<motion.div className="text-center" initial={{ opacity: 0, y: 50 }} whileInView={{ opacity: 1, y: 0 }} viewport={{ once: true }} transition={{ duration: 0.8 }}>
|
|
55
|
+
<h2 className="text-4xl sm:text-5xl md:text-6xl font-extrabold mb-8 md:mb-12 text-blue-900 tracking-tight">
|
|
56
|
+
Lorem Ipsum Samples
|
|
57
|
+
</h2>
|
|
58
|
+
<div className="relative">
|
|
59
|
+
<div ref={carouselRef} className="flex overflow-x-auto snap-x snap-mandatory scrollbar-hide space-x-6 py-4" style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }}>
|
|
60
|
+
{carpetExamples.map(function (example, index) { return (<motion.div key={"".concat(example.brand, "-").concat(example.type, "-").concat(index)} className="flex-none w-64 md:w-80 snap-center relative group" initial={{ opacity: 0, scale: 0.8 }} whileInView={{ opacity: 1, scale: 1 }} viewport={{ once: true }} transition={{ duration: 0.5, delay: index * 0.1 }}>
|
|
61
|
+
<button onClick={function () { return openModal(example); }} className="w-full flex flex-col items-center justify-center rounded-3xl glassmorphic min-h-[300px] hover:scale-105 transition-transform duration-300 focus:outline-none focus:ring-2 focus:ring-teal-500">
|
|
62
|
+
{example.src ? (<div className="w-full h-48 md:h-64 aspect-square relative">
|
|
63
|
+
<img src={example.src} alt={example.alt || "".concat(example.brand, " ").concat(example.type, " sample")} className="w-full h-full object-cover rounded-2xl" title={"".concat(example.brand, " ").concat(example.type)} onError={function (e) {
|
|
64
|
+
e.currentTarget.style.display = 'none';
|
|
65
|
+
e.currentTarget.parentElement.innerHTML = "<div class=\"text-center h-48 md:h-64 flex flex-col items-center justify-center\"><span class=\"text-2xl md:text-3xl font-bold text-teal-600\">".concat(example.brand, "</span><span class=\"text-lg md:text-xl text-teal-600\">").concat(example.type, "</span></div>");
|
|
66
|
+
}}/>
|
|
67
|
+
<div className="absolute inset-0 flex flex-col items-center justify-center bg-teal-600/50 text-white opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-2xl p-4 text-center">
|
|
68
|
+
<span className="text-lg md:text-xl font-bold">{example.brand}</span>
|
|
69
|
+
<span className="text-sm md:text-base font-medium">{example.type}</span>
|
|
70
|
+
</div>
|
|
71
|
+
</div>) : (<div className="text-center h-48 md:h-64 flex flex-col items-center justify-center">
|
|
72
|
+
<span className="text-2xl md:text-3xl font-bold text-teal-600">{example.brand}</span>
|
|
73
|
+
<span className="text-lg md:text-xl text-teal-600">{example.type}</span>
|
|
74
|
+
</div>)}
|
|
75
|
+
</button>
|
|
76
|
+
</motion.div>); })}
|
|
77
|
+
</div>
|
|
78
|
+
<button onClick={scrollLeft} className="absolute left-0 top-1/2 transform -translate-y-1/2 bg-teal-600/80 text-white p-3 rounded-full hover:bg-teal-500 transition-colors duration-300" aria-label="Scroll Left">
|
|
79
|
+
<ChevronLeft size={24}/>
|
|
80
|
+
</button>
|
|
81
|
+
<button onClick={scrollRight} className="absolute right-0 top-1/2 transform -translate-y-1/2 bg-teal-600/80 text-white p-3 rounded-full hover:bg-teal-500 transition-colors duration-300" aria-label="Scroll Right">
|
|
82
|
+
<ChevronRight size={24}/>
|
|
83
|
+
</button>
|
|
84
|
+
</div>
|
|
85
|
+
<p className="mt-6 text-sm md:text-base text-gray-600 italic max-w-5xl mx-auto">
|
|
86
|
+
*Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.*
|
|
87
|
+
</p>
|
|
88
|
+
</motion.div>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
{/* Modal */}
|
|
92
|
+
{isModalOpen && selectedSample && (<motion.div className="fixed inset-0 bg-black/60 flex items-center justify-center z-50 p-4 sm:p-6 md:p-8" onClick={closeModal} initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} transition={{ duration: 0.3 }}>
|
|
93
|
+
<motion.div className="bg-white rounded-3xl shadow-2xl w-full max-w-[90vw] sm:max-w-3xl md:max-w-4xl lg:max-w-5xl max-h-[90vh] overflow-y-auto p-6 sm:p-8 relative glassmorphic" onClick={function (e) { return e.stopPropagation(); }} initial={{ scale: 0.8, opacity: 0 }} animate={{ scale: 1, opacity: 1 }} exit={{ scale: 0.8, opacity: 0 }} transition={{ duration: 0.3 }}>
|
|
94
|
+
<button onClick={closeModal} className="absolute top-4 right-4 text-gray-600 hover:text-teal-600 focus:outline-none focus:ring-2 focus:ring-teal-500" aria-label="Close Modal">
|
|
95
|
+
<X size={28}/>
|
|
96
|
+
</button>
|
|
97
|
+
<div className="flex flex-col md:flex-row gap-6 sm:gap-8">
|
|
98
|
+
{selectedSample.src ? (<img src={selectedSample.src} alt={selectedSample.alt || "".concat(selectedSample.brand, " ").concat(selectedSample.type, " sample")} className="w-full md:w-1/2 h-64 sm:h-80 md:h-96 lg:h-[32rem] object-cover rounded-2xl" onError={function (e) {
|
|
99
|
+
e.currentTarget.style.display = 'none';
|
|
100
|
+
e.currentTarget.parentElement.innerHTML = "<div class=\"w-full md:w-1/2 h-64 sm:h-80 md:h-96 lg:h-[32rem] flex flex-col items-center justify-center bg-gray-100 rounded-2xl\"><span class=\"text-xl sm:text-2xl md:text-3xl font-bold text-teal-600\">".concat(selectedSample.brand, "</span><span class=\"text-base sm:text-lg md:text-xl text-teal-600\">").concat(selectedSample.type, "</span></div>");
|
|
101
|
+
}}/>) : (<div className="w-full md:w-1/2 h-64 sm:h-80 md:h-96 lg:h-[32rem] flex flex-col items-center justify-center bg-gray-100 rounded-2xl">
|
|
102
|
+
<span className="text-xl sm:text-2xl md:text-3xl font-bold text-teal-600">{selectedSample.brand}</span>
|
|
103
|
+
<span className="text-base sm:text-lg md:text-xl text-teal-600">{selectedSample.type}</span>
|
|
104
|
+
</div>)}
|
|
105
|
+
<div className="flex-1 flex flex-col justify-center">
|
|
106
|
+
<h3 className="text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold text-teal-600 mb-2 sm:mb-3">{selectedSample.brand}</h3>
|
|
107
|
+
<p className="text-base sm:text-lg md:text-xl lg:text-2xl text-gray-800 mb-3 sm:mb-4">{selectedSample.type}</p>
|
|
108
|
+
<p className="text-sm sm:text-base md:text-lg lg:text-xl text-gray-600">{selectedSample.description}</p>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
</motion.div>
|
|
112
|
+
</motion.div>)}
|
|
113
|
+
</section>);
|
|
114
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { motion } from "framer-motion";
|
|
3
|
+
import { useRef, useState, useEffect } from "react";
|
|
4
|
+
var TestimonialModal = function (_a) {
|
|
5
|
+
var isOpen = _a.isOpen, onClose = _a.onClose, quote = _a.quote, author = _a.author, isMobile = _a.isMobile;
|
|
6
|
+
var modalRef = useRef(null);
|
|
7
|
+
var handleClickOutside = function (event) {
|
|
8
|
+
if (modalRef.current && !modalRef.current.contains(event.target)) {
|
|
9
|
+
onClose();
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
useEffect(function () {
|
|
13
|
+
var _a;
|
|
14
|
+
if (isOpen) {
|
|
15
|
+
var firstFocusable = (_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.querySelector("button");
|
|
16
|
+
firstFocusable === null || firstFocusable === void 0 ? void 0 : firstFocusable.focus();
|
|
17
|
+
document.body.style.overflow = "hidden";
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
document.body.style.overflow = "auto";
|
|
21
|
+
}
|
|
22
|
+
return function () {
|
|
23
|
+
document.body.style.overflow = "auto";
|
|
24
|
+
};
|
|
25
|
+
}, [isOpen]);
|
|
26
|
+
if (!isOpen)
|
|
27
|
+
return null;
|
|
28
|
+
return (<div className="fixed inset-0 bg-black/50 flex items-center justify-center z-[10000] p-4" onClick={handleClickOutside} aria-modal="true" role="dialog">
|
|
29
|
+
<motion.div ref={modalRef} initial={{ opacity: 0, scale: 0.95 }} animate={{ opacity: 1, scale: 1 }} exit={{ opacity: 0, scale: 0.95 }} className="bg-white rounded-2xl p-6 sm:p-8 max-w-lg w-full overflow-y-auto relative glassmorphism" style={{ maxHeight: isMobile ? "50vh" : "80vh" }}>
|
|
30
|
+
<button onClick={onClose} className="absolute top-4 right-4 text-gray-500 hover:text-gray-700" aria-label="Close testimonial modal">
|
|
31
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
|
|
32
|
+
<path d="M18 6L6 18M6 6l12 12"/>
|
|
33
|
+
</svg>
|
|
34
|
+
</button>
|
|
35
|
+
<p className="text-[#2D2D2D] text-lg sm:text-xl font-medium italic mb-4">
|
|
36
|
+
“{quote}”
|
|
37
|
+
</p>
|
|
38
|
+
<p className="text-[#2D2D2D] text-base sm:text-lg font-medium text-right">
|
|
39
|
+
— {author}
|
|
40
|
+
</p>
|
|
41
|
+
</motion.div>
|
|
42
|
+
</div>);
|
|
43
|
+
};
|
|
44
|
+
var Testimonials = function (_a) {
|
|
45
|
+
var isMobile = _a.isMobile;
|
|
46
|
+
var _b = useState(null), selectedTestimonial = _b[0], setSelectedTestimonial = _b[1];
|
|
47
|
+
var testimonialRef = useRef(null);
|
|
48
|
+
useEffect(function () {
|
|
49
|
+
var event = new CustomEvent("modalStateChange", {
|
|
50
|
+
detail: { isOpen: !!selectedTestimonial },
|
|
51
|
+
});
|
|
52
|
+
window.dispatchEvent(event);
|
|
53
|
+
}, [selectedTestimonial]);
|
|
54
|
+
var sectionVariants = {
|
|
55
|
+
hidden: { opacity: 0, y: 20 },
|
|
56
|
+
visible: {
|
|
57
|
+
opacity: 1,
|
|
58
|
+
y: 0,
|
|
59
|
+
transition: { duration: isMobile ? 0.3 : 0.5, ease: "easeOut" },
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
var cardVariants = {
|
|
63
|
+
hidden: { opacity: 0, y: 20 },
|
|
64
|
+
visible: {
|
|
65
|
+
opacity: 1,
|
|
66
|
+
y: 0,
|
|
67
|
+
transition: { duration: isMobile ? 0.3 : 0.5, ease: "easeOut" },
|
|
68
|
+
},
|
|
69
|
+
hover: {
|
|
70
|
+
scale: isMobile ? 1 : 1.05,
|
|
71
|
+
transition: { duration: 0.2, ease: "easeOut" },
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
var itemVariants = {
|
|
75
|
+
hidden: { opacity: 0, y: 10 },
|
|
76
|
+
visible: {
|
|
77
|
+
opacity: 1,
|
|
78
|
+
y: 0,
|
|
79
|
+
transition: { duration: isMobile ? 0.3 : 0.5, ease: "easeOut" },
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
var scrollToTestimonials = function () {
|
|
83
|
+
if (testimonialRef.current) {
|
|
84
|
+
var headerOffset = 290;
|
|
85
|
+
var elementPosition = testimonialRef.current.getBoundingClientRect().top + window.pageYOffset;
|
|
86
|
+
window.scrollTo({
|
|
87
|
+
top: elementPosition - headerOffset,
|
|
88
|
+
behavior: "smooth",
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
return (<div className={"pt-12 px-12 pb-24 bg-[#1B2743] ".concat(isMobile ? "pt-32" : "pt-12", " pb-12")}>
|
|
93
|
+
<style jsx>{"\n @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap\");\n\n :root {\n --jubilee: #F47C7C;\n --natural-white: #F7F7F7;\n --caviar: #2D2D2D;\n --storm-cloud: #4A636E;\n --exuberant-pink: #FF69B4;\n --modern-purple: #D946EF;\n }\n\n * {\n font-family: \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n }\n\n .glassmorphism {\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(12px);\n -webkit-backdrop-filter: blur(12px);\n border: 1px solid rgba(255, 255, 255, 0.2);\n box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);\n transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;\n }\n\n @supports not (backdrop-filter: blur(12px)) {\n .glassmorphism {\n background: rgba(255, 255, 255, 0.3);\n }\n }\n\n .glassmorphism:hover {\n box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);\n }\n\n .line-clamp-8 {\n display: -webkit-box;\n -webkit-line-clamp: 8;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n "}</style>
|
|
94
|
+
{!isMobile && (<div className="flex justify-center">
|
|
95
|
+
<button onClick={scrollToTestimonials} className="relative mb-72 transition-all duration-300 hover:scale-110" style={{ top: "-20px" }} aria-label="Scroll down">
|
|
96
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="60" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="text-white transition-all duration-300">
|
|
97
|
+
<polyline points="4 8 12 16 20 8"/>
|
|
98
|
+
</svg>
|
|
99
|
+
</button>
|
|
100
|
+
</div>)}
|
|
101
|
+
<motion.div ref={testimonialRef} variants={sectionVariants} initial="hidden" animate="visible">
|
|
102
|
+
<motion.h2 variants={itemVariants} className="text-4xl sm:text-5xl font-extrabold mb-16 text-white/90 text-center tracking-tight drop-shadow-md uppercase">
|
|
103
|
+
Testimonials
|
|
104
|
+
</motion.h2>
|
|
105
|
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 sm:gap-10 lg:gap-12 min-h-fit items-stretch">
|
|
106
|
+
{[
|
|
107
|
+
{
|
|
108
|
+
quote: "I came to FitStop looking for consistent classes that I could take that would allow me to prioritize my own health, as a mom who wanted to keep up with her energetic young kids. What I found was a gem in Kathy and a tribe of amazing people alongside! In just a matter of months, I went from being the \"new girl\" to laughing and engaging with those who've been attending classes for the long haul! It is a joy to be \"in it\" on this quest for health, strength, confidence, and longevity with such a committed and authentic group of humans! Kathy cares about each of her members (and their loved ones) deeply and her approach to whole-body health (physical, emotional, nutrition, mental, rest, etc.) is unparalleled! She exudes warmth, encouragement, fun, and sets a positive tone for each class and training session. At the same time, she is a powerhouse \u2013 strong, smart, and energetic, but always humble and unpretentious. She excels at switching it up from week to week in classes and training sessions, keeping the motivation high and our bodies working hard! Strength training with Kathy has been one of the most impactful decisions of my adult life. She is a stellar coach with a commitment to constantly learning, growing, and challenging herself and her clients.",
|
|
109
|
+
author: "Susan H.",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
quote: "Joining Fit Stop was life-changing. Kathy’s guidance is invaluable—thank you!",
|
|
113
|
+
author: "Pam S.",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
quote: "Six years with Kathy transformed my health. Her tailored advice is a game-changer.",
|
|
117
|
+
author: "Stan Kaplan D.D.S.",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
quote: "Modern, well-equipped, and friendly—Fit Stop is a fantastic place to train.",
|
|
121
|
+
author: "Vicki Meguid",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
quote: "Kathy’s gym feels like home. Classes are fun, and the space is always clean and bright.",
|
|
125
|
+
author: "Deb G.",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
quote: "From the moment I walked into FitStop and started training with Kathy, I knew I was in the right place. Coming off a health scare, I needed support—and Kathy provided that from day one. Her mix of expertise, kindness, and genuine care is unmatched. Her classes introduced me to a community of strong, supportive women, and I quickly felt right at home. FitStop isn’t just a gym—it’s a safe, welcoming space where I feel empowered and encouraged. Thanks to Kathy, I feel strong and confident again. I actually look forward to going to the gym now! If you’re looking for a place that prioritizes both wellness and community, FitStop is it.",
|
|
129
|
+
author: "Annie T.",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
quote: "I lost 40 pounds with Kathy’s simple formula: eat right, exercise, and stay consistent.",
|
|
133
|
+
author: "Kristi K.",
|
|
134
|
+
image: "/images/kristiportrait.jpg",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
quote: "I have been a member of FitStop since its opening in East Syracuse. I have followed Kathy for many years prior to her opening her own gym. The FitStop is very welcoming and a great place to work out. I especially enjoy her classes and my gym mates. We work hard but we have fun at the same time. Kathy is very knowledgeable and helpful ensuring everyone gets a safe, great workout.",
|
|
138
|
+
author: "Carol K.",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
quote: "Kathy makes everyone feel welcome and ensures that the classes are inviting to all. I’ve been going to the Fitstop for fifteen years and it’s a positive, bright spot in my day. And I should mention that it is a great workout, emphasizing mobility and strength, keeping us active in our golden years.",
|
|
142
|
+
author: "Kate F.",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
quote: "Kathy you are my North Star! Kathy has helped me to achieve the best decade of my life in spite of having the lingering effects of Lymes disease. Kathy keeps it real, no lame excuses accepted!! But also tailored to my level of ability She keeps me motivated to be active, eat healthy and best of all stay energy positive. Any day I see Kathy is the best day! I just love her.",
|
|
146
|
+
author: "Anita D.",
|
|
147
|
+
},
|
|
148
|
+
].map(function (testimonial, index) { return (<motion.div key={index} variants={cardVariants} initial="hidden" animate="visible" whileHover="hover" className="flex">
|
|
149
|
+
<div className="mb-16 overflow-hidden bg-white/30 backdrop-blur-lg border border-white/10 shadow-lg rounded-2xl w-full h-[500px] flex flex-col items-center justify-between" style={{
|
|
150
|
+
backgroundImage: testimonial.image ? "url(".concat(testimonial.image, ")") : "none",
|
|
151
|
+
backgroundSize: "contain",
|
|
152
|
+
backgroundPosition: "center",
|
|
153
|
+
backgroundRepeat: "no-repeat",
|
|
154
|
+
}} role="region" aria-label="Testimonial">
|
|
155
|
+
<div className={"flex-1 flex flex-col justify-center w-full bg-black/40 rounded-2xl ".concat(isMobile ? "p-4" : "p-12")}>
|
|
156
|
+
<div className="flex flex-col items-center justify-center h-full">
|
|
157
|
+
<p className="text-white text-base sm:text-lg font-medium italic mb-2 text-center content-text line-clamp-8">
|
|
158
|
+
“{testimonial.quote}”
|
|
159
|
+
</p>
|
|
160
|
+
<p className="text-white/80 text-sm sm:text-base font-medium text-center content-text" style={{
|
|
161
|
+
textShadow: "\n -1px -1px 0 #000,\n 1px -1px 0 #000,\n -1px 1px 0 #000,\n 1px 1px 0 #000,\n 0 2px 4px rgba(0, 0, 0, 0.4)\n ",
|
|
162
|
+
}}>
|
|
163
|
+
— {testimonial.author}
|
|
164
|
+
</p>
|
|
165
|
+
</div>
|
|
166
|
+
<button onClick={function () { return setSelectedTestimonial({ quote: testimonial.quote, author: testimonial.author }); }} className="mt-4 text-white bg-[#F47C7C] hover:bg-[#FF69B4] rounded-full px-4 py-2 text-sm font-semibold transition-colors duration-200 self-center">
|
|
167
|
+
Read More
|
|
168
|
+
</button>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</motion.div>); })}
|
|
172
|
+
</div>
|
|
173
|
+
<TestimonialModal isOpen={!!selectedTestimonial} onClose={function () { return setSelectedTestimonial(null); }} quote={(selectedTestimonial === null || selectedTestimonial === void 0 ? void 0 : selectedTestimonial.quote) || ""} author={(selectedTestimonial === null || selectedTestimonial === void 0 ? void 0 : selectedTestimonial.author) || ""} isMobile={isMobile}/>
|
|
174
|
+
</motion.div>
|
|
175
|
+
</div>);
|
|
176
|
+
};
|
|
177
|
+
export default Testimonials;
|