Skip to content

Commit

Permalink
fix: feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
stevanpo committed Feb 21, 2025
1 parent 7220478 commit c23c534
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 50 deletions.
Binary file removed public/images/digital-girls/hero-video.mp4
Binary file not shown.
20 changes: 0 additions & 20 deletions public/js/ext/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2211,26 +2211,6 @@ var SEMICOLON = SEMICOLON || {};
if (searchMenu) searchMenu.style.display = 'none';
});

// VIDEO MODAL
$('#video-modal-trigger-show').click(function() {
const videoModalId = $(this).data('targetid');
const videoModal = document.getElementById(videoModalId);
if (videoModal) {
videoModal.style.display = '';
const video = videoModal.querySelector('#video');
if (video) video.play();
}
});
$('#video-modal-trigger-hide').click(function() {
const videoModalId = $(this).data('targetid');
const videoModal = document.getElementById(videoModalId);
if (videoModal) {
videoModal.style.display = 'none';
const video = videoModal.querySelector('#video');
if (video) video.pause();
}
});

/* PRIMARY MENU */
$('#primary-menu-trigger,#overlay-menu-close').click(function() {
if ($( '#primary-menu-trigger .menu' ).attr('class').indexOf('hide') !== -1){
Expand Down
2 changes: 1 addition & 1 deletion resources/assets/sass/components/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
linear-gradient(to bottom, $main-color 0%,$main-color 100%);
background-repeat: no-repeat, repeat;
background-position: right .7em top 50%, 0 0;
background-size: .65em auto 100%;
background-size: .65em auto, 100%;
}
.codeweek-input-select::-ms-expand {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion resources/latex/participation_greek.tex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
~
\begin{center}
\vspace{2cm}
{\centering\fontsize{24}{31}\selectfont
{\centering\fontsize{36}{48}\selectfont
\begin{otherlanguage*}{<CERTIFICATE_HOLDER_NAME_LANG>}
\textcolor{myorange}{<CERTIFICATE_HOLDER_NAME>}
\end{otherlanguage*}
Expand Down
31 changes: 3 additions & 28 deletions resources/views/static/girls-in-digital-week.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ class="mb-4 max-w-full"
</p>
</div>
<div class="order-0 md:order-2 flex flex-1 justify-center items-center z-10">
<button
id="video-modal-trigger-show"
data-targetId="girls-digital-hero-video-modal"
class="bg-yellow hover:bg-primary rounded-full w-20 h-20 duration-300 flex justify-center items-center"
>
<img class="duration-300 ml-2" src="/images/fi_play.svg" />
</button>
<button class="bg-yellow hover:bg-primary rounded-full w-20 h-20 duration-300 flex justify-center items-center">
<img class="duration-300 ml-2" src="/images/fi_play.svg" />
</button>
</div>
<img
class="absolute top-0 -left-1/4 w-[150vw] !max-w-none md:hidden"
Expand All @@ -50,27 +46,6 @@ class="absolute top-0 right-0 h-full max-w-[calc(70vw)] object-cover hidden md:b
</div>
</section>

<div
id="girls-digital-hero-video-modal"
class="fixed left-0 top-[139px] md:top-[123px] z-[110] flex flex-col gap-6 items-center justify-center w-full p-6 h-[calc(100dvh-139px)] md:h-[calc(100dvh-123px)] bg-white duration-300 overflow-hidden"
style="display: none;"
>
<div class="flex-shrink-0 flex justify-end w-full">
<button
id="video-modal-trigger-hide"
data-targetId="girls-digital-hero-video-modal"
class="block bg-[#FFD700] hover:bg-[#F95C22] rounded-full p-4 duration-300"
>
<img class="w-6 h-6" src="/images/close_menu_icon.svg">
</button>
</div>
<div class="flex-grow flex-shrink flex flex-col justify-center max-h-full w-full overflow-hidden">
<video id="video" class="max-h-full max-w-full" controls src="/images/digital-girls/hero-video.mp4">
<source src="/images/digital-girls/hero-video.mp4" type="video/mp4">
</video>
</div>
</div>

<section class="animation-section relative z-10">
<div class="relative z-10 codeweek-container-lg flex flex-col-reverse md:flex-row items-center py-20 pb-32 md:pb-48 gap-12">
<div class="flex-1">
Expand Down

0 comments on commit c23c534

Please sign in to comment.