Skip to content

feat: add Minecraft-style fonts and apply site-wide - #74

Merged
creatorcluster merged 2 commits into
creatorcluster:mainfrom
Coder-soft:main
Aug 8, 2026
Merged

feat: add Minecraft-style fonts and apply site-wide#74
creatorcluster merged 2 commits into
creatorcluster:mainfrom
Coder-soft:main

Conversation

@Coder-soft

@Coder-soft Coder-soft commented Aug 8, 2026

Copy link
Copy Markdown
  • register Minecraftia and Minecraft Seven @font-face rules
  • add font-minecraftia/font-mojangles utilities
  • apply new fonts to brand, headings, and labels
  • align brand text with leading-none and gap spacing

Summary by CodeRabbit

  • Style

    • Updated branding, navigation, and footer spacing and typography.
    • Added Minecraft-inspired fonts and applied them across generator, community, renderer, utilities, and downloader pages.
    • Refined the Utilities page layout with a grid background and improved content structure.
  • Bug Fixes

    • Corrected “RenderDragon” capitalization.
    • Background patterns now start with no spacing by default.

- register Minecraftia and Minecraft Seven @font-face rules
- add font-minecraftia/font-mojangles utilities
- apply new fonts to brand, headings, and labels
- align brand text with leading-none and gap spacing
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

@Coder-soft is attempting to deploy a commit to the yamura3's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Coder-soft, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 36 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ae604ee4-805a-4d6f-bf1e-4a09c18dea64

📥 Commits

Reviewing files that changed from the base of the PR and between f3980fd and c21b827.

📒 Files selected for processing (2)
  • src/components/generators/MinecraftNametagGenerator.tsx
  • src/index.css
📝 Walkthrough

Walkthrough

The PR adds Minecraft font definitions and utility classes. It applies Minecraft typography to several headings and nametag text. It updates branding spacing, utilities page layout, and the default background pattern spacing.

Changes

Minecraft UI styling

Layer / File(s) Summary
Minecraft font foundation and usage
src/index.css, src/components/generators/MinecraftNametagGenerator.tsx, src/pages/Community.tsx, src/pages/PlayerRenderer.tsx, src/pages/YouTubeDownloader.tsx
Adds Minecraftia and Minecraft Seven fonts with utility classes. Applies the new classes to nametag text and page headings.
Branding spacing and text treatment
src/components/Footer.tsx, src/components/Navbar.tsx
Updates flex spacing, brand capitalization, and desktop brand line height.
Page layout and generator defaults
src/pages/Utilities.tsx, src/pages/BackgroundGenerator.tsx
Adds the utilities page grid background and centered content container. Changes the default pattern spacing from 10 to 0 pixels.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: yxmura

Poem

