mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
lint fixes
This commit is contained in:
parent
5fd3b4f7ad
commit
7cd5216651
@ -6,7 +6,6 @@ import logoUrl from '#assets/favicon.ico'
|
|||||||
import image from '#assets/it4c-logo2-clean-bg_alpha-128x128.png'
|
import image from '#assets/it4c-logo2-clean-bg_alpha-128x128.png'
|
||||||
import { META } from '#src/env'
|
import { META } from '#src/env'
|
||||||
|
|
||||||
|
|
||||||
import { createApp } from './app'
|
import { createApp } from './app'
|
||||||
import { getDescription, getTitle } from './utils'
|
import { getDescription, getTitle } from './utils'
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
|
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
|
||||||
|
import { PageContext } from 'vike/types'
|
||||||
import { createSSRApp, defineComponent, h, markRaw, reactive, Component } from 'vue'
|
import { createSSRApp, defineComponent, h, markRaw, reactive, Component } from 'vue'
|
||||||
|
|
||||||
import PageShell from '#components/PageShell.vue'
|
import PageShell from '#components/PageShell.vue'
|
||||||
@ -7,8 +8,6 @@ import i18n from '#plugins/i18n'
|
|||||||
import pinia from '#plugins/pinia'
|
import pinia from '#plugins/pinia'
|
||||||
import CreateVuetify from '#plugins/vuetify'
|
import CreateVuetify from '#plugins/vuetify'
|
||||||
|
|
||||||
import { PageContext } from 'vike/types'
|
|
||||||
|
|
||||||
const vuetify = CreateVuetify(i18n)
|
const vuetify = CreateVuetify(i18n)
|
||||||
|
|
||||||
function createApp(pageContext: PageContext, isClient = true) {
|
function createApp(pageContext: PageContext, isClient = true) {
|
||||||
|
|||||||
@ -67,3 +67,71 @@ exports[`DataPrivacyPage > renders 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
exports[`IndexPage > renders 1`] = `
|
||||||
|
<div
|
||||||
|
class="v-application v-theme--light v-layout v-layout--full-height v-locale--is-ltr"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="v-application__wrap"
|
||||||
|
>
|
||||||
|
|
||||||
|
<main
|
||||||
|
class="v-main bg-grey-lighten-3"
|
||||||
|
style="--v-layout-left: 0px; --v-layout-right: 0px; --v-layout-top: 0px; --v-layout-bottom: 0px;"
|
||||||
|
>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="v-container v-locale--is-ltr"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="v-row"
|
||||||
|
>
|
||||||
|
<!--v-if-->
|
||||||
|
<div
|
||||||
|
class="v-col"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="v-sheet v-theme--light v-sheet--rounded pa-3"
|
||||||
|
>
|
||||||
|
|
||||||
|
<h1>
|
||||||
|
$t('home.h1')
|
||||||
|
</h1>
|
||||||
|
<p>
|
||||||
|
$t('home.text1')
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
$t('home.text2')
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
$t('home.text3')
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
$t('home.text4')
|
||||||
|
<i
|
||||||
|
aria-hidden="true"
|
||||||
|
class="mdi-heart mdi v-icon notranslate v-theme--light v-icon--size-default text-red"
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
|
<p>
|
||||||
|
$t('home.greet1')
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
$t('home.greet2')
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user