aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-03-28 21:41:11 -0400
committerThedro Neely <thedroneely@gmail.com>2019-03-28 21:41:11 -0400
commite40701e1565e5575e7c740498bfc3f138b3041ce (patch)
tree8f958a1c16ec8cd977680ffa569260452f23ddca
parent70d458b6044dc9613e4366020884dc76a74db8b9 (diff)
downloadedwinmattiacci.com-e40701e1565e5575e7c740498bfc3f138b3041ce.tar.gz
edwinmattiacci.com-e40701e1565e5575e7c740498bfc3f138b3041ce.tar.bz2
edwinmattiacci.com-e40701e1565e5575e7c740498bfc3f138b3041ce.zip
views/about: Add about page
-rw-r--r--bootstrap/Routes.php1
-rw-r--r--controllers/about.controller.php3
-rw-r--r--views/about.view.php7
3 files changed, 11 insertions, 0 deletions
diff --git a/bootstrap/Routes.php b/bootstrap/Routes.php
index f85d02b..33576e4 100644
--- a/bootstrap/Routes.php
+++ b/bootstrap/Routes.php
@@ -6,6 +6,7 @@ $router->get('', '../controllers/index.controller.php');
$router->get('contact', '../controllers/contact.controller.php');
$router->get('wall', '../controllers/wall.controller.php');
$router->get('comments', '../controllers/comments.controller.php');
+$router->get('about', '../controllers/about.controller.php');
$router->get('hashget', '../controllers/comments.controller.php');
$router->get('hashover', '../controllers/comments.controller.php');
diff --git a/controllers/about.controller.php b/controllers/about.controller.php
new file mode 100644
index 0000000..e65098f
--- /dev/null
+++ b/controllers/about.controller.php
@@ -0,0 +1,3 @@
+<?php
+
+require '../views/about.view.php';
diff --git a/views/about.view.php b/views/about.view.php
new file mode 100644
index 0000000..dbb5d46
--- /dev/null
+++ b/views/about.view.php
@@ -0,0 +1,7 @@
+<?php require __DIR__ . '/partials/header.php'; ?>
+
+ <h2 class="text-xl font-normal text-grey-darkest mb-6 leading-normal">
+ Edwin is a voiceover artist specializing in low to mid-range voiceovers.
+ </h2>
+
+<?php require __DIR__ . '/partials/footer.php'; ?>