Skip to content

feat(landing-page): add social links and update sections#156

Merged
gvieira18 merged 2 commits into
he4rt:3.xfrom
matheusdsilva01:feat/landing-page-social-links
Dec 18, 2025
Merged

feat(landing-page): add social links and update sections#156
gvieira18 merged 2 commits into
he4rt:3.xfrom
matheusdsilva01:feat/landing-page-social-links

Conversation

@matheusdsilva01
Copy link
Copy Markdown
Contributor

@matheusdsilva01 matheusdsilva01 commented Dec 18, 2025

This PR adds the following improvements to the landing page

  • Adds the correct links social media and projects
  • Replaces Desafios de Código to 100DiasDeCodigo on projects section

Summary by CodeRabbit

  • New Features

    • Social icons are now clickable links to respective profiles.
    • Hero and CTA buttons navigate users to the community and project sections.
    • Project cards link directly to their GitHub repositories.
  • Content Updates

    • Section titles and descriptions clarified for better readability.
    • Several card icons and call-to-action labels updated for clearer messaging.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Dec 18, 2025

Walkthrough

Updated four Blade component views to add navigation links on buttons and social icons, adjust project card links and texts, and replace several heroicons and card titles across contact, hero, projects, and purpose sections.

Changes

Cohort / File(s) Summary
Contact / Social icons
app-modules/portal/resources/views/components/sections/contact.blade.php
Replaced plain social icons with anchor-wrapped icons linking to respective profiles (Discord invite, LinkedIn, X/Twitter, Instagram, GitHub); Discord button uses invite href.
Hero CTA buttons
app-modules/portal/resources/views/components/sections/hero.blade.php
Converted buttons to anchor-enabled buttons: primary now links to Discord invite, secondary links to the #projects section; retained labels and styling.
Projects cards & links
app-modules/portal/resources/views/components/sections/projects.blade.php
Updated three project cards: fixed tags, adjusted titles/descriptions (including "100DiasDeCodigo"), and added external hrefs to action buttons pointing to respective GitHub repos.
Purpose cards & CTA
app-modules/portal/resources/views/components/sections/purpose.blade.php
Swapped several heroicons (code-bracket → hashtag/chat-bubble/user-group), updated card titles (e.g., Comunidade → Interação/Colaboração) and changed first-card CTA to link to Discord with icon and variant attributes.

Sequence Diagram(s)

