Skip to content

Commit

Permalink
chore: change sidebar button icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Renovamen committed Mar 25, 2021
1 parent e1042f3 commit 651210d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
26 changes: 14 additions & 12 deletions packages/theme-gungnir/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
:style="{ background: $themeConfig.homeHeaderImages[bgImageID].mask }"
/>
<div class="header-content" :style="{ opacity: headerOpacity }">
<div class="hero-avatar hide-on-mobile">
<img :src="$withBase($themeConfig.personalInfo.avatar)" alt="hero" />
</div>
<!-- <div class="hero-avatar hide-on-mobile"> -->
<img
class="hero-avatar hide-on-mobile"
:src="$withBase($themeConfig.personalInfo.avatar)"
alt="hero"
/>
<!-- </div> -->

<div v-if="$themeConfig.hitokoto" class="hero-bubble">
<div class="hero-bubble__body">
Expand Down Expand Up @@ -166,15 +170,13 @@ export default {
margin-left -65px
width 120px
height 120px
img
cursor auto
padding 5px
border-radius 100%
max-width 100%
transition(all ease 1s)
box-shadow inset 0 0 10px #000
&:hover
transform(rotate(360deg))
cursor auto
padding 5px
border-radius 100%
transition(all ease 1s)
box-shadow inset 0 0 10px #000
&:hover
transform(rotate(360deg))
&:hover + .hero-bubble
opacity 1
Expand Down
2 changes: 1 addition & 1 deletion packages/theme-gungnir/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
class="menu-btn-child menu-btn-sidebar"
@click="$emit('toggle-sidebar')"
>
<v-icon name="ri-side-bar-line" />
<v-icon name="bi-layout-sidebar-inset" />
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion packages/theme-gungnir/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ $navbar-horizontal-padding = 1.5rem
.site-name
font-size 1.1rem
font-weight 600
// color var(--text-color)
position relative
.links
padding-left 1.5rem
Expand Down
4 changes: 2 additions & 2 deletions packages/theme-gungnir/enhanceApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
FaChevronUp,
FaChevronDown,
FaListUl,
RiSideBarLine,
BiLayoutSidebarInset,
FaSearch,
FaPencilAlt,
FaCircle,
Expand All @@ -45,7 +45,7 @@ OhVueIcon.add([
FaChevronUp,
FaChevronDown,
FaListUl,
RiSideBarLine,
BiLayoutSidebarInset,
FaSearch,
FaPencilAlt,
FaCircle,
Expand Down

1 comment on commit 651210d

@vercel
Copy link

@vercel vercel bot commented on 651210d Mar 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.