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/index.view.php | 2 +- 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 ++++++++++++++++++ app/views/resume.view.php | 26 ++------------------------ app/views/snippets/favicons.php | 7 ------- app/views/snippets/rss.php | 5 ----- app/views/snippets/stylesheets.php | 15 --------------- app/views/upload.view.php | 23 +---------------------- 17 files changed, 99 insertions(+), 91 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 delete mode 100644 app/views/snippets/favicons.php delete mode 100644 app/views/snippets/rss.php delete mode 100644 app/views/snippets/stylesheets.php (limited to 'app') diff --git a/app/views/index.view.php b/app/views/index.view.php index 1331140..8bfa2c1 100644 --- a/app/views/index.view.php +++ b/app/views/index.view.php @@ -8,7 +8,7 @@
-

Web Developer

+

Web Developer

In it for the long haul

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 @@ + + + + + + + + + + + + + + diff --git a/app/views/resume.view.php b/app/views/resume.view.php index dd3d3e8..ede40eb 100644 --- a/app/views/resume.view.php +++ b/app/views/resume.view.php @@ -1,28 +1,6 @@ - - + - - - Resume - Thedro Neely - - - - - - - - - - - - - - - - - - - + diff --git a/app/views/snippets/favicons.php b/app/views/snippets/favicons.php deleted file mode 100644 index f052ee5..0000000 --- a/app/views/snippets/favicons.php +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/app/views/snippets/rss.php b/app/views/snippets/rss.php deleted file mode 100644 index a37df92..0000000 --- a/app/views/snippets/rss.php +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/views/snippets/stylesheets.php b/app/views/snippets/stylesheets.php deleted file mode 100644 index 62b2ad9..0000000 --- a/app/views/snippets/stylesheets.php +++ /dev/null @@ -1,15 +0,0 @@ - - -color() === 'dark') { ?> - - - - diff --git a/app/views/upload.view.php b/app/views/upload.view.php index f504d5b..d4f913f 100644 --- a/app/views/upload.view.php +++ b/app/views/upload.view.php @@ -1,32 +1,11 @@ - + -
-
- -

Upload Files

-
-
-
-
- - - - - - - -- cgit v1.2.3