File tree Expand file tree Collapse file tree 7 files changed +27
-20
lines changed Expand file tree Collapse file tree 7 files changed +27
-20
lines changed Original file line number Diff line number Diff line change 11<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 >
57</template >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<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" >
33 <div >
44 <navbar />
55 <div class =" mx-a lt-md:px-4 md:prose" :class =" [$style.dashed_link, $style.no_header_underline]" >
1414<style lang="scss" module>
1515.dashed_link {
1616 a {
17- --at-apply : " underline-dashed hover:underline-solid"
17+ --at-apply : ' underline-dashed hover:underline-solid'
1818 }
1919}
2020
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+
112<script setup lang="ts">
13+ // eslint-disable-next-line import/first
214import type { MarkdownNode , ParsedContent } from ' @nuxt/content'
315
416function parseNode(node : MarkdownNode ): number {
@@ -26,15 +38,6 @@ function getWordCount(parsedContent: ParsedContent): number {
2638
2739 return wordCount
2840}
29-
30- const ContentNotFound = defineComponent ({
31- setup() {
32- showError ({
33- statusCode: 404 ,
34- statusMessage: ' Blog not found' ,
35- })
36- },
37- })
3841 </script >
3942
4043<template >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- useHead ({ title: ' Blogs' })
2+ useSeoMeta ({ title: ' Blogs' })
33 </script >
44
55<template >
@@ -8,7 +8,7 @@ useHead({ title: 'Blogs' })
88 Blogs
99 </h1 >
1010 <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)" >
1212 <template
1313 v-for =" blog in list .sort ((a , b ) => + new Date (b .date ) - + new Date (a .date ))"
1414 :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+
15<template >
26 <div >
37 <h1 >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default defineNuxtConfig({
1010 strict : true ,
1111 } ,
1212
13- css : [ '@fontsource-variable/inter' , '~/assets/css/index.scss' ] ,
13+ css : [ '@fontsource-variable/inter' ] ,
1414
1515 app : {
1616 head : {
@@ -29,6 +29,7 @@ export default defineNuxtConfig({
2929 { property : 'og:description' , content : DESCRIPTION } ,
3030 { property : 'og:type' , content : 'website' } ,
3131 ] ,
32+ link : [ { rel : 'manifest' , href : '/manifest.webmanifest' } ] ,
3233 } ,
3334 } ,
3435
You can’t perform that action at this time.
0 commit comments