Skip to content

Site polish: footer, copy button, OG image, 404, example metadata#12

Merged
raj-khan merged 2 commits into
mainfrom
feat/site-polish
May 22, 2026
Merged

Site polish: footer, copy button, OG image, 404, example metadata#12
raj-khan merged 2 commits into
mainfrom
feat/site-polish

Conversation

@raj-khan

Copy link
Copy Markdown
Contributor

Summary

  • Footer — replaced all href="#" dead links with real GitHub URLs (SECURITY.md, LICENSE, CONTRIBUTING.md); fixed "Docs" link to /docs; updated brand tagline to OSS messaging
  • CodeBlock copy button — wired navigator.clipboard.writeText with 1.8s "copied!" feedback state
  • OG image — updated headline, description, and footer tags to match OSS/open-source positioning
  • Custom 404not-found.tsx with branded design (Nav, serif headline, 3 CTA buttons, Footer)
  • Example page metadata — added layout.tsx in /example to carry title + description (page itself stays 'use client')

Test plan

  • Visit / — footer links resolve (no href="#" dead ends); "Docs" goes to /docs
  • Developers section — copy button shows "copied!" briefly then reverts
  • /404-nonexistent-path — branded 404 renders with all three CTA buttons
  • Browser tab on /example shows "Live example · LearnKit AI"
  • OG image at /opengraph-image renders updated headline
  • pnpm --filter @learnkit-ai/web typecheck passes

@raj-khan
raj-khan merged commit 64b368b into main May 22, 2026
3 checks passed
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