Skip to content

Commit 9f2ca1e

Browse files
committed
home: swap from animated logo to SVG
Animated SVGs use a surprisingly huge amount of CPU in modern browsers.
1 parent 65e9a05 commit 9f2ca1e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="d-flex flex-wrap">
1010
<div class="col-lg-5 order-1 order-md-1">
1111
<img id="amorphous-blob" src="{{ '/assets/amorphous-blob.png' | relative_url}}">
12-
<object id="batfish-logo" type="image/svg+xml" data="{{ '/assets/animated-batfish.svg' | relative_url}}" class="mx-2">
12+
<object id="batfish-logo" type="image/svg+xml" data="{{ '/assets/batfish.svg' | relative_url}}" class="mx-2">
1313
<!-- TODO ADD FALLBACK FOR SVG-->
1414
</object>
1515
</div>

assets/batfish.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)