Skip to content

feat: add GitHub 'presents' badge to hero section and fix sponsor car…#25

Merged
BeeXD merged 1 commit into
mainfrom
feature/github-hero-sponsor-badge
Jun 28, 2026
Merged

feat: add GitHub 'presents' badge to hero section and fix sponsor car…#25
BeeXD merged 1 commit into
mainfrom
feature/github-hero-sponsor-badge

Conversation

@BeeXD

@BeeXD BeeXD commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

…d sizing

Copilot AI review requested due to automatic review settings June 28, 2026 14:47
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
dev3-0 Ready Ready Preview, Comment Jun 28, 2026 2:47pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds GitHub “presents” branding to the hero section and introduces GitHub as a new “Title Sponsor” in the sponsors section, along with supporting logo assets and small UI/ticker adjustments.

Changes:

  • Add a new “Title Sponsor” tier to the Sponsors section and render GitHub via SponsorCard.
  • Add a “GitHub presents” badge above the hero title and adjust hero spacing logic (including navbar height measurement).
  • Add new GitHub logo SVG assets and update the navbar ticker items.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/sections/Sponsors.tsx Adds a Title Sponsor block and a GitHub sponsor entry.
src/sections/Hero.tsx Adds the “GitHub presents” banner and updates hero layout spacing calculations.
src/App.tsx Updates the ticker items list shown in the navbar.
public/logos/github.svg Adds a GitHub logo SVG asset (white fill).
public/logos/github_black.svg Adds a GitHub logo SVG asset (black fill) used in the hero badge.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/sections/Hero.tsx
Comment on lines 70 to 73
const is20x9 = Math.abs(ratio - 9 / 20) < 0.05;
const isZFold = /SM-F|Galaxy Z Fold|GalaxyZFold|Fold/i.test(ua);
const navEl = typeof document !== 'undefined' ? document.querySelector('nav') : null;
const navEl = typeof document !== 'undefined' ? document.querySelector('header') : null;
const measuredNavHeight = navEl ? Math.round(navEl.getBoundingClientRect().height) : 0;
Comment thread src/sections/Sponsors.tsx
Comment on lines +18 to +21
name: "GitHub",
logo: "/logos/github.svg",
scale: isMobile ? 1.0 : 1.3,
hoverScale: isMobile ? 1.1 : 1.4
Comment thread src/sections/Sponsors.tsx
Comment on lines +16 to +17
const titlesponsor = [
{
@BeeXD BeeXD merged commit eac8e05 into main Jun 28, 2026
3 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.

2 participants