fix hero
This commit is contained in:
@@ -26,15 +26,9 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -87,8 +81,6 @@
|
||||
<script src="/js/bootstrap.js" defer></script>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript" src="http://localhost:1313/js/image-compare.js" ></script>
|
||||
</head><body>
|
||||
<div>
|
||||
<header id="topnav">
|
||||
@@ -187,16 +179,6 @@
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
const viewers = document.querySelectorAll(".image-compare");
|
||||
let configs = [
|
||||
{"addCircle":true,"addCircleBlur":false,"labelOptions":{"after":"Light","before":"Dark","onHover":false},"showLabels":true,"startingPoint":50},{"addCircle":true,"addCircleBlur":false,"controlColor":"#3C4257","labelOptions":{"after":"Life Saver","before":"Inter","onHover":false},"showLabels":true,"startingPoint":25},{"addCircle":true,"addCircleBlur":true,"labelOptions":{"after":"Cardinal","before":"Blue","onHover":false},"showLabels":true,"startingPoint":25}
|
||||
];
|
||||
viewers.forEach((element, i) => {
|
||||
let view = new ImageCompare(element, configs[i]).mount();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user