diff options
author | 2022-01-31 17:36:25 -0600 | |
---|---|---|
committer | 2022-01-31 17:36:25 -0600 | |
commit | 7af5abb55c244e4b039aa76b690c890b24e651e4 (patch) | |
tree | 9b500bbc7fceae5322c53b05feeb420ed2ade0f4 | |
parent | f3b35023fdf02e23936ba10040fe5b0b80beaefe (diff) | |
download | astro-7af5abb55c244e4b039aa76b690c890b24e651e4.tar.gz astro-7af5abb55c244e4b039aa76b690c890b24e651e4.tar.zst astro-7af5abb55c244e4b039aa76b690c890b24e651e4.zip |
Remove SVG animation on GitHub/NPM (#2512)
* perf: remove SVG animation
* update readme
* Revert "update readme"
This reverts commit 71abb6629d51d08ec7a50890ecf44140f6bc6b35.
-rw-r--r-- | assets/social/banner.svg | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/assets/social/banner.svg b/assets/social/banner.svg index f5194f928..5e4b2a4b0 100644 --- a/assets/social/banner.svg +++ b/assets/social/banner.svg @@ -1,25 +1,4 @@ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 1012 506"> - <style> - .bg { - transform-origin: center center; - } - #banner { - animation: marquee 30s linear infinite; - } - @media (prefers-reduced-motion: reduce) { - #banner { - animation-play-state: paused; - } - } - @keyframes marquee { - 0% { - transform: translateX(66px); - } - 100% { - transform: translateX(-130px); - } - } - </style> <path fill="#F1BCBE" d="M0 0h1012v506H0z"/> <g id="bgs" clip-path="url(#a)"> |