mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
feat: zh_CN append OneKey footer as shadow dom
This commit is contained in:
@@ -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://portal-git-feat-page-footer-for-ex-a3e45d-yggdrasilqhs-projects.vercel.app/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>
|
||||
|
||||
Reference in New Issue
Block a user