So many stuphs
This commit is contained in:
@ -4,6 +4,8 @@ tabs:
|
||||
display: Main
|
||||
sections:
|
||||
-
|
||||
display: Hero
|
||||
instructions: 'Logo et texte accueil'
|
||||
fields:
|
||||
-
|
||||
handle: title
|
||||
@ -12,18 +14,78 @@ tabs:
|
||||
required: true
|
||||
validate:
|
||||
- required
|
||||
-
|
||||
handle: content
|
||||
field:
|
||||
remove_empty_nodes: false
|
||||
type: bard
|
||||
display: content
|
||||
-
|
||||
handle: template
|
||||
field:
|
||||
type: template
|
||||
display: Template
|
||||
localizable: true
|
||||
-
|
||||
display: 'Main Video'
|
||||
instructions: "Video loop d'introduction"
|
||||
fields:
|
||||
-
|
||||
handle: video
|
||||
field:
|
||||
type: video
|
||||
display: video
|
||||
-
|
||||
display: 'Main text'
|
||||
instructions: "Gros texte d'accueil"
|
||||
fields:
|
||||
-
|
||||
handle: content
|
||||
field:
|
||||
remove_empty_nodes: false
|
||||
type: bard
|
||||
display: content
|
||||
-
|
||||
display: Incentives
|
||||
instructions: "Petits blocs de features de l'event"
|
||||
fields:
|
||||
-
|
||||
handle: incentives
|
||||
field:
|
||||
type: replicator
|
||||
display: incentives
|
||||
sets:
|
||||
new_set_group:
|
||||
display: 'New Set Group'
|
||||
sets:
|
||||
new_set:
|
||||
display: 'New Set'
|
||||
fields:
|
||||
-
|
||||
import: event_incentives
|
||||
-
|
||||
display: FAQ
|
||||
fields:
|
||||
-
|
||||
handle: faqs
|
||||
field:
|
||||
type: replicator
|
||||
display: FAQs
|
||||
sets:
|
||||
new_set_group:
|
||||
display: 'New Set Group'
|
||||
sets:
|
||||
new_set:
|
||||
display: 'New Set'
|
||||
fields:
|
||||
-
|
||||
import: faq
|
||||
-
|
||||
display: Gallery
|
||||
instructions: 'Les images cools des précédents summers'
|
||||
fields:
|
||||
-
|
||||
handle: photos
|
||||
field:
|
||||
mode: grid
|
||||
container: assets
|
||||
type: assets
|
||||
display: Photos
|
||||
folder: photos
|
||||
sidebar:
|
||||
display: Sidebar
|
||||
sections:
|
||||
|
||||
@ -3,6 +3,7 @@ tabs:
|
||||
display: Main
|
||||
sections:
|
||||
-
|
||||
display: Brand
|
||||
fields:
|
||||
-
|
||||
handle: logo
|
||||
@ -11,3 +12,29 @@ tabs:
|
||||
container: assets
|
||||
type: assets
|
||||
display: Logo
|
||||
-
|
||||
display: Summer
|
||||
fields:
|
||||
-
|
||||
handle: date_start
|
||||
field:
|
||||
type: date
|
||||
display: 'Date Start'
|
||||
-
|
||||
handle: date_end
|
||||
field:
|
||||
type: date
|
||||
display: 'Date End'
|
||||
-
|
||||
handle: place
|
||||
field:
|
||||
type: text
|
||||
display: Place
|
||||
-
|
||||
display: BIlletterie
|
||||
fields:
|
||||
-
|
||||
handle: lien_billetterie
|
||||
field:
|
||||
type: link
|
||||
display: 'Lien billetterie'
|
||||
|
||||
25
resources/fieldsets/event_incentives.yaml
Normal file
25
resources/fieldsets/event_incentives.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
title: 'Event incentives'
|
||||
fields:
|
||||
-
|
||||
handle: title
|
||||
field:
|
||||
type: text
|
||||
display: Title
|
||||
instructions: "Feature de l'event. Ex: Tournois internationaux !"
|
||||
width: 50
|
||||
-
|
||||
handle: description
|
||||
field:
|
||||
type: textarea
|
||||
display: description
|
||||
instructions: "Dites en plus sur la feature. Ex: Un événement ouvert à tous, préparé avec soin par des passionnés de l'arcade et leurs partenaires."
|
||||
width: 50
|
||||
-
|
||||
handle: photo
|
||||
field:
|
||||
max_files: 1
|
||||
min_files: 1
|
||||
container: assets
|
||||
type: assets
|
||||
display: photo
|
||||
folder: photos
|
||||
14
resources/fieldsets/faq.yaml
Normal file
14
resources/fieldsets/faq.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
title: FAQ
|
||||
fields:
|
||||
-
|
||||
handle: question
|
||||
field:
|
||||
type: text
|
||||
display: Question
|
||||
instructions: 'Genre : comment on vient en train ?'
|
||||
-
|
||||
handle: reponse
|
||||
field:
|
||||
type: markdown
|
||||
display: Reponse
|
||||
instructions: 'Réponse a la question'
|
||||
5
resources/views/_incentiveblock.antlers.html
Normal file
5
resources/views/_incentiveblock.antlers.html
Normal file
@ -0,0 +1,5 @@
|
||||
<div class="column">
|
||||
<img src="{{ glide:photo preset='thumbnail' }}" alt="{{ icon:alt }}">
|
||||
<h3>{{ title }}</h3>
|
||||
<p>{{ description }}</p>
|
||||
</div>
|
||||
6
resources/views/_photoblock.antlers.html
Normal file
6
resources/views/_photoblock.antlers.html
Normal file
@ -0,0 +1,6 @@
|
||||
<div class="cell">
|
||||
{{? $angle = rand(-30,30); ?}}
|
||||
<img src="{{ glide:url preset="thumbnail" }}" alt="{{ alt }}" class="photo"
|
||||
style="transform: rotate({{ $angle }}deg);">
|
||||
{{# <img src="{{ glide:url }}" alt="{{ alt }}" class="photo full"> #}}
|
||||
</div>
|
||||
@ -1,9 +1,10 @@
|
||||
<a href="{{ url }}"
|
||||
style="background-image: url('{{ backdrop }}');"
|
||||
class="column"
|
||||
>
|
||||
<span>{{ title }}</span>
|
||||
<span>{{ date }}</span>
|
||||
<img src="
|
||||
{{ glide:logo preset='thumbnail' }}" alt="title">
|
||||
</a>
|
||||
<div class="column">
|
||||
<a href="{{ url }}"
|
||||
style="background-image: url('{{ glide:backdrop preset='thumbnail' blur="10" gam="0" bri="25" con="0"}}');background-size: cover; background-position: center;"
|
||||
class="squircle tournament-block"
|
||||
>
|
||||
{{# <span>{{ title }}</span> #}}
|
||||
{{# <span>{{ date }}</span> #}}
|
||||
<img src="{{ glide:logo preset='logo' }}" alt="title">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@ -1,12 +1,16 @@
|
||||
<section class="section hero is-primary is-fullheight">
|
||||
<div class="hero-body">
|
||||
<img src="{{ hfs:logo }}" alt="HFS SUMMER JAM" class=""/>
|
||||
<section id="hero" class="section hero is-primary is-fullheight">
|
||||
<div class="hero-body twist has-text-centered">
|
||||
<img src="{{ hfs:logo }}" alt="HFS SUMMER"/>
|
||||
<p class="title twist-fore">
|
||||
{{ hfs:date_start }} - {{ hfs:date_end }}
|
||||
</p>
|
||||
<p class="subtitle twist-fore">{{ hfs:place }}</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="reel">
|
||||
<video autoplay loop muted playsinline>
|
||||
<source src="https://fr.getsamplefiles.com/download/mp4/sample-5.mp4" type="video/mp4">
|
||||
<source src="assets/video/reel.mp4" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
</section>
|
||||
@ -17,7 +21,18 @@
|
||||
</span>
|
||||
</section>
|
||||
|
||||
<section class="section" id="tournaments">
|
||||
<section class="section" id="incentive">
|
||||
<h2>Incentive</h2>
|
||||
<div class="fixed-grid has-3-cols">
|
||||
<div class="grid">
|
||||
{{ incentives }}
|
||||
{{ partial:_incentiveblock }}
|
||||
{{ /incentives }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section has-background-primary has-text-black" id="tournaments">
|
||||
<h2>Tournaments</h2>
|
||||
<h3>Stier</h3>
|
||||
<div class="fixed-grid has-3-cols">
|
||||
@ -56,25 +71,50 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section" id="about">About</section>
|
||||
<section class="section" id="gallery">Gallery</section>
|
||||
<section class="section" id="questions">FAQ</section>
|
||||
|
||||
<section class="section" id="gallery">
|
||||
<h2>Gallery</h2>
|
||||
<div class="grid is-col-min-9">
|
||||
{{ photos }}
|
||||
{{ partial:_photoblock }}
|
||||
{{ /photos }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section" id="faq">
|
||||
<h2>FAQ</h2>
|
||||
<div class="grid">
|
||||
{{ faqs sort="order asc" }}
|
||||
<div class="cell block">
|
||||
<h3 class="is-size-3 block">{{ question }}</h3>
|
||||
<p class="block">{{ reponse }}</p>
|
||||
</div>
|
||||
{{ /faqs }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section" id="tickets">
|
||||
<h2>Tickets</h2>
|
||||
<div class="grid">
|
||||
{{ collection:prices sort="order asc" }}
|
||||
<div>
|
||||
<h3>{{ title }}</h3>
|
||||
<p>{{ price }}</p>
|
||||
<a href="" class="button is-primary">Buy Ticket</a>
|
||||
<div class="cell block">
|
||||
<h3 class="is-size-3 block">{{ title }}</h3>
|
||||
<p class="block">{{ price }}</p>
|
||||
<a href="{{ hfs:lien_billetterie }}" class="button is-primary" target="_blank">Buy Ticket</a>
|
||||
</div>
|
||||
{{ /collection:prices }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section" id="sponsors">
|
||||
<h2>Sponsors</h2>
|
||||
<div class="grid">
|
||||
{{ collection:sponsors sort="order asc" }}
|
||||
<span>
|
||||
<img src="{{ glide:logo preset='logo' }}" alt="{{ logo:alt }}">
|
||||
</span>
|
||||
<div class="cell">
|
||||
<img src="{{ glide:logo preset='logo' }}" alt="{{ logo:alt }}">
|
||||
</div>
|
||||
{{ /collection:sponsors }}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -12,16 +12,27 @@
|
||||
<title>{{ title ?? site:name }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{{# <nav> #}}
|
||||
<nav id="nav" class="navbar is-primaryt is-fixed-top p-5" role="navigation" aria-label="main navigation">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item squircle" href="/">
|
||||
<img src="/assets/logo2.svg" style="height:5rem;"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item button is-rounded has-text-primary" href="{{ hfs:lien_billetterie }}" target="_blank">
|
||||
Billetterie
|
||||
</a>
|
||||
</div>
|
||||
{{# {{ nav:collection:pages include_home="true" }} #}}
|
||||
{{# <a href="{{ url }}">{{ title }}</a> #}}
|
||||
{{# {{ /nav:collection:pages }} #}}
|
||||
{{# </nav> #}}
|
||||
</nav>
|
||||
|
||||
<div>
|
||||
{{# <div> #}}
|
||||
{{ template_content }}
|
||||
</div>
|
||||
{{# </div> #}}
|
||||
|
||||
<footer>Footer</footer>
|
||||
</body>
|
||||
<script src="/assets/js/main.js"></script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user