Skip to content

Commit

Permalink
Run linter autofix to fix order and notation
Browse files Browse the repository at this point in the history
  • Loading branch information
sbedeau committed Nov 20, 2020
1 parent 0948975 commit de5515f
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion components/FormablePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<iframe
id="123formbuilder"
allowTransparency="true"
style="min-height: 300px; height: inherit; overflow: auto;"
style="min-height: 300px; height: inherit; overflow: auto"
width="100%"
name="123formbuilder"
marginwidth="0"
Expand Down
2 changes: 1 addition & 1 deletion components/slices/PageBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default {
this.$modal.show('videoModal')
},
isVideo(link) {
return link?.['banner_link_url']?.url?.includes('pix-videos/')
return link?.banner_link_url?.url?.includes('pix-videos/')
},
videoClass(link) {
return this.isVideo(link)
Expand Down
4 changes: 2 additions & 2 deletions components/slices/PageSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ export default {
return this.slice?.primary?.description
},
buttonLink() {
return this.slice?.primary?.['button_link']
return this.slice?.primary?.button_link
},
buttonText() {
return this.slice?.primary?.['button_title']
return this.slice?.primary?.button_title
},
hasImage() {
return this.image && this.image.url
Expand Down
2 changes: 1 addition & 1 deletion components/slices/Process.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
</template>

<script>
import PixImage from '@/components/PixImage'
import {
EXTRA_LARGE_SCREEN_MIN_WIDTH,
DESKTOP_MIN_WIDTH,
} from '~/config/breakpoints'
import PixImage from '@/components/PixImage'
export default {
name: 'ProcessSlice',
Expand Down
18 changes: 9 additions & 9 deletions pages/pix-pro/_custom-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
</template>

<script>
import { documentFetcher } from '~/services/document-fetcher'
import FormPage from '@/components/FormPage'
import SimplePage from '@/components/SimplePage'
import SliceZone from '@/components/SliceZone'
import { documentFetcher } from '~/services/document-fetcher'
export default {
name: 'CustomPage',
Expand Down Expand Up @@ -46,14 +46,6 @@ export default {
error({ statusCode: 404, message: 'Page not found' })
}
},
computed: {
type() {
return this.document.type
},
title() {
return this.document.data.title[0].text
},
},
head() {
const meta = this.$getMeta(this.meta, this.currentPagePath, this.$prismic)
Expand All @@ -62,6 +54,14 @@ export default {
title: `${this.title} | Pix Pro`,
}
},
computed: {
type() {
return this.document.type
},
title() {
return this.document.data.title[0].text
},
},
}
</script>

Expand Down
18 changes: 9 additions & 9 deletions pages/pix-site/_custom-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
</template>

<script>
import { documentFetcher } from '~/services/document-fetcher'
import FormPage from '@/components/FormPage'
import SimplePage from '@/components/SimplePage'
import SliceZone from '@/components/SliceZone'
import { documentFetcher } from '~/services/document-fetcher'
export default {
name: 'CustomPage',
Expand Down Expand Up @@ -52,6 +52,14 @@ export default {
error({ statusCode: 404, message: 'Page not found' })
}
},
head() {
const meta = this.$getMeta(this.meta, this.currentPagePath, this.$prismic)
return {
meta,
title: `${this.title} | Pix`,
}
},
computed: {
slices() {
const rawDocumentSlices = this.document.data.body
Expand All @@ -69,14 +77,6 @@ export default {
return this.document.data.title[0].text
},
},
head() {
const meta = this.$getMeta(this.meta, this.currentPagePath, this.$prismic)
return {
meta,
title: `${this.title} | Pix`,
}
},
}
</script>

Expand Down
18 changes: 9 additions & 9 deletions pages/pix-site/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</template>

<script>
import { documents, documentFetcher } from '~/services/document-fetcher'
import SliceZone from '@/components/SliceZone'
import { documents, documentFetcher } from '~/services/document-fetcher'
export default {
components: {
Expand Down Expand Up @@ -36,6 +36,14 @@ export default {
error({ statusCode: 404, message: 'Page not found' })
}
},
head() {
const meta = this.$getMeta(this.meta, this.currentPagePath, this.$prismic)
const pageTitle = this.$t('page-titles.index')
return {
title: pageTitle,
meta,
}
},
computed: {
slices() {
return this.document.map((slice, index) => {
Expand All @@ -55,14 +63,6 @@ export default {
})
},
},
head() {
const meta = this.$getMeta(this.meta, this.currentPagePath, this.$prismic)
const pageTitle = this.$t('page-titles.index')
return {
title: pageTitle,
meta,
}
},
}
</script>

Expand Down
2 changes: 1 addition & 1 deletion pages/pix-site/legal-notices.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</template>

<script>
import { documents, documentFetcher } from '~/services/document-fetcher'
import PageSection from '@/components/slices/PageSection'
import { documents, documentFetcher } from '~/services/document-fetcher'
export default {
name: 'LegalNotices',
nuxtI18n: {
Expand Down
2 changes: 1 addition & 1 deletion pages/pix-site/news/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</template>

<script>
import { documentFetcher } from '~/services/document-fetcher'
import NewsItemPost from '@/components/NewsItemPost'
import { documentFetcher } from '~/services/document-fetcher'
export default {
nuxtI18n: {
Expand Down
2 changes: 1 addition & 1 deletion pages/pix-site/news/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
</div>
</template>
<script>
import { documentFetcher } from '~/services/document-fetcher'
import NewsItemCard from '@/components/NewsItemCard'
import { documentFetcher } from '~/services/document-fetcher'
export default {
name: 'Index',
Expand Down
2 changes: 1 addition & 1 deletion pages/pix-site/skills.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
</template>

<script>
import { documents, documentFetcher } from '~/services/document-fetcher'
import PageSection from '@/components/slices/PageSection'
import { documents, documentFetcher } from '~/services/document-fetcher'
export default {
name: 'Skills',
nuxtI18n: {
Expand Down

0 comments on commit de5515f

Please sign in to comment.