From d1d785b41e35339da78c0950a5bfde1641412d81 Mon Sep 17 00:00:00 2001 From: Ember Date: Fri, 17 Dec 2021 22:19:50 -0500 Subject: [PATCH] Add the ember animation --- .gitattributes | 1 + _layouts/landing.liquid | 5 +++++ static/glow.wasm | 3 +++ static/landing-style.css | 14 ++++++++------ 4 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 static/glow.wasm diff --git a/.gitattributes b/.gitattributes index d8ac6f5..7d125f5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,3 +2,4 @@ *.otf filter=lfs diff=lfs merge=lfs -text *.woff filter=lfs diff=lfs merge=lfs -text *.woff2 filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text diff --git a/_layouts/landing.liquid b/_layouts/landing.liquid index d2d0878..dae9297 100644 --- a/_layouts/landing.liquid +++ b/_layouts/landing.liquid @@ -17,6 +17,11 @@ +
+ + + +

Welcome to

{{ site.title }}

diff --git a/static/glow.wasm b/static/glow.wasm new file mode 100644 index 0000000..7c7837d --- /dev/null +++ b/static/glow.wasm @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15bc7e90ddc2f4bfce0d031e0329cedfccd827bac86d004cda1df935995403e8 +size 314159 diff --git a/static/landing-style.css b/static/landing-style.css index e885f72..6171979 100644 --- a/static/landing-style.css +++ b/static/landing-style.css @@ -32,18 +32,24 @@ header { height: 70vh; display: grid; align-content: center; - background-color: #280C3F; } header p { margin: 0 20px; } +canvas { + position: absolute; + top: 0; + left: 0; + width: 100vw; + height: calc(100vh + 200px); + z-index: -1; +} /* Styles for the cards */ #cards { display: grid; grid-template-columns: repeat(3, max(20vw, 350px)); justify-content: space-evenly; - background-color: #280C3F; padding: 40px 0; } .card { @@ -180,10 +186,6 @@ h1, a { h2 { color: #F10385; } -main > section { - counter-increment: section-number; - background-color: rgba(40, 12, 63, calc(1 - var(--section-number) / var(--section-count, 5))); -} svg { fill: currentColor;