made navbar not hardoded into every page

This commit is contained in:
reallyniceusername 2023-06-08 19:07:54 +00:00
parent 9f1a606b80
commit b75332ee7b
3 changed files with 5 additions and 6 deletions

View File

@ -6,9 +6,7 @@
<?php include("head.php"); ?>
</head>
<body>
<div class="container">
<h1><strong>~<?=$user?></strong></h1>
</div>
<?php include("nav.php"); ?>
<p>
(anti-)Social media:<br>

View File

@ -6,9 +6,7 @@
<?php include("head.php"); ?>
</head>
<body>
<div class="container">
<h1><strong>~<?=$user?></strong></h1>
</div>
<?php include("nav.php"); ?>
<a href='/librex/'>
<img height='14px' src='/librex/favicon.ico'></img> librex instance

3
nav.php Normal file
View File

@ -0,0 +1,3 @@
<div class="container">
<h1><strong>~<?=$user?></strong></h1>
</div>