Skip to content

feat(changelogs): add hero section with dinosaur and Firehose title#704

Merged
castrojo merged 1 commit into
projectbluefin:mainfrom
castrojo:upstream-pr/firehose-always-fetch
Apr 1, 2026
Merged

feat(changelogs): add hero section with dinosaur and Firehose title#704
castrojo merged 1 commit into
projectbluefin:mainfrom
castrojo:upstream-pr/firehose-always-fetch

Conversation

@castrojo
Copy link
Copy Markdown
Contributor

@castrojo castrojo commented Apr 1, 2026

Replace the plain 'Changelogs and Feeds' text header with a hero layout: angry dinosaur mascot image + 'Bluefin Firehose' title + subtitle matching the original castrojo.github.io/bluefin-releases site.

  • static/img/angry-dinosaur.webp: copied from bluefin-releases source
  • CommunityFeeds.tsx: hero layout (dino + text block)
  • CommunityFeeds.module.css: hero styles, responsive collapse on mobile

Assisted-by: Claude Sonnet 4.6 via GitHub Copilot

Replace the plain 'Changelogs and Feeds' text header with a hero layout:
angry dinosaur mascot image + 'Bluefin Firehose' title + subtitle
matching the original castrojo.github.io/bluefin-releases site.

- static/img/angry-dinosaur.webp: copied from bluefin-releases source
- CommunityFeeds.tsx: hero layout (dino + text block)
- CommunityFeeds.module.css: hero styles, responsive collapse on mobile

Assisted-by: Claude Sonnet 4.6 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@castrojo castrojo merged commit a7e17f6 into projectbluefin:main Apr 1, 2026
1 check passed
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request replaces the header and overview panel in the CommunityFeeds component with a new hero section, adding a mascot image and updating the layout styles. Reviewers identified opportunities to improve the image implementation by using relative path resolution and explicit dimensions to avoid layout shifts. It was also noted that the page title in the Layout component should be updated to match the new heading for SEO and accessibility consistency.

Comment on lines +14 to +18
<img
src="/img/angry-dinosaur.webp"
alt="Bluefin angry dinosaur mascot"
className={styles.heroDino}
/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The image path is hardcoded as a string literal and is missing explicit dimensions.

  1. Portability: Using a hardcoded path like /img/angry-dinosaur.webp can lead to broken images if the site is deployed to a subpath (e.g., GitHub Pages). Using require() ensures the build system correctly resolves the asset path relative to the base URL.
  2. Layout Shift (CLS): Missing width and height attributes on the img tag can cause layout shifts during page load. Since this is a hero section, providing these attributes is important for performance and user experience.

Note: Ensure the width and height values match the intrinsic aspect ratio of the image.

          <img
            src={require("@site/static/img/angry-dinosaur.webp").default}
            alt="Bluefin angry dinosaur mascot"
            className={styles.heroDino}
            width={90}
            height={90}
          />

className={styles.heroDino}
/>
<div className={styles.heroText}>
<h1 className={styles.heroTitle}>Bluefin Firehose</h1>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The new <h1> title ('Bluefin Firehose') does not match the page title defined in the Layout component ('Changelogs and Feeds'). This inconsistency can negatively impact SEO and accessibility. It is highly recommended to update the title prop of the Layout component to match this new heading.

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.

1 participant