Skip to content

Commit 2029343

Browse files
committed
chore: favicon & proper fonts
1 parent 4670954 commit 2029343

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

.vitepress/config.js

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,41 @@ module.exports = {
1414
title: 'NativeScript',
1515
description: 'NativeScript docs',
1616

17-
// head: [['link', { rel: 'stylesheet', href: '/styles.css' }]],
17+
head: [
18+
['link', { rel: 'stylesheet', href: 'https://rsms.me/inter/inter.css' }],
19+
['link', { rel: 'preconnect', href: 'https://fonts.gstatic.com' }],
20+
21+
[
22+
'link',
23+
{
24+
rel: 'apple-touch-icon',
25+
sizes: '180x180',
26+
href: 'https://nativescript.org/apple-touch-icon.png',
27+
},
28+
],
29+
[
30+
'link',
31+
{
32+
rel: 'icon',
33+
type: 'image/png',
34+
sizes: '32x32',
35+
href: 'https://nativescript.org/favicon-32x32.png',
36+
},
37+
],
38+
[
39+
'link',
40+
{
41+
rel: 'icon',
42+
type: 'image/png',
43+
sizes: '16x16',
44+
href: 'https://nativescript.org/favicon-16x16.png',
45+
},
46+
],
47+
[
48+
'link',
49+
{ rel: 'manifest', href: 'https://nativescript.org/site.webmanifest' },
50+
],
51+
],
1852

1953
themeConfig: {
2054
repo: 'NativeScript/docs-new',

0 commit comments

Comments
 (0)