Explorar o código

Add EduGames loop in homepage

Andrea Franceschini %!s(int64=2) %!d(string=hai) anos
pai
achega
61f15771f6
Modificáronse 2 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      pages/index.vue
  2. BIN=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=BIN
public/images/gneg.mp4