Skip to content

Conversation

@codeunia-dev
Copy link
Owner

@codeunia-dev codeunia-dev commented Nov 20, 2025

Display company logos or initials on event and hackathon cards use hackathon slugs for detail links, and add a new hero section and header to the hackathons page.

Summary by CodeRabbit

  • New Features

    • Expanded hackathon categories to include Game Development, Cybersecurity, Open Source, and Social Impact.
  • Bug Fixes

    • Fixed branding text from "CodeUnia" to "Codeunia" across the interface.
    • Updated verification badge tooltip to reflect correct branding.
  • UI/Styling

    • Event and hackathon cards now display company logos when available, with fallback placeholders for missing images.
    • Refined link navigation to use cleaner URL formats.

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

… use hackathon slugs for detail links, and add a new hero section and header to the hackathons page.
@vercel
Copy link

vercel bot commented Nov 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
codeunia Ready Ready Preview Comment Nov 20, 2025 5:59am

@codeunia-dev codeunia-dev merged commit 2f8c1e8 into main Nov 20, 2025
3 of 4 checks passed
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 20, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Updates company-specific pages to display company logos in event and hackathon cards, replaces hackathon routing from ID-based to slug-based links, adds hackathon categories, updates branding terminology from CodeUnia to Codeunia, and refactors the main hackathons page hero section with simplified UI elements.

Changes

Cohort / File(s) Summary
Logo/Avatar rendering in company cards
app/companies/[slug]/events/page.tsx, app/companies/[slug]/hackathons/page.tsx
Replaced organizer initials and Trophy icon with company logo or company name initials displayed in rounded badge containers, with image rendering fallback to initials when logo unavailable
Hackathon routing updates
app/companies/[slug]/hackathons/page.tsx
Changed hackathon link targets from ID-based (hackathons/{hackathon.id}) to slug-based (hackathons/{hackathon.slug}) in action button and card trails
Branding terminology updates
app/companies/register/page.tsx, components/companies/VerificationBadge.tsx
Updated all user-facing instances of "CodeUnia" to "Codeunia" in headings, descriptions, and tooltip text
Main hackathons page refactoring
app/hackathons/page.tsx
Simplified hero section decoration, expanded hackathonCategories with four new entries (Game Development, Cybersecurity, Open Source, Social Impact), removed company logo fallback rendering in featured and all-hackathons sections

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Avatar/logo rendering changes follow consistent patterns across event and hackathon cards
  • Link target changes are straightforward replacements (ID to slug)
  • Branding updates are repetitive text changes
  • Note: verify that slug-based hackathon routing is properly implemented in the target pages (references PR #354)

Possibly related PRs

Poem

🐰 Companies now flaunt their logos proud,
Where initials once adorned the crowd,
From IDs to slugs, the links now flow,
Codeunia's brand shines in the glow,
Hackathons flourish in styled array.

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

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 495ae02 and 54609c2.

📒 Files selected for processing (5)
  • app/companies/[slug]/events/page.tsx (2 hunks)
  • app/companies/[slug]/hackathons/page.tsx (3 hunks)
  • app/companies/register/page.tsx (4 hunks)
  • app/hackathons/page.tsx (10 hunks)
  • components/companies/VerificationBadge.tsx (2 hunks)

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.

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