Prepare for test deployment

This commit is contained in:
Fred Boniface 2022-10-07 21:51:32 +01:00
parent b2ea8723c4
commit fb6496f951
8 changed files with 66 additions and 69 deletions

View File

@ -1,21 +1,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<?php <html lang="en">
include "./page-blocks/head-content.php";
include "./page-blocks/footer.php";
?>
<html>
<head> <head>
<?php insert_head(); ?> <?php include "./page-blocks/head.php"; ?>
<title>Email Safety</title> <title>Page Title</title>
</head> </head>
<body> <body>
<?php include "./page-blocks/menu.php"; ?>
<h1 class="page-title">Email Safety</h1> <h1 class="page-title">Page Title</h1>
<div class="page-main-content"> <div class="page-main-content">
<p> <p>
You are probably here beacuse you clicked a link in an email that I sent you. I was going to link to a quick guide to email safety but all I could find were specific guides aimed at children or the elderly. In the end I decided to throw a rough guide together. You are probably here beacuse you clicked a link in an email that I sent you. I was going to link to a quick guide to email safety but all I could find were specific guides aimed at children or the elderly. In the end I decided to throw a rough guide together.
</p> </p>
@ -59,7 +56,7 @@
</p> </p>
</div> </div>
<?php insert_footer(); ?> <?php include "./page-blocks/footer.php"; ?>
</body> </body>
</html> </html>

View File

@ -1,32 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<?php include "./php/age.php"; ?>
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <?php include "./page-blocks/head.php"; ?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/styles.css">
<script src="/js/navbar.js"></script>
<title>Fred Boniface</title> <title>Fred Boniface</title>
</head> </head>
<body> <body>
<div class="topnav" id="myTopnav"> <?php include "./page-blocks/menu.php"; ?>
<a href="/">Home</a>
<a href="/gpg.php">GPG</a>
<div class="dropdown">
<button class="dropbtn">Dropdown
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</div>
<a href="/projects.php">Projects</a>
<a href="javascript:void(0);" class="icon" onclick="hamburger()">&#9776;</a>
</div>
<h1 class="page-title">Hello</h1> <h1 class="page-title">Hello</h1>
<div class="page-main-content"> <div class="page-main-content">
@ -51,7 +35,7 @@
</p> </p>
</div> </div>
<footer><p>© Frederick Boniface 2022</p></footer> <?php include "./page-blocks/footer.php"; ?>
</body> </body>
</html> </html>

View File

@ -0,0 +1,2 @@
<?php
<footer><p>© Frederick Boniface 2022</p></footer>

5
page-blocks/head.php Normal file
View File

@ -0,0 +1,5 @@
<?php
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/styles.css">
<script src="/js/navbar.js"></script>

View File

@ -1,24 +1,17 @@
<div class="navbar" id="navbar"> <?php
<a class="logo" href="/index.html"><img src="/static-objects/navbar/home.svg" alt="Home" width="26" height="26"></a> <div class="topnav" id="myTopnav">
<div class="mobile"> <a href="/">Home</a>
<a href="/index.html">Home</a> <a href="/gpg.php">GPG</a>
</div> <div class="dropdown">
<div class="dropdown"> <button class="dropbtn">Dropdown
<button class="dropbutton">Identity &#10549;</button> <i class="fa fa-caret-down"></i>
<div class="droplist"> </button>
<a href="/identity">&#10551; Key Downloads</a> <div class="dropdown-content">
<a href="/identity/about.html">&#10551; About PGP</a> <a href="#">Link 1</a>
</div> <a href="#">Link 2</a>
</div> <a href="#">Link 3</a>
<div class="dropdown"> </div>
<button class="dropbutton">FDS &#10549;</button> </div>
<div class="droplist"> <a href="/projects.php">Projects</a>
<a href="/fds">&#10551; About FDS</a> <a href="javascript:void(0);" class="icon" onclick="hamburger()">&#9776;</a>
<a href="/fds/ultrasonic">&#10551; Ultrasonic</a> </div>
</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>

21
page-blocks/template.php Normal file
View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<?php include "./page-blocks/head.php"; ?>
<title>Page Title</title>
</head>
<body>
<?php include "./page-blocks/menu.php"; ?>
<h1 class="page-title">Page Title</h1>
<div class="page-main-content">
</div>
<?php include "./page-blocks/footer.php"; ?>
</body>
</html>

21
pgp.php
View File

@ -1,21 +1,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<?php <html lang="en">
include "./page-blocks/head-content.php";
include "./page-blocks/footer.php";
?>
<html>
<head> <head>
<?php insert_head(); ?> <?php include "./page-blocks/head.php"; ?>
<title>PGP/GPG</title> <title>Page Title</title>
</head> </head>
<body> <body>
<?php include "./page-blocks/menu.php"; ?>
<h1 class="page-title">PGP/GPG</h1> <h1 class="page-title">Page Title</h1>
<div class="page-main-content"> <div class="page-main-content">
<p> <p>
PGP stand for 'Pretty Good Privacy', GPG stands for 'GNU Privacy Guard' PGP stand for 'Pretty Good Privacy', GPG stands for 'GNU Privacy Guard'
, for the scope of this website they are interchangable. , for the scope of this website they are interchangable.
</p> </p>
@ -26,11 +23,9 @@
to verify commits and downloads from my <a href="https://git.fjla.uk"> to verify commits and downloads from my <a href="https://git.fjla.uk">
gitea server</a>. gitea server</a>.
</p> </p>
</div> </div>
<?php insert_footer(); ?> <?php include "./page-blocks/footer.php"; ?>
</body> </body>
</html> </html>