forked from SkyCryptWebsite/SkyCrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.ejs
More file actions
30 lines (28 loc) · 809 Bytes
/
Copy pathfooter.ejs
File metadata and controls
30 lines (28 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script>
window.addEventListener('load', (event) => {
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js', {scope: '/'})
.then((reg) => {
// registration worked
console.log('Registration succeeded. Scope is ' + reg.scope);
}).catch((error) => {
// registration failed
console.log('Registration failed with ' + error);
});
}
});
</script>
<% if (extra.isFoolsDay) { %>
<style>
#player_model {
transform: scaleY(-1);
}
.profile-avatar {
transition: transform 0.2s ease-in-out;
}
:hover > .profile-avatar {
transform: rotate(180deg);
}
</style>
<% } %>