Skip to content

Search Console verification back; lighter fonts and less JS - #12

Merged
hyanmandian merged 3 commits into
mainfrom
hyan/gsc-and-lighthouse
Oct 11, 2026
Merged

hyanmandian merged 3 commits into
mainfrom
hyan/gsc-and-lighthouse

Conversation

@hyanmandian

Copy link
Copy Markdown
Member
  • Search Console: the google-site-verification meta tag lived in the old docsify index.html (with a comment saying removing it drops the verification) and left with it. Back in every page's <head> via rootMetadata.
  • Home JS: home.tsx imported guideExamples from components/pages/guide.tsx, which pulled the documentation layout's client components (notebook layout, sidebar, TOC, Radix scroll-area) into the home bundle (~22 KB br). The helpers move to lib/guides.ts; DocsHeader gets its own file.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu

…me page

- The google-site-verification tag lived in the docsify index.html and left with it, which dropped
  the Search Console property. It is back in every page's head.
- The home page imported guideExamples from the guide page's module, and with it the
  documentation layout's client components (sidebar, table of contents, scroll area): the guide
  data helpers move to lib/guides.ts. The documentation's header gets its own file too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu
@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Preview: https://pr-12.brazilian-utils-docs.pages.dev (3802eea)

hyanmandian and others added 2 commits October 11, 2026 00:02
…t paint

- Geist cut to the weights the site sets (400 to 700) and the default OpenType features plus
  tabular figures: sans 33 → 21 KB, mono 35 → 16 KB. scripts/subset-fonts.sh makes them.
- The header logo is no longer preloaded at high priority: it is not the largest paint, and it
  took bandwidth from the font that is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu
…n the browser

- LangIcon imported the logos' outlines from simple-icons for LangIconDefs, so a client component
  showing an icon (the cases table) shipped them: the outlines move to lang-icon-defs.tsx (server
  only) and the colors to lib/lang-colors.ts, which the build checks against the package.
- The header logo is a plain <img> and the language redirect a plain inline <script>: with
  images.unoptimized, next/image and next/script only added their client code to every page.
- The provider is fumadocs-ui/provider/next without its next/image (FrameworkProvider + the base
  RootProvider): Fumadocs falls back to <img>.
- lib/guides.ts → lib/guide-data.ts, apart from the existing lib/guides.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu
@hyanmandian hyanmandian changed the title Search Console verification back; less JS on the home page Search Console verification back; lighter fonts and less JS Oct 11, 2026
@hyanmandian
hyanmandian merged commit c668aad into main Oct 11, 2026
2 checks passed
@hyanmandian
hyanmandian deleted the hyan/gsc-and-lighthouse branch October 11, 2026 03:43
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