Skip to content

Commit da0ca56

Browse files
committed
docs-#558: lint
1 parent 0a51b59 commit da0ca56

File tree

3 files changed

+47
-12
lines changed

3 files changed

+47
-12
lines changed

docs/components/Illustration.vue

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- eslint-disable vue/multi-word-component-names -->
12
<template>
23
<svg
34
width="403"

docs/components/Logo.vue

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- eslint-disable vue/multi-word-component-names -->
12
<template>
23
<svg
34
class="text-[#18181B] dark:text-white"

docs/pages/index.vue

+45-12
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,46 @@ const items =
6363
<template>
6464
<section>
6565
<span class="gradient" />
66-
<ULandingHero orientation="horizontal" :ui="{ container: 'flex lg:gap-12' }">
66+
<ULandingHero
67+
orientation="horizontal"
68+
:ui="{ container: 'flex lg:gap-12' }"
69+
>
6770
<Illustration />
6871
<template #title>
69-
<h1>More Secure <span class=text-primary-400>Nuxt Apps</span><br /> by default</h1>
72+
<h1>More Secure <span class="text-primary-400">Nuxt Apps</span><br> by default</h1>
7073
</template>
7174
<template #description>
7275
{{ seo.description }}
7376
</template>
7477
<template #links>
75-
<UButton to="/getting-started/installation" icon="i-ph-rocket-launch-duotone" size="xl">
78+
<UButton
79+
to="/getting-started/installation"
80+
icon="i-ph-rocket-launch-duotone"
81+
size="xl"
82+
>
7683
Get Started
7784
</UButton>
78-
<UInput aria-label="Copy code to get started" :model-value="source" name="get-started" disabled
79-
autocomplete="off" size="xl" :ui="{ base: 'disabled:cursor-default', icon: { trailing: { pointer: '' } } }">
85+
<UInput
86+
aria-label="Copy code to get started"
87+
:model-value="source"
88+
name="get-started"
89+
disabled
90+
autocomplete="off"
91+
size="xl"
92+
:ui="{ base: 'disabled:cursor-default', icon: { trailing: { pointer: '' } } }"
93+
>
8094
<template #leading>
8195
<UIcon name="i-ph-terminal" />
8296
</template>
8397
<template #trailing>
84-
<UButton aria-label="Copy Code" :color="copied ? 'green' : 'gray'" variant="ghost" :padded="false"
85-
:icon="copied ? 'i-ph-check-square-duotone' : 'i-ph-copy-duotone'" @click="copy(source)" />
98+
<UButton
99+
aria-label="Copy Code"
100+
:color="copied ? 'green' : 'gray'"
101+
variant="ghost"
102+
:padded="false"
103+
:icon="copied ? 'i-ph-check-square-duotone' : 'i-ph-copy-duotone'"
104+
@click="copy(source)"
105+
/>
86106
</template>
87107
</UInput>
88108
</template>
@@ -92,11 +112,15 @@ const items =
92112

93113
<ULandingSection style="padding-top: 0px">
94114
<template #title>
95-
Protect your app with <br /> <span class=text-primary-400>no configuration</span>
115+
Protect your app with <br> <span class="text-primary-400">no configuration</span>
96116
</template>
97117

98118
<UPageGrid>
99-
<ULandingCard v-for="(item, index) of items" :key="index" v-bind="item" />
119+
<ULandingCard
120+
v-for="(item, index) of items"
121+
:key="index"
122+
v-bind="item"
123+
/>
100124
</UPageGrid>
101125
</ULandingSection>
102126

@@ -110,16 +134,25 @@ const items =
110134
advanced cases like Cross Site Request Forgery.
111135
</template>
112136
<template #links>
113-
<UButton to="/getting-started/installation" icon="i-ph-rocket-launch-duotone" size="xl">
137+
<UButton
138+
to="/getting-started/installation"
139+
icon="i-ph-rocket-launch-duotone"
140+
size="xl"
141+
>
114142
Get Started
115143
</UButton>
116144
</template>
117145

118146
<div>
119-
<iframe width="100%" height="315" src="https://www.youtube-nocookie.com/embed/sJVeU0KGmv4" title="Nuxt Security"
147+
<iframe
148+
width="100%"
149+
height="315"
150+
src="https://www.youtube-nocookie.com/embed/sJVeU0KGmv4"
151+
title="Nuxt Security"
120152
frameborder="0"
121153
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
122-
allowfullscreen />
154+
allowfullscreen
155+
/>
123156
</div>
124157
</ULandingSection>
125158
</section>

0 commit comments

Comments
 (0)