Skip to content

feat: implement Footer component #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 7, 2025
Merged

feat: implement Footer component #98

merged 2 commits into from
Jun 7, 2025

Conversation

nullcoder
Copy link
Owner

Summary

  • Implement Footer component with responsive layout and branding
  • Add footer to main application layout for consistent presence across all pages
  • Include navigation links and optional build version display

Changes

  • ✨ Create Footer component with:
    • Ghost icon and GhostPaste branding
    • Copyright notice with dynamic year
    • Navigation links (GitHub, Privacy, Terms)
    • Responsive layout (horizontal desktop, stacked mobile)
    • Optional build/version info display
  • 🎨 Add FooterWithBuildInfo variant that automatically reads from environment variables
  • 🔧 Integrate footer into main layout.tsx
  • ♿ Ensure proper semantic HTML with footer and nav elements
  • 🔗 External links (GitHub) open in new tab with security attributes
  • 🧪 Add comprehensive tests for all footer functionality
  • 📚 Create demo page showcasing footer variants

Test Plan

  • All unit tests pass
  • Footer renders correctly in main layout
  • Responsive layout works on mobile and desktop
  • Navigation links work correctly
  • Build info displays when environment variables are set
  • Theme compatibility (dark/light modes)
  • Accessibility features work properly

Closes #70

🤖 Generated with Claude Code

nullcoder and others added 2 commits June 7, 2025 09:33
- Add Footer component with branding and navigation links
- Include Ghost icon and copyright notice with dynamic year
- Implement responsive layout (horizontal desktop, stacked mobile)
- Add navigation links for GitHub, Privacy, and Terms
- Support optional build/version info display
- Create FooterWithBuildInfo variant that reads from env vars
- Add comprehensive tests and demo page
- Ensure proper semantic HTML and accessibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <claude@ghostpaste.dev>
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ghostpaste 8a82cc7 Visit preview Jun 07 2025, 04:37 PM

@nullcoder nullcoder merged commit 65b8554 into main Jun 7, 2025
1 check passed
@nullcoder nullcoder deleted the feat/footer branch June 7, 2025 16:40
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.

feat: create footer component
1 participant