Skip to content

Add feedback button in the footer #6

@anurag629

Description

@anurag629

Description

Add a feedback link in the footer so users can easily share feedback about the tool.

Current footer structure

The footer (src/components/Footer.astro) has 3 columns:

  1. Brand — logo, tagline, "A tool by CODERCOPS"
  2. Product — nav links: Create, Preview, Templates, API Docs, GitHub
  3. Stats — visitor counts, MIT License badge, copyright

Requirements

  • Add a "Feedback" link in the Product nav column (footer-nav)
  • Style consistently with the existing footer links (plain <a> tags)
  • Link should open a new GitHub issue pre-filled for feedback

Approach

Use a direct GitHub issue creation link:

https://github.com/codercops/ogcops/issues/new?labels=feedback&title=Feedback:&body=<!-- Describe your feedback here -->

This requires no extra setup — users submit feedback as GitHub issues with the feedback label.

Implementation

  1. Open src/components/Footer.astro
  2. Add the following inside <nav class="footer-nav">, after the GitHub link:
    <a href="https://github.com/codercops/ogcops/issues/new?labels=feedback&title=Feedback:&body=<!-- Describe your feedback here -->" target="_blank" rel="noopener">Feedback</a>

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfeatureNew feature requestuiUser interface and design

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions