Skip to content

Commit fef03ae

Browse files
committed
feat: add trust links to footer for AI visibility
1 parent b6ba04b commit fef03ae

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

src/components/Footer.astro

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,34 @@
22
import ThemeSwitch from './ThemeSwitch.astro';
33
---
44

5+
<footer class="site-footer">
6+
<nav class="footer-links">
7+
<a href="https://tw93.fun/about.html">About</a>
8+
<a href="https://github.com/tw93">GitHub</a>
9+
<a href="https://twitter.com/HiTw93">Twitter</a>
10+
<a href="https://tw93.fun">Blog</a>
11+
</nav>
12+
</footer>
513
<ThemeSwitch />
14+
15+
<style>
16+
.site-footer {
17+
max-width: 860px;
18+
margin: 48px auto 0;
19+
padding: 16px 24px;
20+
border-top: 1px solid var(--border, #eee);
21+
}
22+
.footer-links {
23+
display: flex;
24+
gap: 20px;
25+
font-size: 0.85rem;
26+
flex-wrap: wrap;
27+
}
28+
.footer-links a {
29+
color: var(--secondary, #666);
30+
text-decoration: none;
31+
}
32+
.footer-links a:hover {
33+
color: var(--primary, #333);
34+
}
35+
</style>

0 commit comments

Comments
 (0)