Skip to content

Commit

Permalink
festival announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
1k3rnelpan1c committed May 31, 2023
1 parent 7ed4040 commit 25f12ae
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion src/components/InsaHome.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<template>
<v-container class="main-page">
<v-alert title="ANUNCIO IMPORTANTE" text="..." type="error">
<div class="announcement-container">
<div class="festival-announcement">
<v-img src="https://d1ro9wdeur3r20.cloudfront.net/photos/festival_verano_2023.jpg" />
</div>
<div class="video-festival-container">
<video controls>
<source
src="https://d1ro9wdeur3r20.cloudfront.net/photos/festival_verano_2023.mp4"
type="video/mp4"
/>
</video>
</div>
</div>
</v-alert>
<div class="cover-image">
<img class="img1" src="https://d1ro9wdeur3r20.cloudfront.net/photos/cover_page_kids.jpg" />
</div>
Expand Down Expand Up @@ -111,7 +126,6 @@
</v-container>
</v-container>
</template>

<script lang="ts">
import Vue from "vue";
Expand All @@ -129,6 +143,23 @@ export default InsaHome;
max-width: 100% !important;
height: 100% !important;
padding: 0px !important;
.announcement-container {
display: flex;
justify-content: center;
align-items: center;
.video-festival-container video {
padding-left: 20px;
object-fit: cover;
}
.festival-announcement {
max-width: 100%;
max-height: 100%;
width: 500px;
height: 100%;
border-radius: 10px; /* Adjust the value as needed */
border: 2px solid #ccc;
}
}
.cover-image {
width: 100%;
background-color: white;
Expand Down

0 comments on commit 25f12ae

Please sign in to comment.