Yup
This commit is contained in:
@ -3,8 +3,8 @@ id: f84919d4-1ab4-4dc7-a918-23e6a1542d16
|
||||
blueprint: tournament
|
||||
title: 'Facteur X'
|
||||
author: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152
|
||||
updated_by: 5a7338bf-56d2-42b5-8ad0-7459a1fd8152
|
||||
updated_at: 1767730026
|
||||
updated_by: cf207a21-df92-4f9c-b7c7-897476d8f464
|
||||
updated_at: 1769009650
|
||||
logo: image_2026-01-06_210603982.png
|
||||
type: stier
|
||||
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({
|
||||
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;
|
||||
}
|
||||
.photo{
|
||||
background: var(--bulma-white);
|
||||
padding:1rem;
|
||||
background: #f0f0f0;
|
||||
/*background: var(--bulma-white);*/
|
||||
padding:10px 10px 50px;
|
||||
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{
|
||||
position:absolute;
|
||||
position:fixed;
|
||||
top:0;
|
||||
height:100vh;
|
||||
padding:2rem;
|
||||
height:calc(100vh - 4rem);
|
||||
transform: rotate(0deg) !important;
|
||||
z-index:100;
|
||||
margin:2rem;
|
||||
}
|
||||
/*#tournaments*/
|
||||
.tournament-block{
|
||||
@ -107,6 +116,8 @@ video{
|
||||
.tournament-block:hover{
|
||||
transform: scale(0.9);
|
||||
}
|
||||
|
||||
/*Custom tournament grid*/
|
||||
.custom-grid{
|
||||
display:grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
@ -149,6 +160,57 @@ video{
|
||||
.custom-cell:hover img {
|
||||
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*/
|
||||
|
||||
@ -57,7 +57,7 @@ tabs:
|
||||
display: Logo
|
||||
instructions: 'Transparent tournament logo'
|
||||
mode: grid
|
||||
width: 33
|
||||
width: 50
|
||||
-
|
||||
handle: backdrop
|
||||
field:
|
||||
@ -67,7 +67,8 @@ tabs:
|
||||
display: Backdrop
|
||||
instructions: 'Image du jeu'
|
||||
sortable: false
|
||||
width: 33
|
||||
width: 50
|
||||
mode: grid
|
||||
-
|
||||
handle: video
|
||||
field:
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<div class="column">
|
||||
<img src="{{ glide:photo preset='thumbnail' }}" alt="{{ icon:alt }}">
|
||||
<h3>{{ title }}</h3>
|
||||
<div class="incentive-block" >
|
||||
{{# <img src="{{ glide:photo preset='thumbnail' }}" alt="{{ icon:alt }}"> #}}
|
||||
<div class="squircle" style="background-image:url('{{ glide:photo }}');"></div>
|
||||
<h3 class="is-size-3 has-text-primary">{{ title }}</h3>
|
||||
<p>{{ description }}</p>
|
||||
</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">
|
||||
<img src="{{ hfs:logo }}" alt="HFS SUMMER"/>
|
||||
<p class="title twist-fore">
|
||||
@ -15,21 +15,17 @@
|
||||
</video>
|
||||
</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">
|
||||
{{ content | widont }}
|
||||
</span>
|
||||
</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>
|
||||
<div class="fixed-grid has-3-cols">
|
||||
<div class="grid">
|
||||
{{ incentives }}
|
||||
{{ partial:_incentiveblock }}
|
||||
{{ /incentives }}
|
||||
</div>
|
||||
</div>
|
||||
{{ incentives }}
|
||||
{{ partial:_incentiveblock }}
|
||||
{{ /incentives }}
|
||||
</section>
|
||||
|
||||
<section class="section has-background-primary has-text-black" id="tournaments">
|
||||
|
||||
Reference in New Issue
Block a user