Skip to content

Commit a3f68ee

Browse files
committed
feat(seo): add touch icon, web manifest and a region-neutral es-419 label
1 parent b7fb35d commit a3f68ee

5 files changed

Lines changed: 26 additions & 1 deletion

File tree

docusaurus.config.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ const config: Config = {
3232
// and fonts.gstatic.com only after that: three serialized round trips. Warm both up instead.
3333
// Keep the families and weights in sync with $baseFontFamily / $titleFontFamily.
3434
headTags: [
35+
{
36+
tagName: 'link',
37+
attributes: {
38+
rel: 'apple-touch-icon',
39+
sizes: '180x180',
40+
href: '/img/apple-touch-icon.png',
41+
},
42+
},
43+
{
44+
tagName: 'link',
45+
attributes: { rel: 'manifest', href: '/manifest.webmanifest' },
46+
},
3547
{
3648
tagName: 'link',
3749
attributes: { rel: 'preconnect', href: 'https://fonts.googleapis.com' },
@@ -65,7 +77,8 @@ const config: Config = {
6577
path: 'en-US',
6678
},
6779
'es-419': {
68-
label: '🇪🇸 Español',
80+
// 🌎 rather than 🇪🇸: es-419 is Latin American Spanish, not Spain's.
81+
label: '🌎 Español',
6982
path: 'es-419',
7083
},
7184
},
8.45 KB
Loading
9.13 KB
Loading
27.7 KB
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "JSConf Brasil",
3+
"short_name": "JSConf BR",
4+
"start_url": "/",
5+
"display": "browser",
6+
"background_color": "#000e06",
7+
"theme_color": "#000e06",
8+
"icons": [
9+
{ "src": "/img/icon-192.png", "sizes": "192x192", "type": "image/png" },
10+
{ "src": "/img/icon-512.png", "sizes": "512x512", "type": "image/png" }
11+
]
12+
}

0 commit comments

Comments
 (0)