diff options
| author | kj-sh604 | 2024-12-21 01:46:21 -0500 |
|---|---|---|
| committer | kj-sh604 | 2024-12-21 01:46:21 -0500 |
| commit | 552d06cd7e61c45476c55895422c8ca3d77a9bc6 (patch) | |
| tree | 6236304c52b9b6d96d2be2fe1078a06322f67847 /licenses | |
| parent | 8c77e2a9f6b5badf4b78a91a6c04e8c10bea7ce1 (diff) | |
refactor: cleaner codebase and best practices
Diffstat (limited to '')
| -rw-r--r-- | licenses.php | 8 | ||||
| -rw-r--r-- | licenses/LaTeX.php (renamed from LaTeX.php) | 10 | ||||
| -rw-r--r-- | licenses/gpl2.php (renamed from gpl2.php) | 10 | ||||
| -rw-r--r-- | licenses/index.php | 11 | ||||
| -rw-r--r-- | licenses/isc.php (renamed from isc.php) | 10 | ||||
| -rw-r--r-- | licenses/mit.php (renamed from mit.php) | 10 |
6 files changed, 35 insertions, 24 deletions
diff --git a/licenses.php b/licenses.php index 2ee145f..ebea509 100644 --- a/licenses.php +++ b/licenses.php @@ -22,10 +22,10 @@ ?> <h3>licenses</h3> <ul> - <li> <a href="gpl2.php"> pandoc's license (gnu gpl v2)</a> </li> - <li><a href="LaTeX.php"> The LaTeX Project Public License (1.3)</a></li> - <li><a href="mit.php"> SimpleMDE's license (mit)</a></li> - <li><a href="isc.php"> suckless sent's license (isc)</a></li> + <li> <a href="licenses/gpl2.php"> pandoc's license (gnu gpl v2)</a> </li> + <li><a href="licenses/LaTeX.php"> The LaTeX Project Public License (1.3)</a></li> + <li><a href="licenses/mit.php"> SimpleMDE's license (mit)</a></li> + <li><a href="licenses/isc.php"> suckless sent's license (isc)</a></li> </ul> diff --git a/LaTeX.php b/licenses/LaTeX.php index 759cd47..8ee752e 100644 --- a/LaTeX.php +++ b/licenses/LaTeX.php @@ -10,15 +10,15 @@ <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! 😆</title> <meta name="description" content="create .pdf presentations from markdown! 🤗 procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. 🏫 try copy and pasting your school notes! that might even work 😂"> - <?php include "includes/link-tags-in-head.php"; ?> + <?php include "../includes/link-tags-in-head.php"; ?> <meta name="color-scheme" content="light dark"> </head> <body> <?php - include "includes/license-banner.php"; - include "includes/secondary-info.php"; - include "includes/nav-header.php"; + include "../includes/license-banner.php"; + include "../includes/secondary-info.php"; + include "../includes/nav-header.php"; ?> <div class="centered"> <pre> @@ -446,7 +446,7 @@ Important Recommendations <br> <footer> - <?php include "includes/nav-footer.php"; ?> + <?php include "../includes/nav-footer.php"; ?> </footer> diff --git a/gpl2.php b/licenses/gpl2.php index da77682..072e729 100644 --- a/gpl2.php +++ b/licenses/gpl2.php @@ -10,15 +10,15 @@ <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! 😆</title> <meta name="description" content="create .pdf presentations from markdown! 🤗 procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. 🏫 try copy and pasting your school notes! that might even work 😂"> - <?php include "includes/link-tags-in-head.php"; ?> + <?php include "../includes/link-tags-in-head.php"; ?> <meta name="color-scheme" content="light dark"> </head> <body> <?php - include "includes/license-banner.php"; - include "includes/secondary-info.php"; - include "includes/nav-header.php"; + include "../includes/license-banner.php"; + include "../includes/secondary-info.php"; + include "../includes/nav-header.php"; ?> <div class="centered"> <pre> @@ -160,7 +160,7 @@ This General Public License does not permit incorporating your program into prop <br> <footer> - <?php include "includes/nav-footer.php"; ?> + <?php include "../includes/nav-footer.php"; ?> </footer> </body> diff --git a/licenses/index.php b/licenses/index.php new file mode 100644 index 0000000..9f683d1 --- /dev/null +++ b/licenses/index.php @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <meta name="color-scheme" content="light dark"> + <meta http-equiv="refresh" content="0; URL='https://youtu.be/XGxIE1hr0w4'" /> + <title>Art and Assets</title> +</head> +<body> + <p>If you are not redirected, <a href="https://youtu.be/XGxIE1hr0w4">click here for folder contents</a>.</p> +</body> +</html> diff --git a/isc.php b/licenses/isc.php index 9f3d53e..4ee5857 100644 --- a/isc.php +++ b/licenses/isc.php @@ -10,15 +10,15 @@ <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! 😆</title> <meta name="description" content="create .pdf presentations from markdown! 🤗 procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. 🏫 try copy and pasting your school notes! that might even work 😂"> - <?php include "includes/link-tags-in-head.php"; ?> + <?php include "../includes/link-tags-in-head.php"; ?> <meta name="color-scheme" content="light dark"> </head> <body> <?php - include "includes/license-banner.php"; - include "includes/secondary-info.php"; - include "includes/nav-header.php"; + include "../includes/license-banner.php"; + include "../includes/secondary-info.php"; + include "../includes/nav-header.php"; ?> <div class="centered"> <pre> @@ -59,7 +59,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. <br> <footer> - <?php include "includes/nav-footer.php"; ?> + <?php include "../includes/nav-footer.php"; ?> </footer> </body> diff --git a/mit.php b/licenses/mit.php index 2616d8f..ec50022 100644 --- a/mit.php +++ b/licenses/mit.php @@ -10,15 +10,15 @@ <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! 😆</title> <meta name="description" content="create .pdf presentations from markdown! 🤗 procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. 🏫 try copy and pasting your school notes! that might even work 😂"> - <?php include "includes/link-tags-in-head.php"; ?> + <?php include "../includes/link-tags-in-head.php"; ?> <meta name="color-scheme" content="light dark"> </head> <body> <?php - include "includes/license-banner.php"; - include "includes/secondary-info.php"; - include "includes/nav-header.php"; + include "../includes/license-banner.php"; + include "../includes/secondary-info.php"; + include "../includes/nav-header.php"; ?> <div class="centered"> <pre> @@ -50,7 +50,7 @@ SOFTWARE. <br> <footer> - <?php include "includes/nav-footer.php"; ?> + <?php include "../includes/nav-footer.php"; ?> </footer> |
