From faf41ad95228840aa4f441860927a1c4ad790323 Mon Sep 17 00:00:00 2001 From: shay Date: Sat, 22 Aug 2026 16:10:44 -0700 Subject: [PATCH] feat(frontend): show the product, keep work across sign-in, add social preview Of 27 people who typed a username in the last 14 days, 15 left before a widget rendered. The landing page showed zero pixels of a product whose entire value is visual, so it now leads with a live example card and says concretely what you get. Sign-in used to discard everything: with no router the OAuth `next` is always "/", so users came back to an empty search box with their theme, widget order and achievements gone. Persist work-in-progress to sessionStorage and restore it on mount. The Workshop preview seeds from demo data (grade A, 842 commits, collaborators named alex/jordan/sam) with nothing saying so, so users saw numbers they knew were wrong. Label it until real data arrives. Add title, description, canonical, OG and Twitter tags, robots.txt and a sitemap. The page was a 445-byte shell titled "GitHub Widgets", so every link shared anywhere rendered with no image and no description. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS --- generator/frontend/index.html | 20 ++++- generator/frontend/public/og.png | Bin 0 -> 107802 bytes generator/frontend/public/robots.txt | 3 + generator/frontend/public/sitemap.xml | 8 ++ generator/frontend/src/App.tsx | 57 ++++++++++-- .../frontend/src/screens/SearchScreen.tsx | 85 ++++++++++++------ .../frontend/src/screens/WorkshopScreen.tsx | 8 ++ 7 files changed, 149 insertions(+), 32 deletions(-) create mode 100644 generator/frontend/public/og.png create mode 100644 generator/frontend/public/robots.txt create mode 100644 generator/frontend/public/sitemap.xml diff --git a/generator/frontend/index.html b/generator/frontend/index.html index 6ffc893..2ff196a 100644 --- a/generator/frontend/index.html +++ b/generator/frontend/index.html @@ -4,7 +4,25 @@ - GitHub Widgets + gh-stats - one stats card for your GitHub profile README + + + + + + + + + + + + + + +