footer - dynamize infos
This commit is contained in:
parent
9efeb72f68
commit
3008e231cb
6 changed files with 58 additions and 22 deletions
|
|
@ -55,7 +55,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-strip__sessions {
|
.calendar-strip__sessions {
|
||||||
padding: 2rem 0;
|
padding: var(--padding-vertical) 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-strip__session {
|
.calendar-strip__session {
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ section.callout {
|
||||||
}
|
}
|
||||||
|
|
||||||
section.callout h4 {
|
section.callout h4 {
|
||||||
margin-bottom: 2rem;
|
margin-bottom: calc(var(--padding-vertical) / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
section.callout a {
|
section.callout a {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,36 @@
|
||||||
.main-footer {
|
.main-footer {
|
||||||
|
--padding-vertical: var(--space-m);
|
||||||
background-color: var(--color-yellow-fluo);
|
background-color: var(--color-yellow-fluo);
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: 0.5fr 1fr 1fr 1fr;
|
||||||
|
column-gap: calc(var(--space-m));
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-footer p {
|
.main-footer p {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-footer .social-icons {
|
||||||
|
display: flex;
|
||||||
|
column-gap: 1.15rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-footer form input {
|
||||||
|
width: 100%;
|
||||||
|
border-bottom: var(--border);
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-footer form input::after {
|
||||||
|
content: "→";
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-footer .social-icons a svg {
|
||||||
|
transform: scale(1);
|
||||||
|
transition: transform 0.2s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-footer .social-icons a:hover svg {
|
||||||
|
transform: scale(1.15);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
font-size: var(--font-size-h1);
|
font-size: var(--font-size-h1);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: var(--padding-vertical);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero__text h3 {
|
.hero__text h3 {
|
||||||
|
|
@ -21,5 +21,5 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero__text p:first-of-type {
|
.hero__text p:first-of-type {
|
||||||
margin-top: 2rem;
|
margin-top: var(--padding-vertical);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -88,3 +88,26 @@ tabs:
|
||||||
templates:
|
templates:
|
||||||
- free
|
- free
|
||||||
- program
|
- program
|
||||||
|
contactTab:
|
||||||
|
label: Contact
|
||||||
|
icon: email
|
||||||
|
columns:
|
||||||
|
- width: 1/2
|
||||||
|
fields:
|
||||||
|
footerInfos:
|
||||||
|
label: Pied-de-page
|
||||||
|
type: writer
|
||||||
|
node: false
|
||||||
|
help: Texte libre affiché en bas de chaque page.
|
||||||
|
marks:
|
||||||
|
- bold
|
||||||
|
- email
|
||||||
|
- link
|
||||||
|
- width: 1/2
|
||||||
|
fields:
|
||||||
|
instagram:
|
||||||
|
type: url
|
||||||
|
icon: instagram
|
||||||
|
facebook:
|
||||||
|
type: url
|
||||||
|
icon: facebook
|
||||||
|
|
|
||||||
|
|
@ -9,31 +9,17 @@
|
||||||
<input placeholder="e-mail" type="email" name="email" autocomplete="email" id="email">
|
<input placeholder="e-mail" type="email" name="email" autocomplete="email" id="email">
|
||||||
</form>
|
</form>
|
||||||
<div class="main-footer__infos">
|
<div class="main-footer__infos">
|
||||||
<p><strong>Contact</strong></p>
|
<?= $site->footerInfos() ?>
|
||||||
|
|
||||||
<p>
|
|
||||||
Nouveau Théâtre de Besançon<br>
|
|
||||||
2 avenue Édouard Droz<br>
|
|
||||||
Parc du Casino<br>
|
|
||||||
25000 Besançon
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p><strong>Accueil</strong></p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
accueil@ntbesancon.fr<br>
|
|
||||||
03 81 88 55 11
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="main-footer__socials">
|
<div class="main-footer__socials">
|
||||||
<p><strong>Suivez nous</strong></p>
|
<p><strong>Suivez nous</strong></p>
|
||||||
<ul class="social-icons">
|
<ul class="social-icons">
|
||||||
<li>
|
<li>
|
||||||
<a href="" target="_blank" title="Voir la page Instagram du NTB"><?= svg('assets/images/icons/instagram.svg') ?></a>
|
<a href="<?= $site->instagram() ?>" class="invert" target="_blank" title="Voir la page Instagram du NTB"><?= svg('assets/images/icons/instagram.svg') ?></a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="" target="_blank" title="Voir la page Facebook du NTB"><?= svg('assets/images/icons/facebook.svg') ?></a>
|
<a href="<?= $site->facebook() ?>" class="invert" target="_blank" title="Voir la page Facebook du NTB"><?= svg('assets/images/icons/facebook.svg') ?></a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a href="#">Contacts et Mentions légales</a>
|
<a href="#">Contacts et Mentions légales</a>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue