Seperated header into own file.

This commit is contained in:
Trygve 2021-03-16 11:19:34 +01:00
parent b3d7fbe287
commit 55128e47b5
2 changed files with 20 additions and 17 deletions

17
common/header.html Normal file
View File

@ -0,0 +1,17 @@
<header>
<ul class="header-list">
<li>
<a class="tab-button" href="/">Hjem</a>
</li>
<li>
<a class="tab-button" href="/speedtest/">Nettverkstest</a>
</li>
<li>
<a class="tab-button" href="/filopplasting">Filopplasting</a>
</li>
<li>
<a class="tab-button" href="/diverse">Flere Saker</a>
</li>
</ul>
</header>

View File

@ -8,23 +8,9 @@
<link rel="stylesheet" href="./common/main.css"> <link rel="stylesheet" href="./common/main.css">
</head> </head>
<body class="theme-auto"> <body class="theme-auto">
<header>
<ul class="header-list">
<li>
<a class="tab-button" href="/">Hjem</a>
</li>
<li>
<a class="tab-button" href="/speedtest/">Nettverkstest</a>
</li>
<li>
<a class="tab-button" href="/filopplasting">Filopplasting</a>
</li>
<li>
<a class="tab-button" href="/diverse">Flere Saker</a>
</li>
</ul> <?php include "common/header.html"; ?>
</header>
<center> <center>
<h1>Velkommen til Trygves side!</h1> <h1>Velkommen til Trygves side!</h1>