Browse Source

docs(landing): update cta links, link to author homepage

Josh Habdas 6 months ago
parent
commit
715e6b55ff
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
2 changed files with 19 additions and 13 deletions
  1. 15
    13
      docs/content/_index.md
  2. 4
    0
      docs/layouts/index.html

+ 15
- 13
docs/content/_index.md View File

@@ -8,10 +8,12 @@ images = [
8 8
 
9 9
 <section class="grid logo">
10 10
   <div class="cell -12of12">
11
-    <svg class="shaded animated" viewBox="0 0 46 45" width="92" height="90" xmlns="http://www.w3.org/2000/svg">
12
-      <title>After Dark</title>
13
-      <path d="M.708 45L23 .416 45.292 45H.708zM35 38L23 19 11 38h24z" fill="#000"/>
14
-    </svg>
11
+    {{< external rel="author" target="_self" href="https://habd.as" >}}
12
+      <svg class="shaded animated" viewBox="0 0 46 45" width="92" height="90" xmlns="http://www.w3.org/2000/svg">
13
+        <title>After Dark</title>
14
+        <path d="M.708 45L23 .416 45.292 45H.708zM35 38L23 19 11 38h24z" fill="#000"/>
15
+      </svg>
16
+    {{< /external >}}
15 17
   </div>
16 18
 </section>
17 19
 
@@ -159,11 +161,11 @@ images = [
159 161
 <footer>
160 162
   <section class="grid cta">
161 163
     <div class="cell -2of12">
162
-      {{< external rel="prefetch" target="_self" itemtype="significantLink" href="https://git.habd.as/comfusion/after-dark/activity" >}}
163
-        <svg id="activity" aria-labelledby="activity-label" class="i-activity" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
164
-          <path d="M4 16 L11 16 14 29 18 3 21 16 28 16" />
164
+      {{< external rel="prefetch" target="_self" itemtype="significantLink" href="https://t.co/afterdarkupdates" >}}
165
+        <svg id="updates" aria-lebelledby="updates-label" class="i-bell" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
166
+          <path d="M8 17 C8 12 9 6 16 6 23 6 24 12 24 17 24 22 27 25 27 25 L5 25 C5 25 8 22 8 17 Z M20 25 C20 25 20 29 16 29 12 29 12 25 12 25 M16 3 L16 6" />
165 167
         </svg>
166
-        <small role="tooltip" id="activity-label">Activity</small>
168
+        <small role="tooltip" id="updates-label">Updates</small>
167 169
       {{< /external >}}
168 170
     </div>
169 171
     <div class="cell -2of12">
@@ -175,11 +177,11 @@ images = [
175 177
       {{< /external >}}
176 178
     </div>
177 179
     <div class="cell -2of12">
178
-      {{< external rel="noopener" itemtype="significantLink" href="https://t.me/comfusion" >}}
179
-        <svg id="telegram" aria-labelledby="telegram-label" class="i-send" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
180
-          <path d="M2 16 L30 2 16 30 12 20 Z M30 2 L12 20" />
180
+      {{< external trusted="true" rel="noopener" itemtype="significantLink" href="irc://chat.freenode.net:6667/after-dark" >}}
181
+        <svg id="chat" aria-labelledby="chat-label" class="i-message" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
182
+          <path d="M2 4 L30 4 30 22 16 22 8 29 8 22 2 22 Z" />
181 183
         </svg>
182
-        <small role="tooltip" id="telegram-label">Telegram</small>
184
+        <small role="tooltip" id="chat-label">Chat</small>
183 185
       {{< /external >}}
184 186
     </div>
185 187
     <div class="cell -2of12">
@@ -195,7 +197,7 @@ images = [
195 197
   <section class="grid license">
196 198
     <div class="cell -12of12">
197 199
       {{< external rel="noopener license" href="https://choosealicense.com/licenses/wtfpl/" >}}
198
-        <img width="48" src="/images/wtfpl.svg" alt="WTFPL logo" title="After Dark is yours, gratis and without restriction under the WTFPL.">
200
+        <img width="48" src="/images/wtfpl.svg" alt="WTFPL logo" title="After Dark gives you agency over your code under the terms of the WTFPL.">
199 201
       {{< /external >}}
200 202
     </div>
201 203
   </section>

+ 4
- 0
docs/layouts/index.html View File

@@ -116,6 +116,10 @@
116 116
     .hack section:not(.capabilities) {
117 117
       margin: var(--vertical-rhythm) 0;
118 118
     }
119
+    .hack section.logo a {
120
+      border-bottom: none;
121
+      background-color: inherit;
122
+    }
119 123
     .hack section.hero {
120 124
       margin-top: -2rem;
121 125
       margin-bottom: 0;

Loading…
Cancel
Save