(Skipped — changes are UI/link updates and do not introduce multi-component control-flow requiring a sequence diagram.)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~15–20 minutes

  • Verify all external URLs (Discord invite, GitHub repos) and internal anchors (#projects) for correctness.
  • Confirm icon name substitutions match available heroicons and render correctly.
  • Check accessibility (anchor/button semantics, target attributes if external).
  • Look for any stray/placeholder href values (e.g., accidental google.com) in contact or other files.

Suggested reviewers

  • danielhe4rt

Poem

🐰 I hopped through Blade with a joyful spring,
Tied buttons to paths and made icons sing,
Links stitched in place, the portals gleam bright,
A rabbit's small fix to guide every flight,
Hop on, explore — community delight! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main changes: adding social links and updating multiple sections of the landing page, which matches the changeset content.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Clintonrocha98
Clintonrocha98 previously approved these changes Dec 18, 2025
Copy link
Copy Markdown
Collaborator

@Clintonrocha98 Clintonrocha98 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown

@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: 3

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a780f5f and 8aa14c6.

📒 Files selected for processing (4)
  • app-modules/portal/resources/views/components/sections/contact.blade.php (1 hunks)
  • app-modules/portal/resources/views/components/sections/hero.blade.php (1 hunks)
  • app-modules/portal/resources/views/components/sections/projects.blade.php (2 hunks)
  • app-modules/portal/resources/views/components/sections/purpose.blade.php (5 hunks)
🔇 Additional comments (8)
app-modules/portal/resources/views/components/sections/hero.blade.php (2)

37-39: LGTM!

The anchor link correctly references the projects section. The outline variant provides appropriate visual distinction from the primary CTA button.


33-35: Discord invite link verified and implementation is correct.

The button properly links to the He4rt Developers Discord server with valid syntax and attributes.

app-modules/portal/resources/views/components/sections/purpose.blade.php (1)

10-10: LGTM! Semantic icon and title updates.

The updated icons and card titles better represent the community aspects. The changes provide clearer distinction between community features (Comunidade, Interação, Aprendizado, Colaboração).

Also applies to: 23-26, 39-39, 49-52

app-modules/portal/resources/views/components/sections/contact.blade.php (3)

38-40: LGTM!

The Discord button correctly links to the community invite with clear, actionable text.


48-50: LGTM!

The updated description clearly communicates the purpose of the social media links.


59-82: LGTM! Social media links are properly implemented.

All four social links are correctly structured with proper anchor wrapping, consistent styling, and appropriate brand icons. The hover animations provide good UX feedback.

app-modules/portal/resources/views/components/sections/projects.blade.php (2)

30-44: LGTM! Tag update accurately reflects the project nature.

The tag change to "Projetos" correctly categorizes the repository's purpose of creating challenges for the community to solve and expand their portfolios. The GitHub repository is active and regularly updated with new challenges.


19-28: LGTM! The button correctly links to the 4noobs project, a repository listing 4noobs content from all categories showing projects developed to facilitate beginner developer learning from the community. The block attribute ensures consistent button sizing across cards, and the "Documentação" tag accurately represents the project's purpose.

Copy link
Copy Markdown

@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: 0

🧹 Nitpick comments (2)
app-modules/portal/resources/views/components/sections/contact.blade.php (1)

52-81: Consider adding target="_blank" and rel="noopener noreferrer" for external social links.

These external links would benefit from opening in new tabs to keep users on your site. Adding rel="noopener noreferrer" is a security best practice that prevents the opened page from accessing the window.opener property.

🔎 Example fix for one link (apply to all):
-                                <a href="https://discord.com/invite/he4rt">
+                                <a href="https://discord.com/invite/he4rt" target="_blank" rel="noopener noreferrer">
                                    <x-filament::icon
                                        icon="fab-discord"
                                        class="h-6 w-6 transition-all duration-500 hover:scale-105"
                                    />
                                </a>

Additionally, for accessibility, consider adding aria-label attributes to describe the link purpose since the icons have no visible text (e.g., aria-label="Discord").

app-modules/portal/resources/views/components/sections/purpose.blade.php (1)

82-88: Good update - grammar fix applied. Consider adding external link attributes.

The Portuguese grammar is now correct ("Participe da nossa comunidade"). For consistency with the social links in contact.blade.php, consider adding target="_blank" and rel="noopener noreferrer" if the button component supports these attributes, so users aren't navigated away from the landing page.

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8aa14c6 and 0a47e57.

📒 Files selected for processing (2)
  • app-modules/portal/resources/views/components/sections/contact.blade.php (1 hunks)
  • app-modules/portal/resources/views/components/sections/purpose.blade.php (5 hunks)
🔇 Additional comments (6)
app-modules/portal/resources/views/components/sections/contact.blade.php (2)

38-40: LGTM!

The Discord button now correctly includes the invite link. The implementation is clean and consistent with the component's expected usage.


48-50: LGTM!

The updated description provides clear, actionable text for the social links section.

app-modules/portal/resources/views/components/sections/purpose.blade.php (4)

10-10: LGTM!

The heroicon-o-hashtag icon is a good semantic choice for the "Comunidade" (Community) card.


23-26: LGTM!

The heroicon-o-chat-bubble-left-right icon appropriately represents "Interação" (Interaction), and the title rename improves clarity.


39-39: LGTM!

The title "Aprendizado" (Learning) pairs well with the code bracket icon and description about open source projects.


49-52: LGTM!

The heroicon-o-user-group icon and "Colaboração" (Collaboration) title create a cohesive message with the personalized guidance description.

@gvieira18 gvieira18 merged commit 02851fd into he4rt:3.x Dec 18, 2025
11 checks passed
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.

3 participants