Skip to content

Copy in header components from current guild website#1

Draft
elie222 wants to merge 6 commits intomainfrom
header
Draft

Copy in header components from current guild website#1
elie222 wants to merge 6 commits intomainfrom
header

Conversation

@elie222
Copy link
Copy Markdown
Contributor

@elie222 elie222 commented Mar 26, 2021

Header code has been copied from here:
https://github.com/the-guild-org/the-guild-website/blob/master/public/static/banner.js

It will be adjusted in the future to use twin.macro but the goal right now is to get a basic version working.

Items still to do:

  • DONE: Show/hide modal
  • DONE: Import package into guild website
  • Optional: deploy Storybook

The components can be imported into another project by running npm link locally.

Note, you also need to npm link React within the project it’s used in like so: https://stackoverflow.com/a/65259365/2602771 (as otherwise you see a React Hooks duplicate React version error)

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.

1 participant