Difference between revisions of "Template:XJTU-China/header"

Line 2: Line 2:
 
<section class="d-flex flex-column">
 
<section class="d-flex flex-column">
 
     <header class="header_area" id="topHeader">
 
     <header class="header_area" id="topHeader">
        <a class="navbar-brand logo" href="/Team:XJTU-China">
+
            <embed class="logo" src="https://static.igem.org/mediawiki/2021/4/43/T--XJTU-China--logo-svg.svg" type="image/svg+xml"/>
            <embed src="https://static.igem.org/mediawiki/2021/4/43/T--XJTU-China--logo-svg.svg" type="image/svg+xml"/>
+
        </a>
+
 
         <nav class="navbar navbar-expand-lg navbar-light">
 
         <nav class="navbar navbar-expand-lg navbar-light">
 
             <div class="container">
 
             <div class="container">
Line 86: Line 84:
 
         logo.classList.toggle('sticky', window.scrollY > height);
 
         logo.classList.toggle('sticky', window.scrollY > height);
 
     })
 
     })
</script>
 
<!--moving logo-->
 
<script>
 
    var logoMoving = $('.logoMoving');
 
    var animData = {
 
        container: logoMoving[0], // the dom element that will contain the animation
 
        renderer: 'svg',
 
        loop: true,
 
        autoplay: true,
 
        path: 'https://static.igem.org/mediawiki/2021/c/c5/T--XJTU-China--logoMoving.txt' // the path to the animation json
 
    }
 
    var animation = lottie.loadAnimation(animData);
 
 
</script>
 
</script>
  
 
</html>
 
</html>

Revision as of 15:25, 8 July 2021