feat: Add sponsor page and update navigation links for sponsorship

This commit is contained in:
zhangyuheng
2026-02-27 10:28:25 +08:00
parent e3f2daa686
commit b885cdc6e2
5 changed files with 283 additions and 60 deletions

View File

@@ -93,6 +93,7 @@
<a href="https://mcphoto.lunadeer.cn/">相册</a>
<a href="https://qm.qq.com/q/9izlHDoef6">群聊</a>
<a href="/stats.html">数据</a>
<a href="/sponsor.html">赞助</a>
</div>
<div class="nav-cta-container">
<a href="https://outline.lunadeer.cn/s/447e5db6-8af4-468e-b7c5-cdb7b48aa439/doc/5yqg5ywl5pyn5yqh5zmo-WE4jkTxRmM" class="nav-cta">加入游戏</a>
@@ -108,6 +109,7 @@
<a href="https://mcphoto.lunadeer.cn/">相册</a>
<a href="https://qm.qq.com/q/9izlHDoef6">群聊</a>
<a href="/stats.html">数据</a>
<a href="/sponsor.html">赞助</a>
</div>
</div>
@@ -243,7 +245,7 @@
<!-- Top 3 sponsors will be injected here by JS -->
</div>
<div class="sponsors-action">
<button id="view-sponsors-btn" class="view-sponsors-btn">查看赞助列表</button>
<a href="/sponsor.html" class="view-sponsors-btn">查看赞助列表</a>
</div>
</div>
</section>
@@ -258,29 +260,6 @@
</div>
</section>
<!-- Sponsors Modal -->
<div id="sponsors-modal" class="modal">
<div class="modal-content">
<span class="close-modal">&times;</span>
<h2>赞助列表</h2>
<div class="sponsors-list-container">
<table id="sponsors-table">
<thead>
<tr>
<th>用户</th>
<th>项目</th>
<th>金额</th>
<th>日期</th>
</tr>
</thead>
<tbody>
<!-- Full list will be injected here -->
</tbody>
</table>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="footer-content">