Ver Fonte

Add EduGames loop in homepage

Andrea Franceschini há 2 anos atrás
pai
commit
61f15771f6
2 ficheiros alterados com 7 adições e 1 exclusões
  1. 7 1
      pages/index.vue
  2. BIN
      public/images/gneg.mp4

+ 7 - 1
pages/index.vue

@@ -3,7 +3,13 @@
         <h3 class="sm:text-5xl text-3xl text-center -mt-6 sm:-mt-16">
             I do things.
         </h3>
-        <div class="sm:max-w-screen-md mx-auto sm:py-8 py-6">
+        <div class="grid sm:grid-cols-2 gap-6 mx-auto sm:py-8 py-6 col">
+            <div class="aspect-w-16 aspect-h-9">
+                <a href="https://edugames.andreafranceschini.org/"><video autoplay loop muted>
+                    <source src="images/gneg.mp4" type="video/mp4" />
+                    Your browser does not support the video tag.
+                </video></a>
+            </div>
             <div class="aspect-w-16 aspect-h-9">
                 <iframe ref="video" loading="lazy" data-src="https://www.youtube-nocookie.com/embed/AszBiqrvAaU" title="How to make your computer go BOOP" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
             </div>

BIN
public/images/gneg.mp4