diff options
-rw-r--r-- | app/views/404.view.php | 31 | ||||
-rw-r--r-- | app/views/contact.view.php | 14 | ||||
-rw-r--r-- | app/views/contact.view.php.bak | 134 | ||||
-rw-r--r-- | app/views/index.view.php | 4 | ||||
-rw-r--r-- | app/views/partials/footer.php | 66 | ||||
-rw-r--r-- | app/views/partials/header.error.php | 12 | ||||
-rw-r--r-- | app/views/partials/header.php | 5 | ||||
-rw-r--r-- | app/views/partials/header.posts.php | 3 | ||||
-rw-r--r-- | app/views/partials/navigator.php | 4 |
9 files changed, 51 insertions, 222 deletions
diff --git a/app/views/404.view.php b/app/views/404.view.php deleted file mode 100644 index f0bbae0..0000000 --- a/app/views/404.view.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php require __DIR__ . '/partials/header.php'; ?> - - <section class="section hero is-fullheight" itemscope itemtype="http://schema.org/HomePage"> - <div class="hero-head"> - - <?php require __DIR__ . '/partials/navigator.php'; ?> - - </div> - - <div class="hero-body"> - <div class="container"> - <div class="columns"> - <div class="column is-8 is-offset-2 has-text-centered"> - - <h1 style="font-size: 3em;">404</h1> - - <br> - - <h2>Page Not Found</h2> - <p>Sorry, this page does not exist.<p> - - <br> - - <p>You can head back to <a href="/">homepage</a>.</p> - - </div> - </div> - </div> - </div> - -<?php require __DIR__ . '/partials/footer.php'; ?> diff --git a/app/views/contact.view.php b/app/views/contact.view.php index 7cbf752..3c238a7 100644 --- a/app/views/contact.view.php +++ b/app/views/contact.view.php @@ -14,19 +14,7 @@ <div class="hero-body"> <div class="container"> <div class="columns"> - - <div class="contact-notification notification is-success"> - <button class="delete"></button> - <p class="is-size-7"> - <strong>Message delivered.</strong> - <br> - Thank you for your message. - <br> - <a href="#">Return to the home page</a> - </p> - </div> - - <div class="column is-6 is-offset-3 has-text-centered"> + <div class="column is-6 is-offset-3 has-text-left"> <h1 class="title is-3">Contact</h1> <div class="content"> diff --git a/app/views/contact.view.php.bak b/app/views/contact.view.php.bak deleted file mode 100644 index ec41085..0000000 --- a/app/views/contact.view.php.bak +++ /dev/null @@ -1,134 +0,0 @@ -<?php require __DIR__ . '/partials/header.php'; ?> - <body> - - <section class="section hero is-fullheight" itemscope itemtype="http://schema.org/WebPage"> - - <div class="hero-head"> - - <?php require __DIR__ . '/partials/navigator.php'; ?> - - </div> - - <div class="hero-body"> - <div class="container"> - <div class="columns"> - <div class="column is-8 is-offset-2 has-text-centered"> - <h1 class="title is-3">Contact</h1> - - <div class="content"> - - <p> - Interested in collaborating together? Complete the form below with basic info about your project or idea. Please allow 24-48 hours for a response. - </p> - - </div> - - <form class="form-limit" method="post" action="/?sent"> - - <div class="field is-horizontal"> - <div class="field-body"> - <div class="field is-expanded"> - <label class="label">Name</label> - <div class="field has-addons"> - <p class="control is-expanded"> - <input class="input" type="text" name="26471" placeholder="Jason Response"> - </p> - </div> - </div> - <div class="field is-expanded"> - <label class="label">Email</label> - <div class="field has-addons"> - <p class="control is-expanded"> - <input class="input" type="email" name="26472" placeholder="user@domain.com"> - </p> - </div> - </div> - </div> - </div> - - <div class="field is-horizontal"> - <div class="field-body"> - <div class="field is-expanded"> - <label class="label">Phone</label> - <div class="field has-addons"> - <p class="control is-expanded"> - <input class="input" type="tel" name="26473" placeholder="242 777 7777"> - </p> - </div> - </div> - <div class="field is-expanded"> - <label class="label">Budget</label> - <div class="field has-addons"> - <p class="control is-expanded"> - <input class="input" type="text" name="26474" placeholder="Tell us your budget"> - </p> - </div> - </div> - </div> - </div> - - <div class="field is-horizontal"> - <div class="field-body"> - <div class="field is-expanded"> - <label class="label">Timeline</label> - <div class="field has-addons"> - <p class="control is-expanded"> - <input class="input" type="text" name="26475" placeholder="3 weeks and 2 days"> - </p> - </div> - </div> - <div class="field is-expanded"> - <label class="label">Website</label> - <div class="field has-addons"> - <p class="control is-expanded"> - <input class="input" type="text" name="26476" placeholder="http://www.example.com"> - </p> - </div> - </div> - </div> - </div> - - <label class="label">Subject</label> - <div class="field is-horizontal"> - <div class="field-body"> - <div class="field"> - <input class="input" type="text" name="26477" placeholder="Bonjour!"> - </div> - </div> - </div> - - <label class="label">Message</label> - <div class="field is-horizontal"> - <div class="field-body"> - <div class="field"> - <div class="control"> - <textarea class="textarea" name="26478" placeholder="How would you describe your project?"></textarea> - </div> - </div> - </div> - </div> - - <br> - - <div class="field is-horizontal"> - <div class="field-body"> - <div class="field"> - <div class="control"> - <button class="button is-primary"> - Send message - </button> - </div> - </div> - </div> - </div> - - <input type="checkbox" name="contact" class="form" tabindex="-1" autocomplete="off"> - - </form> - - </div> - </div> - </div> - </div> - -<?php require __DIR__ . '/partials/footer.php'; ?> diff --git a/app/views/index.view.php b/app/views/index.view.php index 0487beb..d41f5cc 100644 --- a/app/views/index.view.php +++ b/app/views/index.view.php @@ -9,7 +9,7 @@ </div> <div class="hero-body"> - <div class="container" style="max-width: 882px"> + <div class="container"> <div class="columns"> <div class="column is-8 has-text-left"> <h1 class="title"><span>Web<span class="has-text-danger"> Developer</span></span></h1> @@ -72,7 +72,7 @@ </a> </li> <li> - <a style="background-color: #fff; color: #999; border: 1px solid #fff"> + <a style="background-color: #fff; color: #999; border: 0;"> <span class="is-size-7">Status</span> </a> </li> diff --git a/app/views/partials/footer.php b/app/views/partials/footer.php index e25fc85..04e9633 100644 --- a/app/views/partials/footer.php +++ b/app/views/partials/footer.php @@ -1,55 +1,57 @@ <div class="hero-foot"> - <footer class="footer footer__custom"> +<footer class="footer has-text-left"> - <div class="columns"> +<div class="container"> +<div class="columns"> - <div class="column footer__left"> + <div class="column"> - <div class="has-text-centered"> - <div class="footer-left has-text-black is-size-7"> - <p>Design inspired by <a class="has-text-black" href="https://github.com/solutionroute/hugo-smorg">Smorg</a></p> - <p>Built with <a class="has-text-black" href="https://secure.php.net/">PHP</a> | <a class="has-text-black" href="https://gohugo.io/">Hugo</a> | <a class="has-text-black" href="https://posativ.org/isso/">Isso</a></p> - <p>© Thedro Neely</p></li> + <div class="footer__custom"> - </div> - </div> + <p class="has-text-grey is-size-7">Design inspired by <a href="https://github.com/solutionroute/hugo-smorg">Smorg</a></p> + <p class="has-text-grey is-size-7">Built with <a href="https://secure.php.net/">PHP</a> | <a href="https://gohugo.io/">Hugo</a> | <a href="https://posativ.org/isso/">Isso</a></p> + <p class="has-text-grey is-size-7">© Thedro Neely</p> + <hr> - </div> + </div> - <div class="column footer__middle"> - <div class="has-text-centered"> - <div class="footer-left is-size-7"> + </div> - <p><a class="has-text-black" href="https://github.com/tdro">Github Profile</a></p> - <p><a class="has-text-black" href="https://gitlab.com/tdro">Gitlab Repository</a></p> - <p><a class="has-text-black" href="#">Contact Page</a></p> + <div class="column"> - </div> - </div> - </div> + <div class="footer__custom"> - <div class="column footer__right"> + <p class="has-text-grey is-size-7" ><a href="https://github.com/tdro">Github Profile</a></p> + <p class="has-text-grey is-size-7" ><a href="https://gitlab.com/tdro">Gitlab Repository</a></p> + <p class="has-text-grey is-size-7" ><a href="/rss.xml">RSS Syndication</a></p> + <hr> - <div class="has-text-centered is-size-7"> - <div> + </div> - <p class="img__margin"><a href="/pgp.asc"><img src="/images/pgp.png" height="111" width="111" alt="PGP Key"></a></p> - <p><a class="has-text-black" href="/pgp.asc">— PGP Public Key —</a></p> - </div> - </div> + </div> - </div> + <div class="column"> - </div> + <div class="has-text-centered has-text-grey is-size-7"> + + <p><a href="/pgp.asc"><img src="/images/pgp.png" height="111" width="111" alt="PGP Key"></a></p> + <p><a href="/pgp.asc">— PGP Public Key —</a></p> + + </div> - </footer> + </div> </div> +</div> + +</footer> + + </div> </section> @@ -94,10 +96,8 @@ document.addEventListener('DOMContentLoaded', function () { <?php if (trim($_SERVER['REQUEST_URI'], '/') == 'contact') { ?> -<script src="https://cdn.jsdelivr.net/npm/vue"></script> - <!-- development version, includes helpful console warnings --> -<!-- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> --> +<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> <script> new Vue({ diff --git a/app/views/partials/header.error.php b/app/views/partials/header.error.php new file mode 100644 index 0000000..243e78f --- /dev/null +++ b/app/views/partials/header.error.php @@ -0,0 +1,12 @@ +<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/vendor/autoload.php'; ?> + +<?php $navigation = new Navigation; ?> + +<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/partials/header.php'; ?> + + <section class="section hero is-fullheight" itemscope itemtype="http://schema.org/HomePage"> + <div class="hero-head"> + + <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/partials/navigator.php'; ?> + + </div> diff --git a/app/views/partials/header.php b/app/views/partials/header.php index 2162868..b5e5dfe 100644 --- a/app/views/partials/header.php +++ b/app/views/partials/header.php @@ -2,14 +2,13 @@ <html class="has-navbar-fixed-top" lang="en-us"> <head> - <meta charset="utf-8"> - - <title><?php generateTitle(); ?>Portfolio - Thedro Neely</title> + <title><?php $navigation->generateTitle(); ?>Portfolio - Thedro Neely</title> <meta name="description" content="Thedro's Portfolio Website"> <meta name="keywords" content="Thedro,Neely,Portfolio,Website"> <meta name="author" content="Thedro Neely"> + <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="index,follow"> diff --git a/app/views/partials/header.posts.php b/app/views/partials/header.posts.php index 87189bd..ea2dccb 100644 --- a/app/views/partials/header.posts.php +++ b/app/views/partials/header.posts.php @@ -1,10 +1,9 @@ - <meta charset="utf-8"> - <meta name="description" content="Thedro's Portfolio Website Posts"> <meta name="keywords" content="Thedro,Neely,Portfolio,Website,Posts"> <meta name="author" content="Thedro Neely"> + <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="index,follow"> diff --git a/app/views/partials/navigator.php b/app/views/partials/navigator.php index 96facde..50b3578 100644 --- a/app/views/partials/navigator.php +++ b/app/views/partials/navigator.php @@ -1,7 +1,3 @@ -<?php include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/model/Navigation.php'; ?> - -<?php $navigation = new Navigation(); ?> - <nav class="navbar navbar__custom is-fixed-top" aria-label="main navigation"> <div class="container"> <div class="navbar-brand"> |