From 6d745f1e8c7b870524e01ee7a4886db38634e2ae Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Sat, 6 Jan 2024 19:16:12 -0500 Subject: app/partials: Unify headers Make easier to maintain. Use native upload and add htm. --- app/views/partials/footer.php | 2 -- app/views/partials/head.css.php | 15 +++++++++++++++ app/views/partials/head.discovery.php | 5 +++++ app/views/partials/head.js.php | 1 + app/views/partials/head.manifests.php | 7 +++++++ app/views/partials/head.meta.php | 11 +++++++++++ app/views/partials/header.error.php | 5 ----- app/views/partials/header.php | 19 ++++++++++++------- app/views/partials/header.posts.php | 7 ++++--- app/views/partials/header.resume.php | 22 ++++++++++++++++++++++ app/views/partials/header.upload.php | 18 ++++++++++++++++++ 11 files changed, 95 insertions(+), 17 deletions(-) create mode 100644 app/views/partials/head.css.php create mode 100644 app/views/partials/head.discovery.php create mode 100644 app/views/partials/head.js.php create mode 100644 app/views/partials/head.manifests.php create mode 100644 app/views/partials/head.meta.php delete mode 100644 app/views/partials/header.error.php create mode 100644 app/views/partials/header.resume.php create mode 100644 app/views/partials/header.upload.php (limited to 'app/views/partials') diff --git a/app/views/partials/footer.php b/app/views/partials/footer.php index 0a7b37b..fe9d9d3 100644 --- a/app/views/partials/footer.php +++ b/app/views/partials/footer.php @@ -35,5 +35,3 @@

- - diff --git a/app/views/partials/head.css.php b/app/views/partials/head.css.php new file mode 100644 index 0000000..62b2ad9 --- /dev/null +++ b/app/views/partials/head.css.php @@ -0,0 +1,15 @@ + + +color() === 'dark') { ?> + + + + diff --git a/app/views/partials/head.discovery.php b/app/views/partials/head.discovery.php new file mode 100644 index 0000000..a37df92 --- /dev/null +++ b/app/views/partials/head.discovery.php @@ -0,0 +1,5 @@ + + + + + diff --git a/app/views/partials/head.js.php b/app/views/partials/head.js.php new file mode 100644 index 0000000..f1ccc3a --- /dev/null +++ b/app/views/partials/head.js.php @@ -0,0 +1 @@ + diff --git a/app/views/partials/head.manifests.php b/app/views/partials/head.manifests.php new file mode 100644 index 0000000..f052ee5 --- /dev/null +++ b/app/views/partials/head.manifests.php @@ -0,0 +1,7 @@ + + + + + + + diff --git a/app/views/partials/head.meta.php b/app/views/partials/head.meta.php new file mode 100644 index 0000000..9f92e77 --- /dev/null +++ b/app/views/partials/head.meta.php @@ -0,0 +1,11 @@ + + <?php echo $title = $title ?? 'Portfolio - '; ?> + Thedro Neely + + + + + + + + diff --git a/app/views/partials/header.error.php b/app/views/partials/header.error.php deleted file mode 100644 index 5e11869..0000000 --- a/app/views/partials/header.error.php +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/views/partials/header.php b/app/views/partials/header.php index e5439be..c52ca19 100644 --- a/app/views/partials/header.php +++ b/app/views/partials/header.php @@ -1,9 +1,15 @@ - + -<?php echo $title = $title ?? 'Portfolio - '; ?>Thedro Neely + + <?php echo $title = $title ?? 'Portfolio - '; ?>Thedro Neely + @@ -12,10 +18,9 @@ - - - - - + + + + diff --git a/app/views/partials/header.posts.php b/app/views/partials/header.posts.php index d98d3c4..a473e24 100644 --- a/app/views/partials/header.posts.php +++ b/app/views/partials/header.posts.php @@ -1,6 +1,7 @@ + + + + +Resume - Thedro Neely + + + + + + + + + + + + + diff --git a/app/views/partials/header.upload.php b/app/views/partials/header.upload.php new file mode 100644 index 0000000..3710280 --- /dev/null +++ b/app/views/partials/header.upload.php @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + -- cgit v1.2.3