Skip to content

Commit

Permalink
switch partner section
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasbudig committed Nov 14, 2023
1 parent e9a8ce8 commit fbca378
Showing 1 changed file with 32 additions and 29 deletions.
61 changes: 32 additions & 29 deletions WebSite/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,37 @@ function cmp($a, $b) {
</section>
<!-- End home-about Area -->

<!-- Sponsors -->
<?php
if ($Sponsors != "") {
echo "<section class='services-area section-gap' id='Sponsors'>
<div class='container'>
<div class='row d-flex justify-content-center'>
<div class='menu-content col-lg-7'>
<div class='title text-center'>
<h1 class='mb-10'>Partners</h1>
<!-- <p>BlaBla Text Test Test</p> -->
</div>
</div>
</div>
<div class='row'>";
foreach($Sponsors AS $Sponsor) {
echo "<div class='col-lg-4 col-md-6'>
<div class='single-services'>
<a href='".$Sponsor['Link']."' target='_blank'>
<img width='240px' src='./tours/$PageToView/img/sponsors/".$Sponsor['ImgName']."'>
</a>
</div>
</div>";
}
}
echo "</div>
</div>
</section>";
?>
<!-- End Sponsors Area -->


<!-- Start Youtube Area -->
<?php if ($YoutubeLink != "") {
// Edit Link for video embedding
Expand Down Expand Up @@ -351,35 +382,7 @@ function cmp($a, $b) {
?>
<!-- End Team Area -->

<!-- Sponsors -->
<?php
if ($Sponsors != "") {
echo "<section class='services-area section-gap' id='Sponsors'>
<div class='container'>
<div class='row d-flex justify-content-center'>
<div class='menu-content col-lg-7'>
<div class='title text-center'>
<h1 class='mb-10'>Partners</h1>
<!-- <p>BlaBla Text Test Test</p> -->
</div>
</div>
</div>
<div class='row'>";
foreach($Sponsors AS $Sponsor) {
echo "<div class='col-lg-4 col-md-6'>
<div class='single-services'>
<a href='".$Sponsor['Link']."' target='_blank'>
<img width='240px' src='./tours/$PageToView/img/sponsors/".$Sponsor['ImgName']."'>
</a>
</div>
</div>";
}
}
echo "</div>
</div>
</section>";
?>
<!-- End Sponsors Area -->



<!-- start footer Area -->
Expand Down

0 comments on commit fbca378

Please sign in to comment.