search

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ac03327ecbb5ab1500fdfd231fcb0925b637f0a2
parent eea743e8d5641aeb710ee63ffa3c45fab700da79
Author: Theo Browne <me@t3.gg>
Date:   Fri, 14 Feb 2025 22:26:53 -0800

Add footer

Diffstat:
Msrc/global.css | 21+++++++++++++++++++++
Msrc/main.ts | 3+++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/global.css b/src/global.css @@ -117,3 +117,24 @@ textarea { .copy-button.copied { background: #28a745; } + +/* Add footer styles */ +.footer { + position: fixed; + bottom: 16px; + left: 0; + right: 0; + text-align: center; + font-size: 14px; + color: #666; +} + +.footer a { + color: #666; + text-decoration: none; + font-weight: 500; +} + +.footer a:hover { + color: #333; +} diff --git a/src/main.ts b/src/main.ts @@ -22,6 +22,9 @@ function noSearchDefaultPageRender() { </button> </div> </div> + <footer class="footer"> + created by <a href="https://x.com/theo" target="_blank">theo</a> + </footer> </div> `;