Skip to content

Commit 3a56bad

Browse files
authored
Merge pull request #906 from epfml/NAN-gif-julien
Convert homepage webm animations to gif
2 parents 264a521 + 251d90f commit 3a56bad

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

webapp/src/components/pages/HomePage.vue

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,16 @@
6767
</span>
6868
</div>
6969
<div class="grid grid-cols-1 lg:grid-cols-3 gap-x-16 gap-y-8 place-items-start">
70-
<div class="flex flex-col gap-8 justify-center items-center text-center w-full">
70+
<div class="flex flex-col justify-center items-center text-center w-full">
7171
<span class="text-2xl font-bold text-heading-light dark:text-heading-dark">
7272
Connect your data
7373
</span>
74-
<video autoplay loop muted class="w-[150px] h-[150px] lg:w-[300px] lg:h-[200px]">
75-
<source src="https://storage.googleapis.com/deai-313515.appspot.com/videos/connect.webm" type="video/webm">
76-
</video>
74+
<img
75+
:src="`https://storage.googleapis.com/deai-313515.appspot.com/gifs/homepage/connect_${themeStore.current}.gif`"
76+
class="w-[150px] h-[150px] lg:w-[300px] lg:h-[300px]"
77+
/>
7778
</div>
78-
<div class="flex flex-col gap-8 justify-center items-center text-center w-full">
79+
<div class="flex flex-col justify-center items-center text-center w-full">
7980
<span class="text-2xl font-bold text-heading-light dark:text-heading-dark">
8081
Join the <span
8182
class="underline hover:cursor-pointer"
@@ -86,17 +87,19 @@
8687
<DISCOllaborative/>
8788
</span>
8889
</span>
89-
<video autoplay loop muted class="w-[150px] h-[150px] lg:w-[300px] lg:h-[200px]">
90-
<source src="https://storage.googleapis.com/deai-313515.appspot.com/videos/join.webm" type="video/webm">
91-
</video>
90+
<img
91+
:src="`https://storage.googleapis.com/deai-313515.appspot.com/gifs/homepage/join_${themeStore.current}.gif`"
92+
class="w-[150px] h-[150px] lg:w-[300px] lg:h-[300px]"
93+
/>
9294
</div>
93-
<div class="flex flex-col gap-8 justify-center items-center text-center w-full">
95+
<div class="flex flex-col justify-center items-center text-center w-full">
9496
<span class="text-2xl font-bold text-heading-light dark:text-heading-dark">
9597
Use the model
9698
</span>
97-
<video autoplay loop muted class="w-[150px] h-[150px] lg:w-[300px] lg:h-[200px]">
98-
<source src="https://storage.googleapis.com/deai-313515.appspot.com/videos/use.webm" type="video/webm">
99-
</video>
99+
<img
100+
:src="`https://storage.googleapis.com/deai-313515.appspot.com/gifs/homepage/use_${themeStore.current}.gif`"
101+
class="w-[150px] h-[150px] lg:w-[300px] lg:h-[300px]"
102+
/>
100103
</div>
101104
</div>
102105
</div>

0 commit comments

Comments
 (0)