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,19 +1,16 @@
<!DOCTYPE html>
<?php
include "./page-blocks/head-content.php";
include "./page-blocks/footer.php";
?>
<html>
<html lang="en">
<head>
<?php insert_head(); ?>
<title>Email Safety</title>
<?php include "./page-blocks/head.php"; ?>
<title>Page Title</title>
</head>
<body>
<h1 class="page-title">Email Safety</h1>
<?php include "./page-blocks/menu.php"; ?>
<h1 class="page-title">Page Title</h1>
<div class="page-main-content">
<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.
@ -59,7 +56,7 @@
</p>
</div>
<?php insert_footer(); ?>
<?php include "./page-blocks/footer.php"; ?>
</body>
</html>

View File

@ -1,32 +1,16 @@
<!DOCTYPE html>
<?php include "./php/age.php"; ?>
<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">
<link rel="stylesheet" href="./css/styles.css">
<script src="/js/navbar.js"></script>
<?php include "./page-blocks/head.php"; ?>
<title>Fred Boniface</title>
</head>
<body>
<div class="topnav" id="myTopnav">
<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>
<?php include "./page-blocks/menu.php"; ?>
<h1 class="page-title">Hello</h1>
<div class="page-main-content">
@ -51,7 +35,7 @@
</p>
</div>
<footer><p>© Frederick Boniface 2022</p></footer>
<?php include "./page-blocks/footer.php"; ?>
</body>
</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">
<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>
<?php
<div class="topnav" id="myTopnav">
<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>
<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>
<a href="/projects.php">Projects</a>
<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>

19
pgp.php
View File

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