diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-10-18 14:58:21 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-10-18 14:58:21 -0400 |
commit | 011a9c000d9f7d9656ccb22ed3566f245a294f25 (patch) | |
tree | 60700c58674610639cad29a4f7472476df4658d9 /app/views/partials | |
parent | d00bd9233cf60475482630ec51fae89a1339e4f0 (diff) | |
download | thedroneely.com-011a9c000d9f7d9656ccb22ed3566f245a294f25.tar.gz thedroneely.com-011a9c000d9f7d9656ccb22ed3566f245a294f25.tar.bz2 thedroneely.com-011a9c000d9f7d9656ccb22ed3566f245a294f25.zip |
app/views/partials/navigator: Make navigation items consistent
Diffstat (limited to 'app/views/partials')
-rw-r--r-- | app/views/partials/navigator.php | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/app/views/partials/navigator.php b/app/views/partials/navigator.php index c475439..f7b92ad 100644 --- a/app/views/partials/navigator.php +++ b/app/views/partials/navigator.php @@ -93,49 +93,45 @@ <div class="navbar__left column"> <a title="Go to Website Repository" href="https://www.thedroneely.com/git/explore/repos" - class="brand__custom is-inline-block"> - Git Repo + class="navbar-item item__box button is-inline-flex"> + <?php echo file_get_contents( + $_SERVER['DOCUMENT_ROOT'] + . '/..' . '/public/css/fonts/feather-icons/git-pull-request.svg' + ) ?> + <span>Repo</span> </a> - <div class="navbar__separator is-inline-block"></div> - - <div class ="is-inline-block theme-toggle"> - <form method="get" + <form class="is-inline" method="get" action="<?php echo $_SERVER['REQUEST_URI']; ?>"> <?php if ($theme->color() === 'dark') { ?> <button title="Switch to Light Theme" - class="theme-toggle-button button is-text" + class="navbar-item button item__box is-inline-flex" name="theme" type="submit" value="light"> - <span class="theme-toggle-sun"> <?php echo file_get_contents( $_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/css/fonts/feather-icons/sun.svg' ) ?> - </span> <?php } else { ?> <button title="Switch to Dark Theme" - class="theme-toggle-button button is-text" + class="navbar-item button item__box is-inline-flex" name="theme" type="submit" value="dark"> - <span class="theme-toggle-moon"> <?php echo file_get_contents( $_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/css/fonts/feather-icons/moon.svg' ) ?> - </span> <?php } ?> </button> </form> - </div> </div> @@ -147,8 +143,7 @@ <div class="navbar__right column"> <a title="Coffee" href ="https://ko-fi.com/thedroneely" - class="navbar-item coffee button is-success - is-outlined is-inline-flex"> + class="navbar-item item__box button is-inline-flex"> <?php echo file_get_contents( $_SERVER['DOCUMENT_ROOT'] . '/..' . '/public/css/fonts/feather-icons/coffee.svg' |