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:
24
pages/about.php
Normal file → Executable file
24
pages/about.php
Normal file → Executable file
@ -1,2 +1,26 @@
|
||||
#!/usr/bin/php
|
||||
|
||||
<?php
|
||||
include "helpers/body_open.php";
|
||||
?>
|
||||
|
||||
<h1>Curious About Me?</h1>
|
||||
<p>
|
||||
TBD
|
||||
</p>
|
||||
|
||||
<?php
|
||||
include "helpers/section_open.php";
|
||||
include "subpages/about/whoami.php";
|
||||
include "helpers/section_close.php";
|
||||
|
||||
include "helpers/section_open.php";
|
||||
include "subpages/about/stance.php";
|
||||
include "helpers/section_close.php";
|
||||
|
||||
include "helpers/section_open.php";
|
||||
include "subpages/about/notice.php";
|
||||
include "helpers/section_close.php";
|
||||
|
||||
include "helpers/body_close.php";
|
||||
?>
|
||||
|
1
pages/helpers/advisory.php
Executable file
1
pages/helpers/advisory.php
Executable file
@ -0,0 +1 @@
|
||||
#!/usr/bin/php
|
3
pages/helpers/body_close.php
Normal file → Executable file
3
pages/helpers/body_close.php
Normal file → Executable file
@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
include "footer.php"
|
||||
?>
|
||||
|
9
pages/helpers/body_open.php
Normal file → Executable file
9
pages/helpers/body_open.php
Normal file → Executable 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
9
pages/helpers/footer.php
Normal file → Executable 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>
|
||||
|
@ -1 +0,0 @@
|
||||
DELETEME
|
15
pages/helpers/header.php
Normal file → Executable file
15
pages/helpers/header.php
Normal file → Executable 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>
|
||||
|
||||
|
@ -40,3 +40,18 @@
|
||||
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
3
pages/helpers/menu.php
Normal file → Executable 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
1
pages/helpers/section_close.php
Normal file → Executable file
@ -0,0 +1 @@
|
||||
#!/usr/bin/php
|
||||
|
1
pages/helpers/section_open.php
Normal file → Executable file
1
pages/helpers/section_open.php
Normal file → Executable file
@ -0,0 +1 @@
|
||||
#!/usr/bin/php
|
||||
|
1
pages/subpages/about/notice.php
Normal file → Executable file
1
pages/subpages/about/notice.php
Normal file → Executable file
@ -0,0 +1 @@
|
||||
#!/usr/bin/php
|
||||
|
1
pages/subpages/about/stance.php
Normal file → Executable file
1
pages/subpages/about/stance.php
Normal file → Executable file
@ -0,0 +1 @@
|
||||
#!/usr/bin/php
|
||||
|
1
pages/subpages/about/whoami.php
Normal file → Executable file
1
pages/subpages/about/whoami.php
Normal file → Executable file
@ -0,0 +1 @@
|
||||
#!/usr/bin/php
|
||||
|
1
pages/subpages/home/apps.php
Normal file → Executable file
1
pages/subpages/home/apps.php
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/php
|
||||
<h2> My Public Programs </h2>
|
||||
|
||||
<h3> Android Apps </h3>
|
||||
|
1
pages/subpages/home/contact.php
Normal file → Executable file
1
pages/subpages/home/contact.php
Normal file → Executable file
@ -0,0 +1 @@
|
||||
#!/usr/bin/php
|
||||
|
5
pages/subpages/home/health.php
Normal file → Executable file
5
pages/subpages/home/health.php
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
<h1> My Health Protocol </h1>
|
||||
#!/usr/bin/php
|
||||
<h1> My Health Protocol </h1>
|
||||
|
||||
<!-- URL to MyPriorities.pdf on files.hyperling.com -->
|
||||
<!-- URL to MyPriorities.pdf on files.hyperling.com -->
|
3
pages/subpages/support/donate.php
Normal file → Executable file
3
pages/subpages/support/donate.php
Normal file → Executable file
@ -1 +1,2 @@
|
||||
<!-- How people can support me with currency if they so desire. -->
|
||||
#!/usr/bin/php
|
||||
<!-- How people can support me with currency if they so desire. -->
|
3
pages/subpages/support/gifts.php
Normal file → Executable file
3
pages/subpages/support/gifts.php
Normal file → Executable file
@ -1 +1,2 @@
|
||||
<!-- Gift ideas such as dried fruit, teas, etc. -->
|
||||
#!/usr/bin/php
|
||||
<!-- Gift ideas such as dried fruit, teas, etc. -->
|
4
pages/support.php
Normal file → Executable file
4
pages/support.php
Normal file → Executable file
@ -8,8 +8,8 @@
|
||||
include "helpers/body_open.php";
|
||||
?>
|
||||
|
||||
<h1>Support<h1>
|
||||
<p>
|
||||
<h1>Support</h1>
|
||||
<p>
|
||||
While I do not ask for anything, and prefer to take care of myself,
|
||||
I acknowledge that some people enjoy gift giving and would like to
|
||||
help me out. Below are my preferred ways that this be done.
|
||||
|
31
pages/test.sh
Executable file
31
pages/test.sh
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Move to the directory that this file is in.
|
||||
cd `dirname $0`
|
||||
|
||||
# Create the necessary HTML components for a web page.
|
||||
./helpers/body_open.php
|
||||
echo -e "\t\t<h1>This is a web page written in BASH!!!</h1>"
|
||||
cat << EOF
|
||||
<p>
|
||||
Look at all the fancy things we can do!
|
||||
</p>
|
||||
<h2>Current Time</h2>
|
||||
<p>
|
||||
We can use the date command to spit out the time!
|
||||
</p>
|
||||
<p>
|
||||
`date`
|
||||
</p>
|
||||
EOF
|
||||
|
||||
# Create a subsection
|
||||
./helpers/section_open.php
|
||||
echo -e "\t\t<h2>Server Neofetch</h2>"
|
||||
echo -e "\t\t<p>"
|
||||
neofetch --stdout
|
||||
echo -e "\t\t</p>"
|
||||
./helpers/section_close.php
|
||||
|
||||
# Finish the web page
|
||||
./helpers/body_close.php
|
Reference in New Issue
Block a user