diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-03-20 15:51:15 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-03-20 15:51:15 -0400 |
commit | 0c64183522bfdf31d50f7892224bbf00b23d18b5 (patch) | |
tree | a06e44e1dd81c6c0d381a7b8119bc43ed70a1f7a /views | |
parent | 369de9c617025d2c26d6a75dfecadf8e42451c61 (diff) | |
download | edwinmattiacci.com-0c64183522bfdf31d50f7892224bbf00b23d18b5.tar.gz edwinmattiacci.com-0c64183522bfdf31d50f7892224bbf00b23d18b5.tar.bz2 edwinmattiacci.com-0c64183522bfdf31d50f7892224bbf00b23d18b5.zip |
views/partials/footer: New footer design
Tailwind CSS
Diffstat (limited to 'views')
-rw-r--r-- | views/partials/footer.php | 62 |
1 files changed, 34 insertions, 28 deletions
diff --git a/views/partials/footer.php b/views/partials/footer.php index a78de08..04cf8db 100644 --- a/views/partials/footer.php +++ b/views/partials/footer.php @@ -1,42 +1,48 @@ -<?php -$footer = <<<'EOD' -Design inspired by -<a href="https://github.com/calintat/minimal">Minimal</a> | -© Edwin Mattiacci Voiceover -EOD; -?> - <?php if ($_SERVER['REQUEST_URI'] === '/') { ?> +<hr class="bg-grey-light h-px my-6"> - <footer class="footer footer-transparent"> +<p class="text-grey-darker">© Copyright <?php echo date('Y');?>. Edwin Mattiacci Voiceover</p> - <p class="footer-container"> - <?php echo $footer; ?> - </p> +<br> - </footer> +<!-- Footer Icons --> +<div class="footer-icons"> - <script src="/dist/app.js"></script> + <div class="inline-flex flex-wrap mb-1"> + <a href="mailto:edwinmattiacci@yahoo.com" class="w-20 bg-grey-light px-4 py-2 m-2 rounded hover:bg-blue-lighter"> + <?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/icons/feathericons/mail.svg') ?> + </a> + <a href="https://www.youtube.com/c/EdwinMattiacci" class="w-20 bg-grey-light px-4 py-2 m-2 rounded hover:bg-blue-lighter"> + <?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/icons/feathericons/youtube.svg') ?> + </a> + <a href="https://soundcloud.com/user-825887030" class="w-20 bg-grey-light px-4 py-2 m-2 rounded hover:bg-blue-lighter"> + <?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/icons/feathericons/cloud.svg') ?> + </a> + <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PCZWCVXR9DJTW" class="w-20 bg-grey-light px-4 py-2 m-2 rounded hover:bg-blue-lighter"> + <?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/icons/feathericons/coffee.svg') ?> + </a> + <a href="https://admin.gear.mycelium.com/gateways/2031/orders/new" class="w-20 bg-grey-light px-4 py-2 m-2 rounded hover:bg-blue-lighter"> + <?php echo file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/icons/feathericons/globe.svg') ?> + </a> + </div> - <?php } else { ?> +</div> - <footer class="footer"> +</div> - <p class="footer-container"> - <?php echo $footer; ?> - </p> +</div> +</div> - </footer> +<a href="/" class="w-24 min-h-full hidden md:block logo-container no-underline border-l"></a> - <script src="/dist/app.js"></script> +</div> - <?php } ?> +<script src="/dist/soundmanager2-nodebug-jsmin.js"></script> +<script src="/dist/bar-ui.js"></script> - <?php if (trim($_SERVER['REQUEST_URI'], '/') === 'contact') { ?> +<noscript> + <style>.sm2-bar-ui { display: none; }</style> +</noscript> - <script src="/js/VueDevelopment.js"></script> - - <?php } ?> - - </body> +</body> </html> |