remove isEditoOpen variable
This commit is contained in:
parent
8aa1b420d9
commit
fac2b9479d
1 changed files with 2 additions and 3 deletions
|
|
@ -1,13 +1,12 @@
|
||||||
<?php snippet('header') ?>
|
<?php snippet('header') ?>
|
||||||
|
|
||||||
<main x-data="{ isEditoOpen: false }">
|
<main>
|
||||||
<article>
|
<article>
|
||||||
<?php snippet('cover', slots: true) ?>
|
<?php snippet('cover', slots: true) ?>
|
||||||
<?php slot('title') ?>
|
<?php slot('title') ?>
|
||||||
<a
|
<a
|
||||||
href="#main-edito"
|
href="#main-edito"
|
||||||
class="no-line"
|
class="no-line"
|
||||||
@click="isEditoOpen = true"
|
|
||||||
>
|
>
|
||||||
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
||||||
<p
|
<p
|
||||||
|
|
@ -16,7 +15,7 @@
|
||||||
</button>
|
</button>
|
||||||
<?php endslot() ?>
|
<?php endslot() ?>
|
||||||
<?php endsnippet() ?>
|
<?php endsnippet() ?>
|
||||||
<div x-show="isEditoOpen" id="main-edito" class="content">
|
<div id="main-edito" class="content">
|
||||||
<?= $site->edito() ?>
|
<?= $site->edito() ?>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue