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

Homepage Section #260

Merged
merged 66 commits into from
Dec 24, 2024
Merged

Homepage Section #260

merged 66 commits into from
Dec 24, 2024

Conversation

fatmahussein
Copy link
Collaborator

@fatmahussein fatmahussein commented Dec 17, 2024

Key Changes

Updated Layout:

  • Integrated a modern, responsive design optimized for desktop, tablet, and mobile devices.

New Sections Added:

  • Hero Banner
  • Join WNB.rb Section
  • Hire from WNB.rb Section
  • Meetups Section
  • Call-to-Action (CTA) for donations or inquiries.

Styling and Branding:

  • Applied updated branding (colors, typography, and visuals).

Improved Responsiveness:
Ensured that all components adapt seamlessly across devices.

@fatmahussein fatmahussein linked an issue Dec 17, 2024 that may be closed by this pull request
Copy link
Collaborator

@sarah-fflow sarah-fflow left a comment

Choose a reason for hiding this comment

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

Hi Fatuma,

Great work. The code is basically fine, but with apologies, it's a shared codebase, so we need to be tidy about things like unused files and console warnings.

Essential fixes:

  1. Fix NotFound.jsx, still has a reference to RubyOutline that breaks
  2. Fix console warning (text below)
  3. Remove unused (image) files
  4. Remove the stock photo full of men :)

react-dom.development.js:86 Warning: Encountered two children with the same key, link-1. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

I can't see any references to link-1, so my guess is it's a generated link when there isn't one, so the fix is to add an explicit name or label - I don't have more details, it's been a while since I last used react, happy to pair with you if you get stuck on this one

Optional fixes:

  • All the other comments
  • Add missing newlines at the ends of files

expect(page).to have_text('404')
end
end
# it 'visits home page' do
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think most of these tests should still pass, I would reinstate them if it's quick, and just leave out any complex fixes until next year

Copy link
Collaborator

Choose a reason for hiding this comment

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

Agreed with Fatuma that we'll pick this up in the next PR, because she ran out of hours in December

Copy link
Collaborator

Choose a reason for hiding this comment

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

And then, once I uncommented, they were all passing anyhow!

@sarah-fflow sarah-fflow merged commit 04f0354 into main Dec 24, 2024
5 checks passed
@sarah-fflow sarah-fflow linked an issue Jan 22, 2025 that may be closed by this pull request
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.

HomePage Update style to match new designs
3 participants