Skip to content

Commit

Permalink
added small diagram and lazy loading to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek128b committed Apr 7, 2024
1 parent a807d2c commit 2c8d5e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ <h2>Short Description</h2>
high-performance battery management systems across various applications, including electric
vehicles, renewable energy storage systems, and portable electronics.
</p>
<img src="documents\img\BQ76942-diagram.drawio.svg" alt="simplified block diagram image">
<img alt="simplified block diagram image" class="lazy" src="documents\img\BQ76942-diagram-drawio.png"
data-src="documents\img\BQ76942-diagram.drawio.svg">
<div class="line"></div>
</div>
</section>
Expand All @@ -82,6 +83,8 @@ <h2>Voltage Switcher </h2>
</section>
</main>
</body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="script.js"></script>

</html>
Binary file added documents/img/BQ76942-diagram-drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documents/img/BQ76942-diagram.drawioBig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,6 @@ header {
margin-top: 2vh;
width: 50%;
}

/*create blurry image small:
ffmpeg -i input.jpg -vf scale=20:-1 output.png*/

0 comments on commit 2c8d5e7

Please sign in to comment.