Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates and additions to the
apps/website
project, focusing on package updates, the integration of new components, and the reorganization of existing components. The most important changes are grouped by theme below:Dependency Updates:
@cuicui/snippets
andvaul
packages toapps/website/package.json
. [1] [2]motion
package inapps/website/package.json
.Component Integration:
NavigationMenu
component into theSectionLayout
component to display a navigation menu. (apps/website/src/app/(site)/[section]/layout.tsxR9, apps/website/src/app/(site)/[section]/layout.tsxR58-R59)MobileSidemenu
component with a drawer for mobile navigation.Component Renaming and Refactoring:
MenuSectionWrapper
toMenuCategoryList
and updated its usage in the section page component. (apps/website/src/app/(site)/[section]/page.tsxL3-R3, apps/website/src/app/(site)/[section]/page.tsxL37-R40, apps/website/src/app/(site)/[section]/page.tsxL58-R58)navigation-animated-background.tsx
andnavigation-item.tsx
tonavigation-animated-background.tsx
andnavigation-item.tsx
respectively, moving them to thesidemenu
directory and updating their content. [1] [2] [3] [4] [5]New Components:
NewSectionSelector
component to display a list of sections.NewThemeSwitch
component for theme selection.Sidemenu Enhancements:
SidemenuContent
component to encapsulate the entire sidebar menu, including navigation items, theme switcher, and section selector.