Skip to content

Commit 5fd84e4

Browse files
committed
updates
1 parent 58615cb commit 5fd84e4

File tree

6 files changed

+12
-3
lines changed

6 files changed

+12
-3
lines changed

.vitepress/theme/Hero.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/>
99
</figure>
1010
<div class="right">
11+
<!-- eslint-disable-next-line vue/singleline-html-element-content-newline -->
1112
<h1 class="tagline">The Borderless<br />Internationalization</h1>
1213
</div>
1314
</div>

.vitepress/theme/Info.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<template>
22
<section class="py-16">
33
<p class="text-white text-center">
4-
{{ $frontmatter.footer }}
4+
{{ $frontmatter.license }}
5+
</p>
6+
<p class="text-white text-center">
7+
{{ $frontmatter.copyright }}
58
</p>
69
</section>
710
</template>

.vitepress/theme/Layout.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<script setup lang="ts">
2+
/* eslint-disable @typescript-eslint/no-unused-vars */
23
import Navigation from './Navigation.vue'
34
import Hero from './Hero.vue'
45
import Sponsor from './Sponsor.vue'
56
import Project from './Project.vue'
67
import Info from './Info.vue'
8+
/* eslint-enable @typescript-eslint/no-unused-vars */
79
</script>
810

911
<template>

.vitepress/theme/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import Layout from './Layout.vue'
44

55
export default {
66
Layout,
7-
enhanceApp({ app, router, siteData }) {
7+
// eslint-disable-next-line
8+
enhanceApp({ app, router, siteData }): void {
89
// app is the Vue 3 app instance from createApp()
910
// router is VitePress' custom router (see `lib/app/router.js`)
1011
// siteData is a ref of current site-level metadata.

index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
home: true
33
heroImage: hero_logo.png
4-
footer: Released under the MIT License | Copyright © 2021 kazuya kawaguchi
4+
license: Released under the MIT License
5+
copyright: Copyright © 2021 kazuya kawaguchi
56
---

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"scripts": {
3232
"build": "vitepress build",
3333
"dev": "vitepress dev",
34+
"test": "yarn run lint",
3435
"fix": "npm-run-all --parallel lint:fix format:fix",
3536
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{ts,js,html,json}'",
3637
"format:fix": "yarn format --write",

0 commit comments

Comments
 (0)