File tree 7 files changed +27
-20
lines changed
7 files changed +27
-20
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <nuxt-layout >
3
- <nuxt-page />
4
- </nuxt-layout >
2
+ <div class =" min-h-screen min-w-screen dark:bg-black" >
3
+ <nuxt-layout >
4
+ <nuxt-page />
5
+ </nuxt-layout >
6
+ </div >
5
7
</template >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" w-full font-normal font-[Inter_Variable] prose-neutral dark:prose-invert" >
2
+ <div class =" font-normal font-[Inter_Variable] prose-neutral dark:prose-invert" >
3
3
<div >
4
4
<navbar />
5
5
<div class =" mx-a lt-md:px-4 md:prose" :class =" [$style.dashed_link, $style.no_header_underline]" >
14
14
<style lang="scss" module>
15
15
.dashed_link {
16
16
a {
17
- --at-apply : " underline-dashed hover:underline-solid"
17
+ --at-apply : ' underline-dashed hover:underline-solid'
18
18
}
19
19
}
20
20
Original file line number Diff line number Diff line change
1
+ <script lang="ts">
2
+ const ContentNotFound = defineComponent ({
3
+ setup() {
4
+ showError ({
5
+ statusCode: 404 ,
6
+ statusMessage: ' Blog not found' ,
7
+ })
8
+ },
9
+ })
10
+ </script >
11
+
1
12
<script setup lang="ts">
13
+ // eslint-disable-next-line import/first
2
14
import type { MarkdownNode , ParsedContent } from ' @nuxt/content'
3
15
4
16
function parseNode(node : MarkdownNode ): number {
@@ -26,15 +38,6 @@ function getWordCount(parsedContent: ParsedContent): number {
26
38
27
39
return wordCount
28
40
}
29
-
30
- const ContentNotFound = defineComponent ({
31
- setup() {
32
- showError ({
33
- statusCode: 404 ,
34
- statusMessage: ' Blog not found' ,
35
- })
36
- },
37
- })
38
41
</script >
39
42
40
43
<template >
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
- useHead ({ title: ' Blogs' })
2
+ useSeoMeta ({ title: ' Blogs' })
3
3
</script >
4
4
5
5
<template >
@@ -8,7 +8,7 @@ useHead({ title: 'Blogs' })
8
8
Blogs
9
9
</h1 >
10
10
<content-list v-slot =" { list }" path =" /blogs" >
11
- <div class =" divide-y divide-gray divide-op-20 dark:(divide-zinc divide-op-25)" >
11
+ <div class =" divide-y divide-gray divide-op-20 divide-dashed dark:(divide-zinc divide-op-25)" >
12
12
<template
13
13
v-for =" blog in list .sort ((a , b ) => + new Date (b .date ) - + new Date (a .date ))"
14
14
:key =" blog ._path "
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ useSeoMeta ({ title: ' Horu' })
3
+ </script >
4
+
1
5
<template >
2
6
<div >
3
7
<h1 >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default defineNuxtConfig({
10
10
strict : true ,
11
11
} ,
12
12
13
- css : [ '@fontsource-variable/inter' , '~/assets/css/index.scss' ] ,
13
+ css : [ '@fontsource-variable/inter' ] ,
14
14
15
15
app : {
16
16
head : {
@@ -29,6 +29,7 @@ export default defineNuxtConfig({
29
29
{ property : 'og:description' , content : DESCRIPTION } ,
30
30
{ property : 'og:type' , content : 'website' } ,
31
31
] ,
32
+ link : [ { rel : 'manifest' , href : '/manifest.webmanifest' } ] ,
32
33
} ,
33
34
} ,
34
35
You can’t perform that action at this time.
0 commit comments