Fix HTML markups

This commit is contained in:
Ahmet Bora
2021-12-27 17:37:26 +03:00
parent a467612cba
commit 4a013b5e86

View File

@@ -28,17 +28,17 @@
<h2 class="h1">Get in contact</h2> <h2 class="h1">Get in contact</h2>
<div class="grid" style="--gutter: 1.5rem"> <div class="grid" style="--gutter: 1.5rem">
<section class="column text" style="--columns: 4"> <section class="column text" style="--columns: 4">
<h3>Address</h2> <h3>Address</h3>
<?= $page->address()->kt() ?> <?= $page->address()->kt() ?>
</section> </section>
<section class="column text" style="--columns: 4"> <section class="column text" style="--columns: 4">
<h3>Email</h2> <h3>Email</h3>
<p><?= html::email($page->email()) ?></p> <p><?= html::email($page->email()) ?></p>
<h3>Phone</h2> <h3>Phone</h3>
<p><?= html::tel($page->phone()) ?></p> <p><?= html::tel($page->phone()) ?></p>
</section> </section>
<section class="column text" style="--columns: 4"> <section class="column text" style="--columns: 4">
<h3>On the web</h2> <h3>On the web</h3>
<ul> <ul>
<?php foreach ($page->social()->toStructure() as $social): ?> <?php foreach ($page->social()->toStructure() as $social): ?>
<li><?= html::a($social->url(), $social->platform()) ?></li> <li><?= html::a($social->url(), $social->platform()) ?></li>
@@ -48,6 +48,4 @@
</div> </div>
</aside> </aside>
</div>
<?php snippet('footer') ?> <?php snippet('footer') ?>