Skip to content

Commit 7fd8e1a

Browse files
committed
Made galabal more mobile friendly and added link
1 parent 651eb7a commit 7fd8e1a

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

module/CommonBundle/Resources/assets/site/less/vtk-homepage-layoutv2.less

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -329,21 +329,24 @@
329329
}
330330

331331
.banner_event_galabal {
332-
@media (min-width: 575.98px) {
333-
background-image: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)), url(../img/promo_galabal_2425_v2.png);
332+
@media (min-width: 1000px) {
333+
background-image: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)), url(../img/promo_galabal_2425_v2.jpg);
334334
height: 85vh;
335335
}
336-
@media (max-width: 575.98px) {
337-
background-image: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)), url(../img/promo_galabal_2425_mobile_v2.png);
338-
background-size: contain; /* Ensure the entire image is visible */
339-
background-position: center; /* Center the image */
340-
margin-top: 0;
341-
margin-bottom: 0;
336+
@media (max-width: 999.9px) {
337+
background-image: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)), url(../img/promo_galabal_2425_mobile_v2.jpg);
338+
background-size: contain;
339+
background-position: center;
340+
height: 60vh; /* Fixed height for consistency */
341+
min-height: 300px; /* Ensures minimum height on smaller screens */
342+
width: 100%;
343+
margin: 0 auto;
342344
}
345+
/* Common properties for all screen sizes */
343346
background-position: center;
344-
background-size: cover;
345347
background-repeat: no-repeat;
346348
color: whitesmoke;
349+
display: block;
347350
}
348351

349352
.container_event_galabal::before,

module/CommonBundle/Resources/views/common/index/index.twig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@
102102
</div>
103103
</div>#}
104104

105-
<div class="banner_event_galabal"></div>
106-
105+
<a href="https://tickets.vtk.be/event/galabal2025">
106+
<div class="banner_event_galabal"></div>
107+
</a>
107108
{# <div class="vtk-home-header">
108109
<div class="vtk-home-image">
109110
<div class="container" style="text-align: center">
228 KB
Loading
-2.27 MB
Binary file not shown.

public/img/promo_galabal_2425_v2.jpg

265 KB
Loading

public/img/promo_galabal_2425_v2.png

-2.51 MB
Binary file not shown.

0 commit comments

Comments
 (0)