Skip to content

Commit bba8797

Browse files
committed
Revert "Update navigation icons"
This reverts commit 63375d0.
1 parent 63375d0 commit bba8797

File tree

3 files changed

+9
-27
lines changed

3 files changed

+9
-27
lines changed

resources/assets/scripts/components/Icon.vue

Lines changed: 0 additions & 18 deletions
This file was deleted.

resources/assets/scripts/components/core/Navigation.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@
4444
<ul>
4545
<li>
4646
<router-link :to="{ name: 'dashboard' }">
47-
<Icon type="cube"/>
47+
<server-icon aria-label="Server dashboard" class="h-4"/>
4848
</router-link>
4949
</li>
5050
<li>
5151
<router-link :to="{ name: 'account' }">
52-
<Icon type="contact"/>
52+
<user-icon aria-label="Profile management" class="h-4"/>
5353
</router-link>
5454
</li>
5555
<li>
5656
<a :href="this.route('admin.index')">
57-
<Icon type="cog"/>
57+
<settings-icon aria-label="Administrative controls" class="h-4"/>
5858
</a>
5959
</li>
6060
<li>
6161
<a :href="this.route('auth.logout')" v-on:click.prevent="doLogout">
62-
<Icon type="log-out"/>
62+
<log-out-icon aria-label="Sign out" class="h-4"/>
6363
</a>
6464
</li>
6565
</ul>
@@ -70,11 +70,12 @@
7070
<script>
7171
import debounce from 'lodash/debounce';
7272
import { mapState } from 'vuex';
73-
import Icon from '../Icon';
73+
import { LogOutIcon, ServerIcon, SettingsIcon, UserIcon } from 'vue-feather-icons'
7474
7575
export default {
7676
name: 'navigation',
77-
components: {Icon},
77+
components: { LogOutIcon, ServerIcon, SettingsIcon, UserIcon },
78+
7879
data: function () {
7980
return {
8081
loadingResults: false,

resources/assets/styles/components/navigation.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717

1818
& > .search-box {
1919
& > .search-input {
20-
@apply .text-sm .p-2 .mx-3 .rounded .border .border-blue-darker .bg-grey-lightest .text-grey-darkest;
21-
margin-top: 0.6rem;
20+
@apply .text-sm .p-2 .mt-3 .mx-3 .rounded .border .border-blue-darker .bg-grey-lightest .text-grey-darkest;
2221
width: 26rem;
2322
opacity: 0.7;
2423
transition: ease-in-out opacity 150ms;
@@ -54,7 +53,7 @@
5453
& > li {
5554
@apply .inline-block;
5655
& > a {
57-
@apply .block .h-full .no-underline .text-grey-lighter .font-light .text-xl .px-5 .py-4;
56+
@apply .block .h-full .no-underline .text-grey-lighter .font-light .text-sm .p-5;
5857

5958
&:hover {
6059
@apply .bg-blue-dark;

0 commit comments

Comments
 (0)