Made page gathering dynamic, added favicon, included css, worked on some content, created first bash page. Still very much in-progress but the framework is pretty much done. Needs more CSS and content.

This commit is contained in:
2022-10-08 09:19:40 -05:00
parent 8cfe6e43e2
commit 2e5ef4391a
24 changed files with 190 additions and 90 deletions

1
pages/helpers/advisory.php Executable file
View File

@ -0,0 +1 @@
#!/usr/bin/php

3
pages/helpers/body_close.php Normal file → Executable file
View File

@ -1,5 +1,4 @@
#!/usr/bin/php
<?php
include "footer.php"
?>

9
pages/helpers/body_open.php Normal file → Executable file
View File

@ -1,12 +1,11 @@
#!/usr/bin/php
<?php
include "header.php"
include "header.php";
?>
<body>
<?php
include "menu.php"
include "menu.php";
include "advisory.php";
?>

9
pages/helpers/footer.php Normal file → Executable file
View File

@ -1,3 +1,6 @@
<h6> Copyright $year </h6>
#!/usr/bin/php
<h6>
<a href="https://github.com/Hyperling/www/blob/main/LICENSE" target="_blank">
Copyright <?php echo date("Y"); ?>
</a>
</h6>

View File

@ -1 +0,0 @@
DELETEME

15
pages/helpers/header.php Normal file → Executable file
View File

@ -1,7 +1,16 @@
#!/usr/bin/php
<!DOCTYPE html>
<html>
<head>
<title>Hyperling</title>
<link rel="icon" sizes="32x32"
href="https://www.hyperling.com/wp-content/uploads/2020/09/favicon.ico"
/>
<link rel="icon" sizes="192x192"
href="https://www.hyperling.com/wp-content/uploads/2020/09/favicon.ico"
/>
<!--<link rel="stylesheet" href="/main.css">-->
<style>
<?php include "main.css"; ?>
</style>
</head>

57
pages/helpers/main.css Normal file
View File

@ -0,0 +1,57 @@
/* 2022-09-14 CSS for the website. */
/* https://www.w3schools.com/Css/css_rwd_grid.asp */
/* Enable dynamic stuffs */
* {
box-sizing: border-box;
}
/* Page Sections */
.menu {
width: 25%;
float: left;
}
.main {
width: 75%;
float: left;
}
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
[class*="col-"] {
float: left;
padding: 15px;
border: 1px solid red;
}
.row::after {
content: "";
clear: both;
display: table;
}
/* MyStuff ***/
/** Dark Theme **/
body {
background-color: #333333;
}
* {
color: #CCCCCC;
}
a {
color: #FF9900
}
h1,h2,h3,h4,h5,h6 {
color: #6633FF
}

3
pages/helpers/menu.php Normal file → Executable file
View File

@ -1,5 +1,4 @@
#!/usr/bin/php
<ul>
<li><a href="/home/">Home</a></li>
<li><a href="/about/">About</a></li>

1
pages/helpers/section_close.php Normal file → Executable file
View File

@ -0,0 +1 @@
#!/usr/bin/php

1
pages/helpers/section_open.php Normal file → Executable file
View File

@ -0,0 +1 @@
#!/usr/bin/php