Replace my old hosted FitText.js with my new hosted FitText.js
This commit is contained in:
parent
097d58f1bc
commit
15ac97e656
2 changed files with 11 additions and 6 deletions
5
assets/node/package-lock.json
generated
5
assets/node/package-lock.json
generated
|
@ -17,6 +17,11 @@
|
|||
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz",
|
||||
"integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q=="
|
||||
},
|
||||
"fittext.js": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/fittext.js/-/fittext.js-1.2.0.tgz",
|
||||
"integrity": "sha1-51PVJjI5I30o8wFeipaUVpu0PLY="
|
||||
},
|
||||
"jquery": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz",
|
||||
|
|
|
@ -223,13 +223,13 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{ $jqueryjs := resources.Get "node/node_modules/jquery/dist/jquery.js" }}
|
||||
{{ $popperjs := resources.Get "node/node_modules/@popperjs/core/dist/umd/popper.js" }}
|
||||
{{ $twbsjs := resources.Get "node/node_modules/bootstrap/dist/js/bootstrap.js" }}
|
||||
{{ $fajs := resources.Get "node/node_modules/@fortawesome/fontawesome-pro/js/all.js" }}
|
||||
{{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs | resources.Concat "js/bundle.js" | minify | fingerprint }}
|
||||
{{ $jqueryjs := resources.Get "node/node_modules/jquery/dist/jquery.js" }}
|
||||
{{ $popperjs := resources.Get "node/node_modules/@popperjs/core/dist/umd/popper.js" }}
|
||||
{{ $twbsjs := resources.Get "node/node_modules/bootstrap/dist/js/bootstrap.js" }}
|
||||
{{ $fajs := resources.Get "node/node_modules/@fortawesome/fontawesome-pro/js/all.js" }}
|
||||
{{ $fittextjs := resources.Get "node/node_modules/fittext.js/jquery.fittext.js" }}
|
||||
{{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs $fittextjs | resources.Concat "js/bundle.js" | minify | fingerprint }}
|
||||
<script src="{{ $alljs.Permalink }}"></script>
|
||||
<script src="https://millironx.com/js/jquery.fittext.js"></script>
|
||||
<script>
|
||||
$(window).scroll(function (e) {
|
||||
oVal = ($(window).scrollTop() / 170);
|
||||
|
|
Loading…
Reference in a new issue