Skip to content

Commit

Permalink
🎨 攒劲的新logo
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Dec 19, 2024
1 parent 8c43a95 commit 00bc20f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/main/resources/skins/mobile/header.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,26 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<script src="${staticServePath}/js/lib/lottie.min.js"></script>
<script src="${staticServePath}/js/lib/logo.js"></script>
<div class="nav">
<div class="wrapper">
<div class="head-fn fn-left">
<h1>
<a href="${servePath}" aria-label="${symphonyLabel}">
<svg><use xlink:href="#logo-white"></use></svg>
<div style="width: 35px; height: auto" id="logo-animate"></div>
<script>
var params = {
container: document.getElementById('logo-animate'),
renderer: 'svg',
loop: false,
autoplay: true,
animationData: logoData
};
var anim;
anim = lottie.loadAnimation(params);
</script>
</a>
</h1>
</div>
Expand Down

0 comments on commit 00bc20f

Please sign in to comment.