Skip to content

Commit 8f71dec

Browse files
committed
chore: updates
1 parent 1fdf25c commit 8f71dec

File tree

9 files changed

+376
-169
lines changed

9 files changed

+376
-169
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ $ yarn start
1515

1616
# generate static project
1717
$ yarn generate
18+
19+
# if you got one of these errors // ✖ eslint --cache failed without output (KILLED). ✖ prettier --check --ignore-unknown: ✖ prettier --check --ignore-unknown
20+
$ yarn lintfix
1821
```
1922

2023
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).

assets/scss/_helpers.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,19 @@ $z-indexs: 0, 1, 2, 3, 9, 99, 999;
142142
font-size: #{$i}px !important;
143143
}
144144
}
145+
146+
.lh-normal {
147+
line-height: normal !important;
148+
}
149+
150+
.lh-2em {
151+
line-height: 2em !important;
152+
}
153+
154+
.lh-3em {
155+
line-height: 3em !important;
156+
}
157+
158+
.lh-4em {
159+
line-height: 4em !important;
160+
}

components/Footer.vue

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<template>
2+
<v-footer :dark="isDark" class="mx-auto text-center mt-6">
3+
<div class="text-center">
4+
<img src="/nuxt.png" height="12" /> {{ title }} &copy;
5+
{{ new Date().getFullYear() }}
6+
All rights reserved - {{ company }}.
7+
<!-- Dark Mode: <code>{{ isDark }}</code> -->
8+
</div>
9+
</v-footer>
10+
</template>
11+
<script>
12+
import { mapState } from 'vuex'
13+
import global from '~/constants/global'
14+
15+
export default {
16+
name: 'FooterComponent',
17+
data() {
18+
return { title: 'Nuxtify', company: global.company }
19+
},
20+
computed: {
21+
...mapState({ isDark: (state) => state.core.theme.isDark })
22+
}
23+
}
24+
</script>

layouts/default.vue

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@
100100
<v-btn small icon @click.stop="clipped = !clipped">
101101
<v-icon>mdi-application</v-icon>
102102
</v-btn>
103-
<v-btn small icon @click.stop="fixed = !fixed">
103+
<!-- <v-btn small icon @click.stop="fixed = !fixed">
104104
<v-icon>mdi-minus</v-icon>
105-
</v-btn>
105+
</v-btn> -->
106106
<!-- <v-toolbar-title v-text="title" /> -->
107107
<v-spacer />
108108
<v-col
@@ -175,27 +175,20 @@
175175
<nuxt />
176176
</v-container>
177177
</v-main>
178-
<v-footer :absolute="!fixed" app :dark="isDark" class="mx-auto">
179-
<span
180-
><img src="/nuxt.png" height="12" /> {{ title }} &copy;
181-
{{ new Date().getFullYear() }}
182-
{{ company }}. Dark Mode: <code>{{ isDark }}</code></span
183-
>
184-
<v-btn
185-
v-show="fab"
186-
v-scroll="onScroll"
187-
fab
188-
light
189-
fixed
190-
bottom
191-
right
192-
small
193-
color="error"
194-
@click="toTop"
195-
>
196-
<v-icon>mdi-arrow-up</v-icon>
197-
</v-btn>
198-
</v-footer>
178+
<v-btn
179+
v-show="fab"
180+
v-scroll="onScroll"
181+
fab
182+
light
183+
fixed
184+
bottom
185+
right
186+
small
187+
color="error"
188+
@click="toTop"
189+
>
190+
<v-icon>mdi-arrow-up</v-icon>
191+
</v-btn>
199192
<v-overlay v-if="$nuxt.isOffline" :value="overlay" z-index="1000">
200193
<v-banner color="warning" single-line @click:icon="alert">
201194
<v-icon slot="icon" color="light" size="36">

pages/charts.vue

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,7 @@
212212
eius explicabo laborum autem vel consequatur libero
213213
animi alias suscipit provident qui excepturi quaerat
214214
possimus atque, dignissimos aut obcaecati necessitatibus
215-
iure delectus molestiae! Dolorum, doloremque? Sequi,
216-
porro. Excepturi consequuntur iure corporis repudiandae!
217-
Mollitia non maxime architecto explicabo nulla laborum
218-
dolores?
215+
iure delectus
219216
</div>
220217
</v-col>
221218
</v-card-text>
@@ -224,16 +221,9 @@
224221
</v-row>
225222
</v-col>
226223
</v-row>
227-
<blockquote class="blockquote">
228-
&#8220;First, solve the problem. Then, write the code.&#8221;
229-
<footer>
230-
<small>
231-
<em>&mdash;John Johnson</em>
232-
</small>
233-
</footer>
234-
</blockquote>
235224
</v-col>
236225
</v-row>
226+
<Footer />
237227
</v-container>
238228
</template>
239229

@@ -348,7 +338,7 @@ export default {
348338
hoverBackgroundColor: 'rgba(100, 0, 0, 0.5)',
349339
weight: 1,
350340
offset: 8,
351-
radius: 180
341+
radius: 190
352342
}
353343
]
354344
}

0 commit comments

Comments
 (0)