Yup
This commit is contained in:
@ -3,8 +3,8 @@ id: f84919d4-1ab4-4dc7-a918-23e6a1542d16
|
|||||||
blueprint: tournament
|
blueprint: tournament
|
||||||
title: 'Facteur X'
|
title: 'Facteur X'
|
||||||
author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152
|
author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152
|
||||||
updated_by: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152
|
updated_by: cf207a21-df92-4f9c-b7c7-897476d8f464
|
||||||
updated_at: 1767730026
|
updated_at: 1769009650
|
||||||
logo: image_2026-01-06_210603982.png
|
logo: image_2026-01-06_210603982.png
|
||||||
type: stier
|
type: stier
|
||||||
backdrop: image_2026-01-06_210653383.png
|
backdrop: image_2026-01-06_210653383.png
|
||||||
|
|||||||
BIN
public/assets/ink_bottom_black.png
Normal file
BIN
public/assets/ink_bottom_black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
BIN
public/assets/ink_bottom_yellow.png
Normal file
BIN
public/assets/ink_bottom_yellow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
BIN
public/assets/ink_top_black.png
Normal file
BIN
public/assets/ink_top_black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
BIN
public/assets/ink_top_yellow.png
Normal file
BIN
public/assets/ink_top_yellow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
@ -93,4 +93,13 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
const lenis = new Lenis({
|
const lenis = new Lenis({
|
||||||
autoRaf: true,
|
autoRaf: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Gallery interactions
|
||||||
|
// On click on .photo element, toggle the 'full' class
|
||||||
|
document.querySelectorAll('.photo').forEach(photoEl => {
|
||||||
|
photoEl.addEventListener('click', () => {
|
||||||
|
console.log('Photo clicked');
|
||||||
|
photoEl.classList.toggle('full');
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -82,15 +82,24 @@ video{
|
|||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
.photo{
|
.photo{
|
||||||
background: var(--bulma-white);
|
background: #f0f0f0;
|
||||||
padding:1rem;
|
/*background: var(--bulma-white);*/
|
||||||
|
padding:10px 10px 50px;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
|
border-radius: 5px;
|
||||||
|
box-shadow: 0 4px 6px hsla(0,0%,6%,0.3);
|
||||||
|
transition: transform 0.5s ease-in-out;
|
||||||
|
}
|
||||||
|
.photo:hover{
|
||||||
|
transform: rotate(0deg) !important;
|
||||||
}
|
}
|
||||||
.photo.full{
|
.photo.full{
|
||||||
position:absolute;
|
position:fixed;
|
||||||
top:0;
|
top:0;
|
||||||
height:100vh;
|
height:calc(100vh - 4rem);
|
||||||
padding:2rem;
|
transform: rotate(0deg) !important;
|
||||||
|
z-index:100;
|
||||||
|
margin:2rem;
|
||||||
}
|
}
|
||||||
/*#tournaments*/
|
/*#tournaments*/
|
||||||
.tournament-block{
|
.tournament-block{
|
||||||
@ -107,6 +116,8 @@ video{
|
|||||||
.tournament-block:hover{
|
.tournament-block:hover{
|
||||||
transform: scale(0.9);
|
transform: scale(0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Custom tournament grid*/
|
||||||
.custom-grid{
|
.custom-grid{
|
||||||
display:grid;
|
display:grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||||
@ -149,6 +160,57 @@ video{
|
|||||||
.custom-cell:hover img {
|
.custom-cell:hover img {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Ink splatters*/
|
||||||
|
.ink{
|
||||||
|
position:relative;
|
||||||
|
}
|
||||||
|
.ink::after{
|
||||||
|
position:absolute;
|
||||||
|
content:'';
|
||||||
|
left:0;
|
||||||
|
width:100%;
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.ink.top{
|
||||||
|
padding-top:14vw;
|
||||||
|
}
|
||||||
|
.ink.bottom{
|
||||||
|
padding-bottom:21vw;
|
||||||
|
}
|
||||||
|
.ink.bottom::after{
|
||||||
|
bottom:0;
|
||||||
|
background-image: url('/assets/ink_bottom_black.png');
|
||||||
|
background-position: bottom center;
|
||||||
|
height:21vw;
|
||||||
|
}
|
||||||
|
.ink.top::after{
|
||||||
|
top:0;
|
||||||
|
background-image: url('/assets/ink_top_black.png');
|
||||||
|
background-position: top center;
|
||||||
|
height:14vw;
|
||||||
|
}
|
||||||
|
.ink.bottom.yellow::after{
|
||||||
|
bottom:0;
|
||||||
|
background-image: url('/assets/ink_bottom_yellow.png');
|
||||||
|
background-position: bottom center;
|
||||||
|
height:21vw;
|
||||||
|
}
|
||||||
|
.ink.top.yellow::after{
|
||||||
|
top:0;
|
||||||
|
background-image: url('/assets/ink_top_yellow.png');
|
||||||
|
background-position: top center;
|
||||||
|
height:14vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Incentives*/
|
||||||
|
.incentive-block {
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
columns: 3;
|
||||||
|
}
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
|
|
||||||
/*Twist animation*/
|
/*Twist animation*/
|
||||||
|
|||||||
@ -57,7 +57,7 @@ tabs:
|
|||||||
display: Logo
|
display: Logo
|
||||||
instructions: 'Transparent tournament logo'
|
instructions: 'Transparent tournament logo'
|
||||||
mode: grid
|
mode: grid
|
||||||
width: 33
|
width: 50
|
||||||
-
|
-
|
||||||
handle: backdrop
|
handle: backdrop
|
||||||
field:
|
field:
|
||||||
@ -67,7 +67,8 @@ tabs:
|
|||||||
display: Backdrop
|
display: Backdrop
|
||||||
instructions: 'Image du jeu'
|
instructions: 'Image du jeu'
|
||||||
sortable: false
|
sortable: false
|
||||||
width: 33
|
width: 50
|
||||||
|
mode: grid
|
||||||
-
|
-
|
||||||
handle: video
|
handle: video
|
||||||
field:
|
field:
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<div class="column">
|
<div class="incentive-block" >
|
||||||
<img src="{{ glide:photo preset='thumbnail' }}" alt="{{ icon:alt }}">
|
{{# <img src="{{ glide:photo preset='thumbnail' }}" alt="{{ icon:alt }}"> #}}
|
||||||
<h3>{{ title }}</h3>
|
<div class="squircle" style="background-image:url('{{ glide:photo }}');"></div>
|
||||||
|
<h3 class="is-size-3 has-text-primary">{{ title }}</h3>
|
||||||
<p>{{ description }}</p>
|
<p>{{ description }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<section id="hero" class="section hero is-primary is-fullheight">
|
<section id="hero" class="section hero is-primary is-fullheight ink bottom">
|
||||||
<div class="hero-body twist has-text-centered">
|
<div class="hero-body twist has-text-centered">
|
||||||
<img src="{{ hfs:logo }}" alt="HFS SUMMER"/>
|
<img src="{{ hfs:logo }}" alt="HFS SUMMER"/>
|
||||||
<p class="title twist-fore">
|
<p class="title twist-fore">
|
||||||
@ -15,21 +15,17 @@
|
|||||||
</video>
|
</video>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="section has-background-primary has-text-black" id="catch">
|
<section class="section has-background-primary has-text-black ink top" id="catch">
|
||||||
<span class="is-size-1 has-text-weight-bold is-uppercase">
|
<span class="is-size-1 has-text-weight-bold is-uppercase">
|
||||||
{{ content | widont }}
|
{{ content | widont }}
|
||||||
</span>
|
</span>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="section has-background-black" id="incentive">
|
<section class="section has-background-black ink bottom yellow" id="incentive">
|
||||||
<h2 class="is-size-2 has-text-weight-bold is-uppercase has-text-primary block">L'évènement</h2>
|
<h2 class="is-size-2 has-text-weight-bold is-uppercase has-text-primary block">L'évènement</h2>
|
||||||
<div class="fixed-grid has-3-cols">
|
{{ incentives }}
|
||||||
<div class="grid">
|
{{ partial:_incentiveblock }}
|
||||||
{{ incentives }}
|
{{ /incentives }}
|
||||||
{{ partial:_incentiveblock }}
|
|
||||||
{{ /incentives }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="section has-background-primary has-text-black" id="tournaments">
|
<section class="section has-background-primary has-text-black" id="tournaments">
|
||||||
|
|||||||
Reference in New Issue
Block a user