From 8e08e3f21119fddc39749bd4bebc3c2ecb3baf08 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:38:31 +0800 Subject: [PATCH] Add scroll to top button --- _site/about/index.html | 5 ++ _site/assets/css/main.css | 70 +++++++++++++++++----------- _site/assets/images/elements/top.svg | 9 ++++ _site/assets/images/top.svg | 9 ++++ _site/assets/js/scroll.js | 17 +++++++ _site/home/index.html | 5 ++ src/_includes/layouts/main.njk | 5 ++ src/assets/css/main.css | 70 +++++++++++++++++----------- src/assets/images/elements/top.svg | 9 ++++ src/assets/js/scroll.js | 17 +++++++ 10 files changed, 164 insertions(+), 52 deletions(-) create mode 100644 _site/assets/images/elements/top.svg create mode 100644 _site/assets/images/top.svg create mode 100644 _site/assets/js/scroll.js create mode 100644 src/assets/images/elements/top.svg create mode 100644 src/assets/js/scroll.js diff --git a/_site/about/index.html b/_site/about/index.html index 16415142..caa469ba 100644 --- a/_site/about/index.html +++ b/_site/about/index.html @@ -35,11 +35,16 @@ + About | Leilukin's Hub + +