aboutsummaryrefslogtreecommitdiff
path: root/app/views/partials
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
committerThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
commit2bdcd9d9283b44e7c35822aa1317013928006fd8 (patch)
treeca2bf097e4dfcfdabba36a5cb2643560ab03b926 /app/views/partials
downloadthedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.gz
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.bz2
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.zip
Initialize Repo: First Commit
Diffstat (limited to 'app/views/partials')
-rw-r--r--app/views/partials/footer.php117
-rw-r--r--app/views/partials/header.php23
-rw-r--r--app/views/partials/header.posts.php16
-rw-r--r--app/views/partials/navigator.php36
4 files changed, 192 insertions, 0 deletions
diff --git a/app/views/partials/footer.php b/app/views/partials/footer.php
new file mode 100644
index 0000000..e25fc85
--- /dev/null
+++ b/app/views/partials/footer.php
@@ -0,0 +1,117 @@
+<div class="hero-foot">
+
+ <footer class="footer footer__custom">
+
+ <div class="columns">
+
+ <div class="column footer__left">
+
+ <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>&copy; Thedro Neely</p></li>
+
+ </div>
+ </div>
+
+ </div>
+
+ <div class="column footer__middle">
+
+ <div class="has-text-centered">
+ <div class="footer-left is-size-7">
+
+ <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>
+ </div>
+
+ </div>
+
+ <div class="column footer__right">
+
+ <div class="has-text-centered is-size-7">
+ <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">&mdash; PGP Public Key &mdash;</a></p>
+
+ </div>
+ </div>
+
+ </div>
+
+ </div>
+
+ </footer>
+
+</div>
+
+</section>
+
+<script type="application/ld+json">
+{
+ "@context": "http://schema.org",
+ "@type": "WebSite",
+ "mainEntityOfPage": {
+ "@type": "WebPage",
+ "@id": "/"
+ },
+ "name": "Thedro Neely: Portfolio",
+ "description": "Thedro's Personal Website",
+ "author": {
+ "@type": "Person",
+ "name": "Thedro Neely",
+ "email": "thedroneely@gmail.com"
+ },
+ "publisher": {
+ "name": "Thedro Neely",
+ "type": "Person"
+
+ }
+}
+</script>
+
+<script>
+document.addEventListener('DOMContentLoaded', function () {
+ var $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
+ if ($navbarBurgers.length > 0) {
+ $navbarBurgers.forEach(function ($el) {
+ $el.addEventListener('click', function () {
+ var target = $el.dataset.target;
+ var $target = document.getElementById(target);
+ $el.classList.toggle('is-active');
+ $target.classList.toggle('is-active');
+ });
+ });
+ }
+});
+</script>
+
+<?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>
+ new Vue({
+ el: '#contact-vue',
+ data: {
+ name: '',
+ email: '',
+ message: ''
+ }
+
+ });
+</script>
+
+<?php } ?>
+
+</body>
+</html>
diff --git a/app/views/partials/header.php b/app/views/partials/header.php
new file mode 100644
index 0000000..2162868
--- /dev/null
+++ b/app/views/partials/header.php
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html class="has-navbar-fixed-top" lang="en-us">
+<head>
+
+ <meta charset="utf-8">
+
+ <title><?php 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 name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="index,follow">
+
+ <link href="/rss.xml" rel="feed" type="application/rss+xml" title="Edwin Mattiacci"/>
+
+ <link rel="icon" type="image/png" href="/images/favicon-32x32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="/images/favicon-16x16.png" sizes="16x16">
+
+ <link rel="stylesheet" href="/css/smorg.css">
+
+</head>
diff --git a/app/views/partials/header.posts.php b/app/views/partials/header.posts.php
new file mode 100644
index 0000000..87189bd
--- /dev/null
+++ b/app/views/partials/header.posts.php
@@ -0,0 +1,16 @@
+
+ <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 name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="index,follow">
+
+ <link href="/rss.xml" rel="feed" type="application/rss+xml" title="Edwin Mattiacci"/>
+
+ <link rel="icon" type="image/png" href="/images/favicon-32x32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="/images/favicon-16x16.png" sizes="16x16">
+
+ <link rel="stylesheet" href="/css/smorg.css">
diff --git a/app/views/partials/navigator.php b/app/views/partials/navigator.php
new file mode 100644
index 0000000..96facde
--- /dev/null
+++ b/app/views/partials/navigator.php
@@ -0,0 +1,36 @@
+<?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">
+
+ <?php $navigation->generatehomeButton(); ?>
+
+ <div class="navbar-burger burger has-text-white" data-target="navMenu">
+ <span></span>
+ <span></span>
+ <span></span>
+ </div>
+ </div>
+ <div class="navbar-menu" id="navMenu">
+
+ <div class="navbar-start">
+
+ <div class="navbar-item">
+ <div class="control">
+ <input class="navbar__search input" type="text">
+ </div>
+ </div>
+
+ </div>
+
+ <div class="navbar-end">
+
+ <?php $navigation->generateNavBar(); ?>
+
+ </div>
+ </div>
+ </div>
+ </nav>