A rabbit hops through fonts so bright,
Minecraft letters fill the night.
The footer gleams, the navbar flows,
Zero-space patterns neatly grow.
“RenderDragon!” the bunny sings,
While pixel magic spreads its wings.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the primary change: adding and applying Minecraft-style fonts across the site.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/generators/MinecraftNametagGenerator.tsx`:
- Line 63: Update the export flow in MinecraftNametagGenerator so the Minecraft
Seven font is loaded before invoking html2canvas. Await document.fonts.load for
the 28px “Minecraft Seven” font using playerName, or await document.fonts.ready,
immediately before the capture call while preserving the existing nametag
rendering behavior.

In `@src/index.css`:
- Around line 5-8: Update the Minecraftia font-family declarations in the
`@font-face` block and the corresponding declaration around line 185 by removing
the quotes from the single-token family name, while leaving the font source and
other styling unchanged.
- Around line 5-14: Update the `@font-face` declarations for Minecraftia and
Minecraft Seven to use immutable commit-pinned URLs or self-hosted in-repository
font assets instead of the mutable raw.githubusercontent.com main-branch
sources; remove the declarations if neither guarantee is available, while
preserving valid font loading and fallback behavior.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 111562fc-f630-4f3c-87df-2e4349d9b70f

📥 Commits

Reviewing files that changed from the base of the PR and between 7922770 and f3980fd.

📒 Files selected for processing (9)
  • src/components/Footer.tsx
  • src/components/Navbar.tsx
  • src/components/generators/MinecraftNametagGenerator.tsx
  • src/index.css
  • src/pages/BackgroundGenerator.tsx
  • src/pages/Community.tsx
  • src/pages/PlayerRenderer.tsx
  • src/pages/Utilities.tsx
  • src/pages/YouTubeDownloader.tsx

Comment thread src/components/generators/MinecraftNametagGenerator.tsx
Comment thread src/index.css
Comment thread src/index.css
@greptile-apps

greptile-apps Bot commented Aug 8, 2026

Copy link
Copy Markdown

Greptile Summary

This update adds Minecraft-style typography across branding, headings, labels, and nametag rendering. The font URLs are pinned to an immutable commit and the interface remains usable with fallback fonts if those requests fail. One user-visible regression remains: the Background Generator now starts with seamless tiles instead of the previously separated tile layout.

Confidence Score: 4/5

The Background Generator’s first-use output no longer preserves the expected gap between repeated texture tiles.

One verified non-security defect remains in the default background-generation behavior.

Files Needing Attention: src/pages/BackgroundGenerator.tsx

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex produced a proof for the posted P1 finding, including a current Background Generator recording and the browser-comparison script used to validate results.
  • A Chromium browser validation was run to compare font-permitted versus font-blocked scenarios, with UI and logs captured for review.
  • The validation showed that font requests load when permitted and fail when blocked, while the heading and nametag render with fallbacks, establishing an availability dependency rather than a mutable-content condition.
  • These observations support that the current commit-pinned URLs are stable references and that a font outage does not break the interface.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (2): Last reviewed commit: "fix: wait for Minecraft fonts before PNG..." | Re-trigger Greptile

const [color, setColor] = useState("#9b87f5");
const [size, setSize] = useState("1920x1080");
const [spacing, setSpacing] = useState([10]);
const [spacing, setSpacing] = useState([0]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Default background generation loses tile separation

New backgrounds now initialize with zero spacing rather than the previous 10px gap. The generation path passes this value directly into the tile step, so both the preview and downloaded image default to edge-to-edge texture tiling. Restore [10] unless this visible generator behavior change is intentional and documented.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Artifacts

Focused background spacing verification script

  • This executable script loads the base or current component source and exercises its tile-position calculation, showing whether the initialized spacing reaches generation.

Base version background spacing execution output

  • Executed `node trex-artifacts/background-spacing-check.mjs before` in `/home/user/repo` with exit code 0; it shows a 10px initialized gap and 110px tile step.

PR version background spacing execution output

  • Executed `node trex-artifacts/background-spacing-check.mjs after` in `/home/user/repo` with exit code 0; it shows a 0px initialized gap and 100px edge-to-edge tile step.

View artifacts

T-Rex Ran code and verified through T-Rex

Comment thread src/index.css
Comment on lines +5 to +15
@font-face {
font-family: 'Minecraftia';
src: url('https://raw.githubusercontent.com/Yxmura/resources_renderdragon/main/fonts/minecraftia.ttf') format('truetype');
font-display: swap;
}

@font-face {
font-family: 'Minecraft Seven';
src: url('https://raw.githubusercontent.com/Yxmura/resources_renderdragon/main/fonts/minecraft.ttf') format('truetype');
font-display: swap;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Branding fonts depend on mutable remote assets

The site-wide font faces load from raw.githubusercontent.com/.../main/..., which is both an externally available runtime dependency and a mutable branch path. In a rendered browser run, blocking only those two requests made the custom faces unavailable and changed the navbar brand width from 230px to 188px and the nametag width from 221px to 236px as the declared monospace fallback took over. Bundle the licensed fonts with the application, or serve immutable versioned assets from a controlled origin.

Artifacts

▶ Normal custom-font rendering before remote font requests are blocked

  • Chromium recording of the normal `/utilities` then `/generators` route flow with the branch-hosted fonts available, establishing the intended branded rendering.

Normal Minecraft nametag rendering with remote fonts available

  • Poster frame from the normal Chromium recording after entering CreativeDragon in the Minecraft Nametag generator, showing the available-font condition.

▶ Fallback rendering after the two remote font requests are blocked

  • Chromium recording of the same route flow with the exact raw GitHub font requests aborted, showing the unavailable-font condition and its rendered impact.

Minecraft nametag rendering after remote fonts are blocked

  • Poster frame from the blocked-request Chromium recording after entering CreativeDragon, showing the changed fallback-rendered condition.

Observed Chromium normal-versus-blocked font test output

  • Actual successful command output records HTTP 200 responses, the exact intercepted URLs, font availability checks, and normal-versus-blocked dimensions; it establishes the concrete fallback impact.

Playwright Chromium font fallback review script source

  • Full source of the review-authored script that loads the two real routes, records videos, blocks only the exact font URLs, and captures browser font and layout observations.

Evidence from the check

  • Full source of the review-authored script that loads the two real routes, records videos, blocks only the exact font URLs, and captures browser font and layout observations.

Command output from the check

  • Actual successful command output records HTTP 200 responses, the exact intercepted URLs, font availability checks, and normal-versus-blocked dimensions; it establishes the concrete fallback impact.

▶ Recording of the check

  • Chromium recording of the normal `/utilities` then `/generators` route flow with the branch-hosted fonts available, establishing the intended branded rendering.

Normal Minecraft nametag rendering with remote fonts available

  • Poster frame from the normal Chromium recording after entering CreativeDragon in the Minecraft Nametag generator, showing the available-font condition.

▶ Recording of the check

  • Chromium recording of the same route flow with the exact raw GitHub font requests aborted, showing the unavailable-font condition and its rendered impact.

Minecraft nametag rendering after remote fonts are blocked

  • Poster frame from the blocked-request Chromium recording after entering CreativeDragon, showing the changed fallback-rendered condition.

View artifacts

T-Rex Ran code and verified through T-Rex

- Load Minecraft Seven font in exportAsPNG before html2canvas capture
- Pin font asset URLs to a commit hash to prevent future breakage
- Remove quotes from font-family declarations
@creatorcluster
creatorcluster merged commit 2173628 into creatorcluster:main Aug 8, 2026
2 of 4 checks passed
const [color, setColor] = useState("#9b87f5");
const [size, setSize] = useState("1920x1080");
const [spacing, setSpacing] = useState([10]);
const [spacing, setSpacing] = useState([0]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Default background tiles lose their separation

New backgrounds initialize at 0px spacing, replacing the prior 10px default. The generator passes this value directly into tile placement, so first-use previews and downloads are seamless rather than retaining the expected gap. Restore the 10px default unless edge-to-edge tiling is the intended product behavior.

Artifacts

▶ Pre-PR Background Generator recording

  • Chromium recorded the parent version generating the shared fixture with its displayed 10px default spacing, confirming the expected separated-tile baseline.

Pre-PR Background Generator poster frame

  • The parent-version poster frame shows the 10px spacing control and generated preview, confirming the original default separation.

Pre-PR browser capture output

  • The executed capture output records the parent URL, 10px spacing label, and generated preview count of one, confirming successful baseline behavior.

▶ Current Background Generator recording

  • Chromium recorded current code generating the same fixture with its displayed 0px default spacing, confirming the tile separation regression.

Current Background Generator poster frame

  • The current-version poster frame shows the 0px spacing control and generated preview, confirming the initial tile gap is removed.

Current browser capture output

  • The executed capture output records the current URL, 0px spacing label, and generated preview count of one, confirming the changed runtime default.

Executed browser comparison script source

  • The Playwright source uploads the shared fixture and captures spacing labels and generated previews for both revisions, confirming the comparison used the same interaction scope.

View artifacts

T-Rex Ran code and verified through T-Rex

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