Skip to content

Add header compose shortcut to GitHub New Issue#35

Draft
Copilot wants to merge 1 commit into
mainfrom
copilot/add-writing-icon-button
Draft

Add header compose shortcut to GitHub New Issue#35
Copilot wants to merge 1 commit into
mainfrom
copilot/add-writing-icon-button

Conversation

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This adds a direct “write post” affordance on the homepage header so creating a new post is one click from the main nav. The new control sits beside the existing GitHub link and routes to the repository’s New Issue page.

  • Navigation update

    • Added a dedicated icon link in the header nav (blog/templates/base.html) immediately after the GitHub link.
    • Target URL: {{ repo_url }}/issues/new.
    • Included accessible labeling (aria-label, title) for screen reader and tooltip clarity.
  • UI styling

    • Added a focused nav-icon style (.site-nav__icon-link) in blog/static/style.css.
    • Styled as a compact circular control with inherited color and hover border contrast to match existing header behavior.
<a
  href="{{ repo_url }}/issues/new"
  target="_blank"
  rel="noopener noreferrer"
  class="site-nav__icon-link"
  title="Write a new post"
  aria-label="Write a new post"
>
  <svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"></svg>
</a>

Copilot AI changed the title Add header shortcut to open a new blog post issue Add header compose shortcut to GitHub New Issue Jun 7, 2026
Copilot AI requested a review from HanClinto June 7, 2026 05:15
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.

2 participants