]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - index.html
Adding missing assets to the service worker cache
[github/bastienwirtz/homer.git] / index.html
index 235afdeb4ec2954a21dc3aaaab708c24ff169474..8f54b422f52ac5599671ad9721959594275c85d3 100644 (file)
@@ -7,15 +7,13 @@
   <meta name="robots" content="noindex">
   <link rel="icon" type="image/png" href="assets/favicon.png">
   <title>Homer</title>
-  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
-    integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
-  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css">
-  <link href="https://fonts.googleapis.com/css?family=Lato|Raleway" rel="stylesheet">
+  <link defer rel="stylesheet" href="vendors/font-awesone.min.css">
+  <link defer rel="stylesheet" href="vendors/bulma.min.css">
   <link rel="stylesheet" href="app.css">
 </head>
 
 <body>
-  <div id="app" v-if="config">
+  <div id="app" v-if="config" :class="[isDark ? 'is-dark' : 'is-light']">
     <div id="bighead">
       <section class="first-line">
         <div v-cloak class="container">
                 </a>
               </div>
               <div class="end">
-                <a v-on:click="vlayout = !vlayout" class="icon-button navbar-item"><i
+                  <a
+                    v-on:click="toggleTheme()"
+                    aria-label="Toggle dark mode"
+                    ><i class="fas fa-adjust"></i>
+                </a>
+                <a v-on:click="toggleLayout()" class="icon-button navbar-item"><i
                     :class="['fas', vlayout ? 'fa-list' : 'fa-columns']"></i></a>
                 <div class="search-bar">
                   <label for="search" class="search-label"></label>
         </div>
       </div>
     </section>
+    <footer class="footer">
+        <div class="container">
+          <div class="content has-text-centered">
+            <p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a
+                href="https://vuejs.org/">vuejs</a>
+              & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i
+                  class="fab fa-github-alt"></i></a></p>
+          </div>
+        </div>
+      </footer>
   </div>
 
-  <footer class="footer">
-    <div class="container">
-      <div class="content has-text-centered">
-        <p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a
-            href="https://vuejs.org/">vuejs</a>
-          & <a href="#">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i
-              class="fab fa-github-alt"></i></a></p>
-      </div>
-    </div>
-  </footer>
-
-  <script src="https://cdn.jsdelivr.net/npm/vue@2.6.2/dist/vue.min.js"></script>
+  <script src="vendors/vue.min.js"></script>
   <script src="vendors/js-yaml.min.js"></script>
   <script src="app.js"></script>
 </body>