fix: use internal footer resources

This commit is contained in:
yggdrasil
2024-10-31 16:00:38 +08:00
parent 1cec39e9fb
commit 315a1ff7e6
4 changed files with 2900 additions and 2 deletions
+1449
View File
File diff suppressed because it is too large Load Diff
+1449
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1427,7 +1427,7 @@
</div> </div>
<script> <script>
fetch('https://onekey.so/zh_CN/internal/footer/') fetch('/footer/zh.html')
.then(response => response.text()) .then(response => response.text())
.then(data => { .then(data => {
document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data; document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data;
+1 -1
View File
@@ -1477,7 +1477,7 @@
</div> </div>
<script> <script>
fetch('https://onekey.so/internal/footer/') fetch('/footer/en.html')
.then(response => response.text()) .then(response => response.text())
.then(data => { .then(data => {
document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data; document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data;