Description
This issue will migrate the WorkWelcome component from the old website. The folder for the component can be found from the old website's structure at /src/components/landing/WorkWelcome.
Technical Requirements
- React
- Next.js
- Styled Components (more so CSS than Styled Components)
- TailwindCSS.
Branching
When making a branch for this issue, please branch off from feature-18-landing-components. Also ensure that your branch name follows the naming convention in the README.md.
Tasks
Notes
- If there is a component for this issue that depends on another issue, please let @Blueprint-Boulder/core-website know about this ASAP.
- No pages have been migrated yet, so we only have the default page that comes with Next.js. If you would like to test the component, feel free to create a page to test it out, however, do not commit this page.
- While converting, if there's any uncertainty about the conversion or if you believe a certain style cannot be replicated accurately using Tailwind, please flag it for review.
Description
This issue will migrate the
WorkWelcomecomponent from the old website. The folder for the component can be found from the old website's structure at/src/components/landing/WorkWelcome.Technical Requirements
Branching
When making a branch for this issue, please branch off from
feature-18-landing-components. Also ensure that your branch name follows the naming convention in theREADME.md.Tasks
Convert styles.js to Individual React Components:
styled.divwould be a<div>tag orstyled.spanwould be a<span>tag).ThemeContextprovider, typically denoted asthemein the file, refer to TailwindCSS's documentation on dark mode.tailwind.config.tsfor any named themes that have already been migrated. If there is a theme that is used often but not migrated already, please ensure to add it to the file and use it.Refactor
index.jsx:HelmetandHeadertags for this issue.ThemeContexthas already been implemented, so any TailwindCSS components that need to know if the theme is light or dark will already know.Migrate data:
/src/datafolder of the new website, please copy the data over and use it in this manner.Notes