Skip to content

CTA Section for landing page#2

Open
agarciacif wants to merge 25 commits into
theQuasarians:mainfrom
agarciacif:main
Open

CTA Section for landing page#2
agarciacif wants to merge 25 commits into
theQuasarians:mainfrom
agarciacif:main

Conversation

@agarciacif

Copy link
Copy Markdown
Collaborator

Done the CTA section task.

  • Image is in /public/
  • html styles in /src/index.css
  • CTA component in /src/CTA.jsx

Result:
image

Measures for all elements taken from Figma design

agarciacif added 11 commits May 25, 2024 15:12
Renamed App to CTA for CTA component.
It was agreed to follow this project structure convention for React components.

Now react components go in src/components/componentName/componentName.jsx

Also assets now go outside src, in root directory.
After the code review, it was decided to style everything on it's own style.css and leave index.css untouched
This will minimize the number of conflicts between master branch and my branch.
Removed my component from main.jsx to fulfill rule 5 of code review "Do not insert your component into the main react Render".
Final touches to minimizing conflicts between my branch and main branch
@agarciacif

Copy link
Copy Markdown
Collaborator Author

Feedback applied:

  • Units Review: use rem for font-sizes and em for spacing fb13cc6
  • Folder Structure: Follow the structure shown on Github c81be39
  • Do not insert your component into the main react Render 3a7e9e4
  • Don't put global styles in "app.css" , "index.css” 6826da6

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