Added workflow and dockerfile
All checks were successful
Build and Push Docker Image / build (push) Successful in 57s

This commit is contained in:
2024-12-12 12:35:13 +00:00
parent 3c2867ea87
commit 3c1a6e9ce0
10 changed files with 76 additions and 12 deletions

View File

@ -35,6 +35,9 @@
}
.video-container {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
left: 0;
@ -42,20 +45,22 @@
height: 100%;
overflow: hidden;
z-index: 9999;
background-color: #1e1e1e;
opacity: 0.95;
}
.video-container video {
width: 100%;
height: 100%;
width: 50%;
height: 50%;
object-fit: cover;
}
.video-container.fade-out {
animation: fadeOut 500ms forwards;
animation: fadeOut 1000ms forwards;
}
@keyframes fadeOut {
0% { opacity: 1; }
0% { opacity: 0.95; }
100% { opacity: 0; visibility: hidden; }
}
@ -148,6 +153,13 @@
.mobile-element {
display: block; /* Show mobile element on small screens */
}
.video-container video {
width: 70%;
height: 70%;
object-fit: cover;
}
.contact {
position: relative;
@ -168,7 +180,7 @@
<div class="desktop-element">
<div class="video-container" id="videoContainerDesk">
<video id="introVideoDesk" autoplay muted playsinline>
<source src="Full HD.mp4" type="video/mp4">
<source src="assets/vid/Full HD.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
@ -177,7 +189,7 @@
<div class="mobile-element">
<div class="video-container" id="videoContainerMob">
<video id="introVideoMob" autoplay muted playsinline>
<source src="Full HD vertical.mp4" type="video/mp4">
<source src="assets/vid/Full HD vertical.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
@ -186,16 +198,16 @@
<!-- Main Content -->
<div class="container" id="mainContent">
<div class="logo">
<img src="divine couture-no background.svg" alt="Company Logo">
<img src="assets/img/divine-couture.svg" alt="Company Logo">
</div>
<div class="accent-line"></div>
<p>Our website is on its way. Stay tuned for something special as we look to deliver style, for every occasion. We can't wait to share more.</p>
</div>
<div class="contact">
<div><img src="email-icon.png" alt="Email Icon"><a href="mailto:contact@divine-couture.co.uk">contact@divine-couture.co.uk</a></div>
<div><img src="phone-icon.png" alt="Phone Icon"><a href="tel:+447713133027">+44 (0) 77 13 13 30 27</a></div>
<div><img src="tiktok-icon.png" alt="TikTok Icon"><a href="https://www.tiktok.com/@divinecoutureee">divinecoutureee</a></div>
<div><img src="assets/img/email-icon.png" alt="Email Icon"><a href="mailto:contact@divine-couture.co.uk">contact@divine-couture.co.uk</a></div>
<div><img src="assets/img/phone-icon.png" alt="Phone Icon"><a href="tel:+447713133027">+44 (0) 77 13 13 30 27</a></div>
<div><img src="assets/img/tiktok-icon.png" alt="TikTok Icon"><a href="https://www.tiktok.com/@divinecoutureee">divinecoutureee</a></div>
</div>
<script>
@ -207,7 +219,7 @@
videoContainerDesk.classList.add('fade-out');
setTimeout(() => {
videoContainerDesk.style.display = 'none';
}, 500); // Wait for the fade-out animation to finish
}, 1000); // Wait for the fade-out animation to finish
});
const videoMob = document.getElementById('introVideoMob');
@ -217,7 +229,7 @@
videoContainerMob.classList.add('fade-out');
setTimeout(() => {
videoContainerMob.style.display = 'none';
}, 500); // Wait for the fade-out animation to finish
}, 1000); // Wait for the fade-out animation to finish
});
</script>
</body>