Skip to content

Commit d47af3b

Browse files
authored
docs: add images (#62)
* add images * update readme
1 parent 9d0037c commit d47af3b

File tree

13 files changed

+61
-8
lines changed

13 files changed

+61
-8
lines changed

README-ko_kr.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![wallpaper](./docs/public/og.png)
2+
13
# es-git · [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/toss/es-git/blob/main/LICENSE) [![NPM badge](https://img.shields.io/npm/v/es-git?logo=npm)](https://www.npmjs.com/package/es-git)
24

35
[English](https://github.com/toss/es-git/blob/main/README.md) | 한국어

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![wallpaper](./docs/public/og.png)
2+
13
# es-git · [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/toss/es-git/blob/main/LICENSE) [![NPM badge](https://img.shields.io/npm/v/es-git?logo=npm)](https://www.npmjs.com/package/es-git)
24

35
English | [한국어](https://github.com/toss/es-git/blob/main/README-ko_kr.md)

docs/.vitepress/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const docsRoot = path.resolve(import.meta.dirname, '..');
66

77
export const en = defineConfig({
88
lang: 'en',
9+
title: 'es-git',
910
description: 'Modern git library built for Node.js',
1011
themeConfig: {
1112
nav: nav(),

docs/.vitepress/ko.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const docsRoot = path.resolve(import.meta.dirname, '..');
66

77
export const ko = defineConfig({
88
lang: 'ko',
9+
title: 'es-git',
910
description: 'Node.js를 위한 현대적인 git 라이브러리',
1011
themeConfig: {
1112
nav: nav(),

docs/.vitepress/shared.ts

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,43 @@ export const shared = defineConfig({
1010
lastUpdated: true,
1111
metaChunk: true,
1212
head: [
13+
[
14+
'link',
15+
{
16+
rel: 'preconnect',
17+
href: 'https://static.toss.im',
18+
crossorigin: 'anonymous',
19+
},
20+
],
1321
[
1422
'link',
1523
{
1624
rel: 'icon',
1725
type: 'image/png',
18-
sizes: '100x100',
19-
href: '/favicon-100x100.png',
26+
sizes: '96x96',
27+
href: '/favicon-96x96.png',
2028
},
2129
],
2230
[
2331
'link',
2432
{
2533
rel: 'stylesheet',
34+
fetchpriority: 'low',
2635
href: 'https://static.toss.im/tps/main.css',
36+
media: 'none',
37+
onload: "this.onload=null; this.media='all'",
38+
crossorigin: 'anonymous',
2739
},
2840
],
2941
[
3042
'link',
3143
{
3244
rel: 'stylesheet',
45+
fetchpriority: 'low',
3346
href: 'https://static.toss.im/tps/others.css',
47+
media: 'none',
48+
onload: "this.onload=null; this.media='all'",
49+
crossorigin: 'anonymous',
3450
},
3551
],
3652
['script', {}, 'window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };'],
@@ -48,15 +64,26 @@ export const shared = defineConfig({
4864
content: '/og.png',
4965
},
5066
],
67+
[
68+
'meta',
69+
{
70+
name: 'twitter:image',
71+
content: '/og.png',
72+
},
73+
],
74+
[
75+
'meta',
76+
{
77+
name: 'twitter:card',
78+
content: 'summary',
79+
},
80+
],
5181
],
5282
themeConfig: {
5383
logo: {
54-
dark: '/logo_white.png',
55-
light: '/logo_black.png',
84+
dark: '/logo.png',
85+
light: '/logo.png',
5686
},
57-
58-
siteTitle: false,
59-
6087
search: {
6188
provider: 'local',
6289
options: {
@@ -65,7 +92,6 @@ export const shared = defineConfig({
6592
},
6693
},
6794
},
68-
6995
socialLinks: [
7096
{ icon: 'github', link: 'https://github.com/toss/es-git' },
7197
{

docs/public/apple-touch-icon.png

16.2 KB
Loading

docs/public/favicon-96x96.png

8.79 KB
Loading

docs/public/favicon.ico

15 KB
Binary file not shown.

docs/public/logo.png

88.5 KB
Loading

docs/public/og.png

71.4 KB
Loading

0 commit comments

Comments
 (0)