Merge pull request #4 from Yggdrasilqh/feat-onekey-footer

feat: OneKey footer
This commit is contained in:
Leon
2024-10-31 10:47:30 +08:00
committed by GitHub
2 changed files with 27 additions and 0 deletions

View File

@@ -1417,11 +1417,24 @@
</div>
</div>
</div>
</div>
<div class="feedback-container">
<div class="fixed max-w-full px-4 py-2 text-white -translate-x-1/2 bg-gray-800 rounded-md shadow-lg feedback left-1/2 bottom-4">加载中...</div>
</div>
<div id="onekey-portal-footer">
</div>
<script>
fetch('https://onekey.so/zh_CN/internal/footer/')
.then(response => response.text())
.then(data => {
document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data;
})
.catch(console.error);
</script>
<script type="text/template" id="address-row-template">
<tr>
<td class="index"><span></span></td>

View File

@@ -1470,6 +1470,20 @@
<div class="feedback-container">
<div class="fixed max-w-full px-4 py-2 text-white -translate-x-1/2 bg-gray-800 rounded-md shadow-lg feedback left-1/2 bottom-4">Loading...</div>
</div>
</div>
<div id="onekey-portal-footer">
</div>
<script>
fetch('https://onekey.so/internal/footer/')
.then(response => response.text())
.then(data => {
document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data;
})
.catch(console.error);
</script>
<script type="text/template" id="address-row-template">
<tr>