From 17987d145570e37c8463a58400952eec95a522cd Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:55:30 -0600 Subject: [PATCH] feat!: Remove layout JavaScript --- assets/scripts/scroll-effect.js | 5 ----- layouts/_default/baseof.html | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 assets/scripts/scroll-effect.js diff --git a/assets/scripts/scroll-effect.js b/assets/scripts/scroll-effect.js deleted file mode 100644 index 9a082dd..0000000 --- a/assets/scripts/scroll-effect.js +++ /dev/null @@ -1,5 +0,0 @@ -$(window).on("scroll", function (e) { - oVal = $(window).scrollTop() / 75; - $(".blurred-container .img-src").css("filter", "blur(" + oVal + "px)"); -}); -$("#motto").fitText(); diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6dfbc6c..43bab93 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -104,10 +104,8 @@ {{ $jquery := resources.Get "scripts/jquery/jquery.min.js" }} {{ $jqmaskjs := resources.Get "scripts/jquery-mask-plugin/jquery.mask.min.js" }} - {{ $fittextjs := resources.Get "scripts/fittext/jquery.fittext.js" | minify }} - {{ $scrolljs := resources.Get "scripts/scroll-effect.js" | minify }} {{ $maskjs := resources.Get "scripts/phone-masking.js" | minify }} - {{ $jquerybundle := slice $jquery $jqmaskjs $fittextjs $scrolljs $maskjs | resources.Concat "js/jquery-bundle.js" }} + {{ $jquerybundle := slice $jquery $jqmaskjs $maskjs | resources.Concat "js/jquery-bundle.js" }}