Skip to content

fix(ui): link MIT license text in footer to LICENSE file - #22

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
algojogacor:fix/license-footer-link-21
May 16, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
algojogacor:fix/license-footer-link-21

Conversation

@algojogacor

Copy link
Copy Markdown
Contributor

Summary

The marketing footer displays "Open source under MIT license" as plain text. This PR wraps "MIT license" in a link to the canonical LICENSE file on GitHub so visitors can read the full license terms.

Closes #21

Root Cause

web/src/components/marketing/marketing-footer.tsx line 8 renders the MIT license mention as static text within a <p> tag, with no link to the actual license.

Solution

Wrapped "MIT license" in an <a> tag pointing to https://github.com/aeohub/ansvisor/blob/main/LICENSE, following the same link pattern used for Terms, Privacy, and GitHub in the same component (target="_blank", rel="noopener noreferrer", className="underline hover:text-foreground transition-colors").

Changes

  • web/src/components/marketing/marketing-footer.tsx — 1 file, +6 -1 lines

Testing

  • ✅ LICENSE file confirmed to exist in repository root
  • ✅ Link pattern matches existing footer links (Terms, Privacy, GitHub)
  • ✅ No imports changed — uses plain <a> tag consistent with existing code
  • ✅ Same target="_blank" and rel="noopener noreferrer" attributes as adjacent links

@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

@algojogacor is attempting to deploy a commit to the gkhngyk's projects Team on Vercel.

A member of the Team first needs to authorize it.

@gkhngyk

gkhngyk commented May 16, 2026

Copy link
Copy Markdown
Contributor

Two for two — thanks for picking this up so quickly! Merging shortly.

Nice call adding underline on top of the matching hover style. The other footer links sit in a row of their own, so they don't need an underline to read as clickable, but an inline link in the middle of a sentence absolutely does. Small details like that are easy to miss; you caught it cleanly.

Looking forward to your next one — the good first issue label still has a few open if you want to keep going.

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.

chore(ui): link the "MIT license" mention in marketing footer to LICENSE file

2 participants