Prepare pre-template for html verification

This commit is contained in:
Fred Boniface 2022-10-07 19:44:52 +01:00
parent 2f85fe1fd9
commit 6f4b38d99a
5 changed files with 88 additions and 54 deletions

64
index.html Normal file
View File

@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Fred Boniface - Hello</title>
</head>
<body>
<div class="navbar" id="navbar">
<a class="logo" href="/index.html"><img src="/static-objects/navbar/home.svg" alt="Home" width="26" height="26"></a>
<div class="mobile">
<a href="/index.html">Home</a>
</div>
<div class="dropdown">
<button class="dropbutton">Identity &#10549;</button>
<div class="droplist">
<a href="/identity">&#10551; Key Downloads</a>
<a href="/identity/about.html">&#10551; About PGP</a>
</div>
</div>
<div class="dropdown">
<button class="dropbutton">FDS &#10549;</button>
<div class="droplist">
<a href="/fds">&#10551; About FDS</a>
<a href="/fds/ultrasonic">&#10551; Ultrasonic</a>
</div>
</div>
<a href="/projects">Projects</a>
<a href="/about.html">About</a>
<i>Fred Boniface</i>
<a href="javascript:void(0);" class="icon" onclick="hamburger()">&#9776;</a>
</div>
<h1 class="page-title">Hello</h1>
<div class="page-main-content">
<p>
Hi, I am Fred Boniface - a <?php echo getAge(1993,11); ?> year old Rail
Professional with many interests outside of work and while I do have
many opinions about the state of the rail industry at present, this
website aims to be about my personal life and interests, rather than my
work.
</p>
<p>
I am married to Jade and we have two children, Lucy & Ava-Rose - both
in school. I will get around to adding some images to this page - I
promise.
</p>
<p>
To keep this homepage simple and easy to digest, I won't waffle on
about too much here, but there is more to read about each topic on
the relevant page.
</p>
</div>
<footer>© Frederick Boniface 2022</footer>
</body>
</html>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<?php
include "./php/age.php";
include "./page-blocks/head-content.php";
include "./page-blocks/footer.php";
?>
<html>
<head>
<?php insert_head(); ?>
<title>Fred Boniface - Hello</title>
</head>
<body>
<h1 class="page-title">Hello</h1>
<div class="page-main-content">
<p>
Hi, I am Fred Boniface - a <?php echo getAge(1993,11); ?> year old Rail
Professional with many interests outside of work and while I do have
many opinions about the state of the rail industry at present, this
website aims to be about my personal life and interests, rather than my
work.
</p>
<p>
I am married to Jade and we have two children, Lucy & Ava-Rose - both
in school. I will get around to adding some images to this page - I
promise.
</p>
<p>
To keep this homepage simple and easy to digest, I won't waffle on
about too much here, but there is more to read about each topic on
the relevant page.
</p>
</div>
<?php insert_footer(); ?>
</body>
</html>

View File

@ -1,4 +0,0 @@
<?php
function insert_footer() {
echo "<footer>© Frederick Boniface 2022</footer>";
}

View File

@ -1,6 +0,0 @@
<?php
function insert_head() {
echo '<meta http-equiv="content-type" content="text/html; charset=UTF-8">';
echo '<meta name="viewport" content="width=device-width, initial-scale=1">';
echo '<link rel="stylesheet" type="text/css" href="./css/styles.css">';
}

View File

@ -1 +1,24 @@
<?php
<div class="navbar" id="navbar">
<a class="logo" href="/index.html"><img src="/static-objects/navbar/home.svg" alt="Home" width="26" height="26"></a>
<div class="mobile">
<a href="/index.html">Home</a>
</div>
<div class="dropdown">
<button class="dropbutton">Identity &#10549;</button>
<div class="droplist">
<a href="/identity">&#10551; Key Downloads</a>
<a href="/identity/about.html">&#10551; About PGP</a>
</div>
</div>
<div class="dropdown">
<button class="dropbutton">FDS &#10549;</button>
<div class="droplist">
<a href="/fds">&#10551; About FDS</a>
<a href="/fds/ultrasonic">&#10551; Ultrasonic</a>
</div>
</div>
<a href="/projects">Projects</a>
<a href="/about.html">About</a>
<i>Fred Boniface</i>
<a href="javascript:void(0);" class="icon" onclick="hamburger()">&#9776;</a>
</div>