Версия 1.1.2 Замена CultureScope на Культура двух Столиц.
This commit is contained in:
parent
39a3ab7279
commit
4d6cba8848
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vite-react-typescript-starter",
|
"name": "vite-react-typescript-starter",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -10,14 +10,14 @@ interface SEOProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function SEO({
|
export function SEO({
|
||||||
title = 'Культура двух столиц',
|
title = 'Культура двух Столиц',
|
||||||
description = 'Последние новинки искусства, музыки, театра и культурных мероприятий Москвы и Санкт-Петербурга.',
|
description = 'Последние новинки искусства, музыки, театра и культурных мероприятий Москвы и Санкт-Петербурга.',
|
||||||
keywords = ['культура', 'искусство', 'музыка', 'театр', 'кино'],
|
keywords = ['культура', 'искусство', 'музыка', 'театр', 'кино'],
|
||||||
image = 'https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?auto=format&fit=crop&q=80&w=2070',
|
image = 'https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?auto=format&fit=crop&q=80&w=2070',
|
||||||
url = typeof window !== 'undefined' ? window.location.href : '',
|
url = typeof window !== 'undefined' ? window.location.href : '',
|
||||||
type = 'website'
|
type = 'website'
|
||||||
}: SEOProps) {
|
}: SEOProps) {
|
||||||
const siteTitle = title.includes('CultureScope') ? title : `${title} | CultureScope`;
|
const siteTitle = title.includes('Культура двух Столиц') ? title : `${title} | Культура двух Столиц`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Helmet>
|
<Helmet>
|
||||||
@ -32,7 +32,7 @@ export function SEO({
|
|||||||
<meta property="og:image" content={image} />
|
<meta property="og:image" content={image} />
|
||||||
<meta property="og:url" content={url} />
|
<meta property="og:url" content={url} />
|
||||||
<meta property="og:type" content={type} />
|
<meta property="og:type" content={type} />
|
||||||
<meta property="og:site_name" content="CultureScope" />
|
<meta property="og:site_name" content="Культура двух Столиц" />
|
||||||
|
|
||||||
{/* Twitter meta tags */}
|
{/* Twitter meta tags */}
|
||||||
<meta name="twitter:card" content="summary_large_image" />
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
|
|||||||
@ -53,9 +53,9 @@ export function HomePage() {
|
|||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-cover bg-center bg-fixed bg-white/95" style={{ backgroundImage: `url('/images/gpt_main-bg.webp')` }}>
|
<div className="min-h-screen bg-cover bg-center bg-fixed bg-white/95" style={{ backgroundImage: `url('/images/gpt_main-bg.webp')` }}>
|
||||||
<SEO
|
<SEO
|
||||||
title={categoryId ? `${CategoryTitles[Number(categoryId)]} Stories - CultureScope` : undefined}
|
title={categoryId ? `${CategoryTitles[Number(categoryId)]} Статьи - Куоьтура двух Столиц` : undefined}
|
||||||
description={getSEODescription()}
|
description={getSEODescription()}
|
||||||
keywords={categoryId ? [CategoryTitles[Number(categoryId)].toLowerCase(), 'culture', 'arts', 'events'] : undefined}
|
keywords={categoryId ? [CategoryTitles[Number(categoryId)].toLowerCase(), 'культура', 'искусство', 'события'] : undefined}
|
||||||
image={backgroundImage}
|
image={backgroundImage}
|
||||||
/>
|
/>
|
||||||
<Header />
|
<Header />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user