Skip to content

Commit

Permalink
fix: usage formatSiteDisplay in render
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Jan 28, 2025
1 parent 0ac13a8 commit be49c4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/lab/app-render/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ section.render(:class="{ 'viewfixed' : viewfixed, 'no-icon' : !icon_render }")
p.contact-information
svg.icon-site(xmlns="http://www.w3.org/2000/svg" viewBox="0 0 438.536 438.536" width="13")
path(d="M414.41 24.123C398.333 8.042 378.963 0 356.315 0H82.228C59.58 0 40.21 8.042 24.126 24.123 8.045 40.207.003 59.576.003 82.225v274.084c0 22.647 8.042 42.018 24.123 58.102 16.084 16.084 35.454 24.126 58.102 24.126h274.084c22.648 0 42.018-8.042 58.095-24.126 16.084-16.084 24.126-35.454 24.126-58.102V82.225c-.001-22.649-8.043-42.021-24.123-58.102zm-48.961 204.279c0 7.994-3.717 13.606-11.136 16.844-2.471.951-4.859 1.427-7.139 1.427-5.134 0-9.418-1.811-12.847-5.424l-41.11-41.112-152.453 152.462c-3.621 3.614-7.9 5.425-12.85 5.425-4.952 0-9.235-1.811-12.851-5.425l-29.121-29.126c-3.617-3.61-5.426-7.901-5.426-12.847 0-4.944 1.809-9.229 5.426-12.843l152.462-152.464-41.113-41.112c-5.902-5.52-7.233-12.178-3.999-19.985 3.234-7.421 8.852-11.136 16.846-11.136h137.037c4.948 0 9.232 1.81 12.854 5.428 3.613 3.614 5.421 7.898 5.421 12.847v137.041z")
| {{ site }}
| {{ formatSiteDisplay(site) }}
label.about-me(for="GET-about" v-if="user.about")
h2 {{ $t('form.about_me') }}
p
Expand Down Expand Up @@ -189,6 +189,7 @@ section.render(:class="{ 'viewfixed' : viewfixed, 'no-icon' : !icon_render }")

<script>
import { mapState } from 'vuex'
import { mixinRender } from '@/mixins/mixinRender.js'
import { mixinUpdateStore } from '@/mixins/mixinUpdateStore.js'
import { mixinTranslateDate } from '@/mixins/mixinTranslateDate.js'
Expand All @@ -198,7 +199,7 @@ export default {
icon_render: state => state.icon_render,
layout_render: state => state.layout_render
}),
mixins: [mixinUpdateStore, mixinTranslateDate],
mixins: [mixinRender, mixinUpdateStore, mixinTranslateDate],
created () { window.addEventListener('scroll', this.viewFixed) },
destroyed () { window.removeEventListener('scroll', this.viewFixed) },
data () {
Expand Down

0 comments on commit be49c4e

Please sign in to comment.