Mercurial
view hg-web/src/components/footer.tsx @ 258:60a876c4587a
[ui] Add semantic primitive ownership
Build a layered Zenbu token and sizing system, make authored controls use native-underneath primitives, migrate mrjunejune without imposing visual surfaces, and document/enforce HTML ownership in the catalog and wiki.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Wed, 05 Aug 2026 05:25:40 -0700 |
| parents | 9f4429c49733 |
| children |
line wrap: on
line source
import React from 'react'; interface FooterProps { showCloneUrl?: boolean; cloneUrl?: string; } function Footer({ showCloneUrl = false, cloneUrl = "hg clone http://zenbu.babocoder.com/repo", }: FooterProps) { const currentYear = new Date().getFullYear(); return ( <footer className="footer"> {showCloneUrl && ( <div className="clone-box"> <div className="clone-box-inner"> <span className="clone-label">Clone HTTPS</span> <code className="clone-url">{cloneUrl}</code> </div> </div> )} <div className="footer-content"> <span className="footer-text">© 2026 June Park</span> </div> </footer> ); } export { Footer };