added navbar

This commit is contained in:
StockiP
2022-04-19 17:13:58 +02:00
parent fa4d9a202b
commit 252651b6d4
2 changed files with 19 additions and 0 deletions

18
components/nav.php Normal file
View File

@@ -0,0 +1,18 @@
<nav class="navbar navbar-expand-lg bg-dark navbar-light d-none d-lg-block">
<div class="container text-light">
<div class="w-100 d-flex justify-content-between">
<div>
<i class="fa fa-envelope mx-2"></i>
<a class="navbar-sm-brand text-light text-decoration-none" href="mailto:info@company.com">info@marmeladenladen.at</a>
<i class="fa fa-phone mx-2"></i>
<a class="navbar-sm-brand text-light text-decoration-none" href="tel:010-020-0340">010-020-0340</a>
</div>
<div>
<a class="text-light" href="" target="_blank" rel="sponsored"><i class="fab fa-facebook-f fa-sm fa-fw me-2"></i></a>
<a class="text-light" href="" target="_blank"><i class="fab fa-instagram fa-sm fa-fw me-2"></i></a>
<a class="text-light" href="" target="_blank"><i class="fab fa-twitter fa-sm fa-fw me-2"></i></a>
<a class="text-light" href="" target="_blank"><i class="fab fa-linkedin fa-sm fa-fw"></i></a>
</div>
</div>
</div>
</nav>

View File

@@ -5,6 +5,7 @@
<?php include($_SERVER['DOCUMENT_ROOT'] . '/components/head.php') ?>
<body>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/components/nav.php') ?>
<h1>Test</h1>
<p>This is a test commit</p>
</body>