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

About section rebasement #43

Merged
merged 7 commits into from
Jan 21, 2025
Merged

Conversation

nsandoya
Copy link
Collaborator

@nsandoya nsandoya commented Jan 20, 2025

This new PR introduces some improvements based on latest design mockups:

  • Renamed AboutUs.astro into AboutSection.astro to create a more rehusable component
  • Created home-sections.json with homepage content
  • Relocated homepage images into public/images (due Astro building process, former filepath caused problems when used it from home-sections.json)
  • Implemented design enhancements for AboutSection.astro , based on latest mockups
  • Made AboutSection.astro parametric: Replaced hardcoded content with props for title, description, image, and call to action (CTA)
  • Updated About Us section implementation in index.astro with AboutSection.astro and data from home-sections.json

P.S.: There's a new Explore Events section we need to add (see design references). I'll address this in a follow-up PR

Resolves #34

- Create `components/shared` folder
- Create `Button.astro` in `shared` folder (due this component will be used in multiple pages across our website
- Add `Button.astro` in `About.astro`
Due Astro building process, image's relative paths cause some problems, resulting in 404 errors. To fix this, I've relocated photos into `public/images` folder
…`AboutSection.astro`

- Renamed `AboutUs.astro` to `AboutSection.astro` (a more descriptive name)
- Made AboutSection parametric: replaced hardcoded content with props for title, description, image, and call to action (CTA)
- Updated styles according latest design mockup
Used  `AboutSection.astro` and data from `home-sections.json` to update 'About Section' implementation
Copy link
Collaborator

@IvanM9 IvanM9 left a comment

Choose a reason for hiding this comment

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

Nice job @nsandoya :)

@nsandoya
Copy link
Collaborator Author

Nice job @nsandoya :)

Hi @IvanM9 ,

Thank you for reviewing and contributing with your ideas and commits to this PR 😊

@nsandoya nsandoya merged commit 8d09bd1 into Ecuador-In-Tech:main Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

About.astro design improvements + implementation
3 participants