Browse Source

chore(package): bump lazysizes & fuse js

Josh Habdas 4 months ago
parent
commit
ff3c8b90a1
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
8 changed files with 34 additions and 28 deletions
  1. 1
    1
      README.md
  2. 1
    1
      docs/config.toml
  3. 2
    2
      docs/content/_index.md
  4. 15
    9
      docs/layouts/index.html
  5. 6
    6
      package-lock.json
  6. 6
    6
      package.json
  7. 1
    1
      static/js/fuse.min.js
  8. 2
    2
      static/js/lazysizes.min.js

+ 1
- 1
README.md View File

@@ -1,6 +1,6 @@
1 1
 # After Dark
2 2
 
3
-> After Dark is a hypermedia authoring toolkit built with Hugo designed to create the world's fastest, most scalable websites imaginable.
3
+> After Dark is a hypermedia authoring toolkit built on Hugo designed to create the world's fastest, most scalable websites.
4 4
 
5 5
 [![Latest NPM version](https://img.shields.io/npm/v/after-dark.svg?style=flat-square)](https://www.npmjs.com/package/after-dark)
6 6
 [![Monthly downloads](https://img.shields.io/npm/dm/after-dark.svg?style=flat-square)](https://www.npmjs.com/package/after-dark)

+ 1
- 1
docs/config.toml View File

@@ -18,7 +18,7 @@ sectionPagesMenu = "main" # Enable menu system for lazy bloggers
18 18
 footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link
19 19
 
20 20
 [params]
21
-  description = "After Dark is a hypermedia authoring toolkit built with Hugo designed to create the world's fastest, most scalable websites imaginable." # Suggested, controls default description meta
21
+  description = "After Dark is a hypermedia authoring toolkit built on Hugo designed to create the world's fastest, most scalable websites." # Suggested, controls default description meta
22 22
   author = "Josh Habdas" # Optional, controls author name display on posts
23 23
   hide_author = true # Optional, set true to hide author name on posts
24 24
   show_menu = true # Optional, set true to enable section menu

+ 2
- 2
docs/content/_index.md View File

@@ -1,6 +1,6 @@
1 1
 +++
2 2
 title = "After Dark"
3
-description = "After Dark is a hypermedia authoring toolkit built with Hugo designed to create the world's fastest, most scalable websites imaginable."
3
+description = "After Dark is a hypermedia authoring toolkit built on Hugo designed to create the world's fastest, most scalable websites."
4 4
 images = [
5 5
   "https://after-dark.habd.as/images/screenshots/example-landing-page-fs8.png"
6 6
 ]
@@ -17,7 +17,7 @@ images = [
17 17
 
18 18
 <section class="grid tagline">
19 19
   <div class="cell -12of12">
20
-    <p>After Dark is a hypermedia authoring toolkit built with Hugo designed to create the world's fastest, most scalable websites imaginable.</p>
20
+    <p>After Dark is a hypermedia authoring toolkit built on Hugo designed to create the world's fastest, most scalable websites.</p>
21 21
   </div>
22 22
 </section>
23 23
 

+ 15
- 9
docs/layouts/index.html View File

@@ -6,8 +6,8 @@
6 6
   <style>
7 7
     :root {
8 8
       --vertical-rhythm: 5rem;
9
-      --logo-animation-filter-start: drop-shadow(0px -25px 45px #ff2e88) brightness(1) drop-shadow(0px -55px 35px #ff2e88) brightness(1) drop-shadow(0px -35px 155px #ff9800) brightness(4);
10
-      --logo-animation-filter-end: drop-shadow(0px -20px 45px #ff2e88) brightness(.1) drop-shadow(0px 0px 5px #ff2e88) brightness(.7) drop-shadow(0px -20px 135px #ff2e88) brightness(2);
9
+      --logo-animation-filter-start: drop-shadow(0 -25px 45px #ff2e88) brightness(1) drop-shadow(0 -55px 35px #ff2e88) brightness(1) drop-shadow(0 -35px 155px #ff9800) brightness(4);
10
+      --logo-animation-filter-end: drop-shadow(0 -20px 45px #ff2e88) brightness(.1) drop-shadow(0 0 5px #ff2e88) brightness(.7) drop-shadow(0 -20px 135px #ff2e88) brightness(2);
11 11
     }
12 12
     main, footer, header {
13 13
       text-align: center;
@@ -54,21 +54,26 @@
54 54
     .hack header h1 sup {
55 55
       font-size: 1rem;
56 56
     }
57
-    .hack header h1 sup::before {
57
+    .hack header h1 sup:before {
58 58
       content: " ";
59 59
     }
60
-    .hack section:not(.capabilities) {
61
-      margin: var(--vertical-rhythm) 0;
60
+    .hack header h2:before,
61
+    .hack section h2:before {
62
+      content: ""
62 63
     }
64
+    .hack header h2,
63 65
     .hack section h2 {
64 66
       margin-top: .8rem;
65 67
       font-size: 1.2em;
66 68
     }
67
-    .hack section h2:before {
68
-      content: "";
69
+    .hack header h2 {
70
+      margin-top: -1rem;
71
+    }
72
+    .hack header h2 i {
73
+      border-bottom: 1px solid currentcolor;
69 74
     }
70
-    .hack section.logo {
71
-      margin-top: 3.5rem;
75
+    .hack section:not(.capabilities) {
76
+      margin: var(--vertical-rhythm) 0;
72 77
     }
73 78
     .hack section.hero {
74 79
       margin-top: -1rem;
@@ -124,6 +129,7 @@
124 129
 {{ define "main" }}
125 130
   <header>
126 131
     <h1>{{ .Title }}<sup class="muted">v{{ .Site.Data.npm.latest.version }}</sup></h1>
132
+    <h2 class="muted">The <i>fastest</i> way to the IndieWeb.</h2>
127 133
   </header>
128 134
   {{ .Content }}
129 135
 {{ end }}

+ 6
- 6
package-lock.json View File

@@ -594,9 +594,9 @@
594 594
       }
595 595
     },
596 596
     "fuse.js": {
597
-      "version": "3.2.1",
598
-      "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-3.2.1.tgz",
599
-      "integrity": "sha1-YyDLlM5W7JdVyJred1vNuwNY1CU=",
597
+      "version": "3.3.0",
598
+      "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-3.3.0.tgz",
599
+      "integrity": "sha512-ESBRkGLWMuVkapqYCcNO1uqMg5qbCKkgb+VS6wsy17Rix0/cMS9kSOZoYkjH8Ko//pgJ/EEGu0GTjk2mjX2LGQ==",
600 600
       "dev": true
601 601
     },
602 602
     "get-caller-file": {
@@ -928,9 +928,9 @@
928 928
       "dev": true
929 929
     },
930 930
     "lazysizes": {
931
-      "version": "4.1.2",
932
-      "resolved": "https://registry.npmjs.org/lazysizes/-/lazysizes-4.1.2.tgz",
933
-      "integrity": "sha512-8NPoH8YIvJtXgKw5eURLNYb+UrQ42pjDTi/s1qITv+c9+CYhAaPXQI5rWDqjMSHaa8ogUaLeQ+ry5k4s/B3uTA==",
931
+      "version": "4.1.4",
932
+      "resolved": "https://registry.npmjs.org/lazysizes/-/lazysizes-4.1.4.tgz",
933
+      "integrity": "sha512-jVplgeHHoQ6a2RZtxCAKFAnm6QPQmEIKq4JWSTI1XfCBhn+CqDgMKWDJO81f8VtVBdAlHs+BzP2WGzMLUi3oFg==",
934 934
       "dev": true
935 935
     },
936 936
     "lcid": {

+ 6
- 6
package.json View File

@@ -1,7 +1,7 @@
1 1
 {
2 2
   "name": "after-dark",
3 3
   "version": "6.13.3",
4
-  "description": "After Dark is a hypermedia authoring toolkit built with Hugo designed to create the world's fastest, most scalable websites imaginable.",
4
+  "description": "The fastest way to the IndieWeb.",
5 5
   "author": "Josh Habdas <jhabdas@protonmail.com>",
6 6
   "keywords": [
7 7
     "hugo",
@@ -36,15 +36,15 @@
36 36
   },
37 37
   "devDependencies": {
38 38
     "atom-one-chroma": "^2.0.0",
39
-    "fuse.js": "^3.2.1",
39
+    "fuse.js": "^3.3.0",
40 40
     "hack": "^0.8.1",
41
-    "lazysizes": "^4.0.4",
41
+    "lazysizes": "^4.1.4",
42
+    "lodash-cli": "^4.17.5",
42 43
     "mark.js": "^8.11.1",
43 44
     "smoothscroll-polyfill": "^0.4.3",
44
-    "vue": "^2.5.16",
45
-    "lodash-cli": "^4.17.5",
46 45
     "standard-version": "^4.4.0",
47
-    "toxic-swamp": "git+ssh://git@git.habd.as/comfusion/toxic-swamp.git#v0.1.0-alpha.0"
46
+    "toxic-swamp": "git+ssh://git@git.habd.as/comfusion/toxic-swamp.git#v0.1.0-alpha.0",
47
+    "vue": "^2.5.16"
48 48
   },
49 49
   "license": "WTFPL"
50 50
 }

+ 1
- 1
static/js/fuse.min.js View File

@@ -1,5 +1,5 @@
1 1
 /*!
2
- * Fuse.js v3.2.1 - Lightweight fuzzy-search (http://fusejs.io)
2
+ * Fuse.js v3.3.0 - Lightweight fuzzy-search (http://fusejs.io)
3 3
  * 
4 4
  * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me)
5 5
  * All Rights Reserved. Apache Software License 2.0

+ 2
- 2
static/js/lazysizes.min.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save