Migration of HeroUI to shadcn/ui#627
Merged
No767 merged 31 commits intoreact-rewritefrom May 21, 2025
Merged
Conversation
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Summary
NextUI/HeroUI are known as traditional component libraries, where you install, import, and use them directly. This although is a good solution, spawns a ton of UI component libraries that are tailored to different styles, e.g. Material UI (MUI), Chakra UI, Mantine, and others. They all have a drawback: there is a lack of finite control over styles. This is best summarized by shadcn/ui themselves:
Point is, by sticking with HeroUI, we end up wrapping styles around components, and attempt to force them to "integrate" with our design. shadcn/ui takes a completely different approach. It literally is the framework to build your own component library. By sticking to shadcn/ui, we can deeply integrate our designs into the components directly, and manipulate our designs to perfectly couple natively with TailwindCSS instead of wrapping everything around the component library. And yes, by doing this, we only actually add and import the components we really need, not 125 of them that we end up only using 10 for the whole entire website.
In addition, this PR implements a completely new home page that utilizes mesh gradients and a simpler design than geometric shapes. Inspirations has been taken from ACM at CSUF, ACM at UCSD, and ACM at UCLA for layout and home pages.
Important
This PR does not complete the front page. It only provides a fully working navbar, and some code for the body, which will be finished in different PRs
Caution
This PR literally breaks every single other branch and PR, as it starts from the ground up. Be aware that you will need to adapt to these new technologies and frameworks
Types of changes
What types of changes does your code introduce to the UC Merced's ACM Chapter Website?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply