aboutsummaryrefslogtreecommitdiff
path: root/app/views/index.view.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-10-19 03:31:22 -0400
committerThedro Neely <thedroneely@gmail.com>2019-10-19 03:31:22 -0400
commitd803edaf2f18923e467228fb8edfbeee99861a3c (patch)
treee931fd6097329ac4b16be213bda69cecd57a9139 /app/views/index.view.php
parent82350adcaa24ef8a8c70a5bd8913ad7e3f80ac3e (diff)
downloadthedroneely.com-d803edaf2f18923e467228fb8edfbeee99861a3c.tar.gz
thedroneely.com-d803edaf2f18923e467228fb8edfbeee99861a3c.tar.bz2
thedroneely.com-d803edaf2f18923e467228fb8edfbeee99861a3c.zip
app/views: Replace calls for feather icons with helper function
Diffstat (limited to 'app/views/index.view.php')
-rw-r--r--app/views/index.view.php14
1 files changed, 3 insertions, 11 deletions
diff --git a/app/views/index.view.php b/app/views/index.view.php
index f62a47d..98eeea4 100644
--- a/app/views/index.view.php
+++ b/app/views/index.view.php
@@ -78,13 +78,9 @@
?>
<a href="/posts/page/2/"
- class="front__more is-block has-text-centered">
+ class="front__more is-block has-text-centered">
See More Posts
- <?php echo file_get_contents(
- $_SERVER['DOCUMENT_ROOT']
- . '/..'
- . '/public/css/fonts/feather-icons/chevron-right.svg'
- ); ?>
+ <?php featherIcon('chevron-right'); ?>
</a>
<br>
@@ -110,11 +106,7 @@
<a href="/projects/"
class="front__more is-block has-text-centered">
See More Projects
- <?php echo file_get_contents(
- $_SERVER['DOCUMENT_ROOT']
- . '/..'
- . '/public/css/fonts/feather-icons/chevron-right.svg'
- ); ?>
+ <?php featherIcon('chevron-right'); ?>
</a>
<br>