added Meta component

This commit is contained in:
tmshv committed 2019-08-02 18:30:47 +03:00
1 parent 85439ced56
commit 3ca52d6903
2 files changed
+58

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
export function meta(props) {
const path = props.url || '/'
const url = `https://art.shlisselburg.org${path}`
return {
title: 'Шлиссельбургская ДХШ',
description: 'Сайт Шлиссельбургской художественной школы',
image: 'https://art.shlisselburg.org/entrance.jpg',
imageWidth: 1200,
imageHeight: 630,
siteName: 'Шлиссельбургская Детская Художественная Школа',
locale: 'ru_RU',
type: 'website',
domain: 'art.shlisselburg.org',
twitterCard: 'summary_large_image',
twitterSite: '@',
twitterCreator: '@tmshv',
...props,
url,
}
}