Fix/google search console#74
Merged
Merged
Conversation
index.html has referenced https://eventradar.dev/banner.png as og:image/twitter:image since before this repo's earliest commit, but the file was never actually in frontend/public/ — it 404s. Any social share of the bare homepage URL (including the LinkedIn post just published) rendered with no preview image. Added a real 1200x630 banner (homepage hero, captured from the live site) plus explicit og:image:width/height and og:type so crawlers don't have to guess. Also updated the meta description's "7 kaynaktan" to "10 kaynaktan" — stale since more sources were added after that copy was written.
…Console - Reserve realistic space for the async event list (60vh loading spinner) instead of a 300px block, the main driver of the 0.5-0.65 CLS score - Correct the header logo's width/height attributes to its real aspect ratio and ship a properly downscaled asset (19KB -> 3.2KB) - Load Bootstrap/FontAwesome/Google Fonts CSS via preload+swap instead of blocking <link rel=stylesheet>, which PSI showed as ~2.5s of mobile LCP - Raise --text-muted contrast against the dark theme background to meet WCAG AA, and fix a heading level skip (h3 -> h5) in EventListing - Redirect the orphaned /events URL (301 -> /) at both the container nginx and the documented server nginx template, instead of soft-404ing through the SPA fallback - Document www/http -> apex/https 301 redirects needed at the server's reverse-proxy layer to resolve GSC's "duplicate without user-selected canonical" report for www.eventradar.dev File a follow-up issue for oversized third-party event thumbnail images (.scratch/perf-third-party-images) since it needs a proxy/resize design, not a markup fix. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…fix/google-search-console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes issues reported in Google Search Console for eventradar.dev, in two batches:
Structured data (Event rich results)
location(falls back toVirtualLocationfor online events) — was the reported error, missing entirely whenevent.locationwas emptyorganizer.url(derived from the event's own source URL) andoffers(site is free, soprice: 0)Performance / Core Web Vitals (PageSpeed Insights via GSC)
EventListingand an unsized header logo were the two measured causes; both fixed--text-mutedcontrast was ~4:1 against WCAG AA's 4.5:1; bumped. Also fixed a skipped heading level (h3 → h5)Indexing / canonicalization
/eventswas an orphaned pre-restructure URL returning a soft-404 through the SPA fallback; now 301s to/at the nginx levelscripts/nginx_optimization.conf) the www→apex and http→https 301 redirects needed at the server's reverse-proxy layer to resolve GSC's "duplicate without user-selected canonical" report — that layer isn't tracked in this repo, see PR comment / follow-up for what to apply on the serverFiled
.scratch/perf-third-party-images/as a follow-up for the ~7-10MB of unoptimized third-party event thumbnails PSI flagged — needs a proxy/resize design, out of scope here.Test plan
npm run buildsucceedsnpx eslintclean on changed JS/JSX files🤖 Generated with Claude Code