Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added sidebar (#1) #9

Merged
merged 6 commits into from
Feb 27, 2024
Merged

feat: added sidebar (#1) #9

merged 6 commits into from
Feb 27, 2024

Conversation

ZhangTerrence
Copy link
Contributor

I added the sidebar but there are some features I wasn't able to add:

  • No icons in the buttons, apparently ChakraUI requires you to install a separate node package to use its icons. Also, ChakraUI's icon library is pretty small. https://chakra-ui.com/docs/components/icon/usage
  • I left the image srcs empty for now
  • I don't know how it should look for mobile so right now its not mobile responsive

Also I put the Sidebar components in a newly created components directory. I wasn't sure where to put it for this project it's there for now.

<Flex width="100%" height="100%" backgroundColor="blue.500" direction="column" justifyContent="space-between" color="white">
<Box>
<HStack padding="16px">
<Image src='' alt="Blueprint Logo" boxSize="100px"></Image>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZhangTerrence I just added the logos in your branch feat/sidebar under src/assets/images. Can you update the src

src/components/Sidebar.tsx Show resolved Hide resolved
src/components/Sidebar.tsx Show resolved Hide resolved
@ZhangTerrence
Copy link
Contributor Author

I updated the image srcs, added routing functionality to the buttons, and moved Sidebar to HomePage. As for the icons, I was able to get some free svgs so I created custom icons which I temporarily put in the icons directory.

@miguel-merlin
Copy link
Member

You're crazy. Thanks

Copy link
Member

@miguel-merlin miguel-merlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work!

@miguel-merlin miguel-merlin merged commit 594f618 into main Feb 27, 2024
1 check passed
@miguel-merlin miguel-merlin mentioned this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants