Skip to content

feat(apply): improve hero section typography and spacing#584

Open
LogicVortex123 wants to merge 1 commit intoAOSSIE-Org:mainfrom
LogicVortex123:improve-apply-page-hero
Open

feat(apply): improve hero section typography and spacing#584
LogicVortex123 wants to merge 1 commit intoAOSSIE-Org:mainfrom
LogicVortex123:improve-apply-page-hero

Conversation

@LogicVortex123
Copy link

@LogicVortex123 LogicVortex123 commented Feb 17, 2026

Addressed Issues:

Fixes #559


Screenshots/Recordings:

Screenshot (306)

(Attached above)


Additional Notes:

  • Added the main hero heading “Start Your Open-Source Journey” to clearly introduce the purpose of the Apply page.
  • Improved typography, spacing, and visual hierarchy to enhance readability and user focus.
  • Ensured the heading and content align with the overall design style used across other pages.
  • Changes are purely UI-related and do not impact existing functionality.

Checklist

  • My PR addresses a single issue, fixes a single bug or makes a single improvement.
  • My code follows the project's code style and conventions.
  • If applicable, I have made corresponding changes or additions to the documentation.
  • If applicable, I have made corresponding changes or additions to tests.
  • My changes generate no new warnings or errors.
  • I have joined the Discord server and shared this PR with the project maintainers.
  • I have read the Contribution Guidelines.
  • Once I submit my PR, CodeRabbit AI will automatically review it and I will address CodeRabbit's comments.

Summary by CodeRabbit

  • Style
    • Redesigned the apply page header with improved typography, visual hierarchy, and enhanced emphasis on key messaging to increase readability and visual impact.

@coderabbitai
Copy link

coderabbitai bot commented Feb 17, 2026

📝 Walkthrough

Walkthrough

The Apply page's introductory section receives a typography update, replacing an h5 heading with a prominent h1 ("Start Your Open-Source Journey") and a complementary h2 subheading. Styled emphasis on key phrases is preserved and repositioned within the new heading structure. No functional or data-handling changes are introduced.

Changes

Cohort / File(s) Summary
Apply Page Header Typography
src/pages/apply.jsx
Replaced h5 heading and paragraph with h1 and h2 hierarchy. Retained yellow-highlighted, bolded emphasis on "opportunity" and "real-world experience" within new h2 subheading. Descriptive paragraph repositioned to follow updated headings.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A page now shines with headers bright,
From h5 to h1, typography's right!
With bold yellow gleams on each key phrase,
The journey to contribute now truly displays,
Visual hierarchy hops into place! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change in the PR: replacing h5 and paragraph with h1/h2 headings and updating typography and spacing in the Apply page's hero section.
Linked Issues check ✅ Passed The PR successfully addresses issue #559 by improving heading typography and visual hierarchy through h1/h2 restructuring with enhanced styling and spacing.
Out of Scope Changes check ✅ Passed All changes are directly related to improving hero section typography and spacing as outlined in issue #559; no unrelated modifications detected.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/pages/apply.jsx`:
- Line 81: Duplicate margin-top Tailwind utilities exist on the paragraph
element with className 'mt-6 text-zinc-600 mt-4  dark:text-zinc-400 text-lg
font-mono leading-7'; remove the redundant class (delete either mt-4 or mt-6) so
only one mt-* remains — keep mt-6 as suggested — by editing the JSX <p>
element's className to eliminate the duplicate.

leading-relaxed">
Learn how to apply for an <span className="text-yellow-400 font-bold">opportunity</span> to work on open-source projects and gain <span className="text-yellow-400 font-bold">real-world experience</span> through Google Summer of Code.
</h2>
<p className='mt-6 text-zinc-600 mt-4 dark:text-zinc-400 text-lg font-mono leading-7'>
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Remove duplicate margin-top class.

The className contains both mt-6 and mt-4. In Tailwind CSS, when duplicate utility classes are present, only the last one takes effect. This creates confusion about the intended spacing.

🧹 Proposed fix to remove the duplicate
-            <p className='mt-6 text-zinc-600 mt-4  dark:text-zinc-400 text-lg font-mono leading-7'>
+            <p className='mt-6 text-zinc-600 dark:text-zinc-400 text-lg font-mono leading-7'>

Note: I kept mt-6 as it provides more spacing from the h2 above. If mt-4 was intentional, remove mt-6 instead.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<p className='mt-6 text-zinc-600 mt-4 dark:text-zinc-400 text-lg font-mono leading-7'>
<p className='mt-6 text-zinc-600 dark:text-zinc-400 text-lg font-mono leading-7'>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/pages/apply.jsx` at line 81, Duplicate margin-top Tailwind utilities
exist on the paragraph element with className 'mt-6 text-zinc-600 mt-4 
dark:text-zinc-400 text-lg font-mono leading-7'; remove the redundant class
(delete either mt-4 or mt-6) so only one mt-* remains — keep mt-6 as suggested —
by editing the JSX <p> element's className to eliminate the duplicate.

@LogicVortex123
Copy link
Author

LogicVortex123 commented Feb 17, 2026

👋 Hi,

I have worked on issue #559
and implemented the required changes. As part of this, I also added the heading “Start Your Open Source Contribution”.

I’ve attached a screenshot of the changes for your reference. I would be grateful if you could kindly review my PR whenever you get a chance. Looking forward to your valuable feedback!

Thank you so much for your time! ✨

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.

Improve heading typography and visual hierarchy on Apply page

1 participant

Comments