Open masahiroendo opened 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
japantourguideagency-com-nextjs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 19, 2024 0:57am |
The overall changes introduce new UI components, update existing ones, and enhance state management using Zustand and new hooks. Dependencies were updated and added for richer functionality. Code refactoring includes renaming components and updating imports. The .gitignore
file and next.config.js
were modified to improve project structure and configuration.
File(s) | Change Summary |
---|---|
.gitignore |
Added exclusion for the .history directory. |
next.config.js |
Added a new object to the images array for i.ytimg.com with specified protocol, hostname, and pathname. |
package.json |
Added new dependencies: @next/third-parties , @radix-ui/react-accordion , @radix-ui/react-navigation-menu , next-themes , sonner , vaul , zustand . Updated existing dependencies. |
src/.../company-info/page.tsx |
Included TRAVEL_AGENCY_LICENSE_NUMBER and updated email link to use INFO_MAIL_ADDRESS . Added travel agency license number to the list. |
src/.../components/Features.tsx |
Removed an emoji from the text "Why discover Japan with us?" |
src/.../components/Hero.tsx |
Adjusted styling for <h1> , modified <Button> component's className , and restructured layout within <section> . |
src/.../components/Layout.tsx |
Added MobileNavBar component rendering before NavBar . |
src/.../components/LogoLink.tsx |
Wrapped Image component in an additional div with new styles. |
src/.../components/NavBar/DesktopNavBarMenu.tsx |
Renamed NavBarMenuType to NavbarMenuType . |
src/.../NavBar/DesktopNavigationMenu.tsx |
Added new DesktopNavigationMenu component and ListItem component. |
src/.../NavBar/MobileNavBar/index.tsx |
Added new MobileNavBar component with drawer functionality. |
src/.../NavBar/MobileNavBar/mobileNavBarState.ts |
Added mobile navigation bar state management using Zustand. |
src/.../NavBar/hooks/useScrollColor.ts |
Initialized bgColor with a new variable initialBgColor . |
src/.../NavBar/index.tsx |
Replaced HiMenu icon with AlignJustify , refactored mobile menu logic, and introduced DesktopNavigationMenu . |
src/.../Products/ProductsCarousel.tsx |
Renamed ProductCard to Tourcard . |
src/.../Products/TourCard.tsx |
Renamed ProductCard to Tourcard and updated associated props. |
src/.../Testimonials/TestimonialDialog.tsx |
Conditional rendering of Dialog or Drawer based on screen size. Updated imports and modal logic. |
src/.../Testimonials/TestimonialContent.tsx |
Wrapped the first 144 characters of content prop in a div with dangerouslySetInnerHTML . |
src/.../Testimonials/index.tsx |
Added useTestimonialModal hook, commented out toggleShow , updated link to Viator . |
src/.../Welcome/VideoComponent.tsx |
New VideoComponent that displays a video thumbnail with a play button for a welcome video. |
src/.../Welcome/VideoDialog.tsx |
New WelcomeVideodialog component for displaying a video dialog. |
src/.../Welcome/index.tsx |
New Welcome component that renders text and a video component, with visibility toggling for additional text. |
src/.../contact/ContactResponseDialog.tsx |
New ContactResponseDialog component for displaying a thank-you dialog. |
src/.../contact/hooks/useContactResponseDialogModal.tsx |
New custom hook useContactResponseDialogModal using Zustand for managing contact response dialog state. |
src/.../contact/page.tsx |
Added new components and utilities, updated logic to use useContactResponseDialogModal , and replaced ResponseToast with ContactResponseDialog . |
src/app/layout.tsx |
Imported GoogleAnalytics , Inter , and Toaster . Added Google Analytics component and rearranged imports. |
src/app/page.tsx |
Updated import path for ProductsCarousel . |
src/app/articles/[slug]/page.tsx |
Corrected import path for apiEndpoint constant from server-contants to server-constants . |
src/helpers/post.ts |
Corrected import path for apiEndpoint from server-contants to server-constants . |
> In code's vast fields we play,
> With new components bright as day.
> We added hooks with Zustand's might,
> To keep our state just right.
> With mobile navs and themes anew,
> Our app's refreshed, a vibrant hue.
> Let's celebrate this joyous feat,
> Our changes made, a coder's treat!
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All changes from excel sheet for landing about us contact page
Summary by CodeRabbit
New Features
VideoComponent
andWelcomeVideodialog
for displaying videos.ContactResponseDialog
for contact confirmation.Enhancements
Hero
andFeatures
components with better styling and layout.Bug Fixes
Features
.Refactor
ProductCard
toTourcard
across components.Chores
package.json
.GoogleAnalytics
andToaster
for tracking and notifications.