Версия 1.1.2 Замена CultureScope на Культура двух Столиц.

This commit is contained in:
anibilag 2025-10-21 22:51:30 +03:00
parent 39a3ab7279
commit 4d6cba8848
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{
"name": "vite-react-typescript-starter",
"private": true,
"version": "1.1.1",
"version": "1.1.2",
"type": "module",
"scripts": {
"dev": "vite",

View File

@ -10,14 +10,14 @@ interface SEOProps {
}
export function SEO({
title = 'Культура двух столиц',
title = 'Культура двух Столиц',
description = 'Последние новинки искусства, музыки, театра и культурных мероприятий Москвы и Санкт-Петербурга.',
keywords = ['культура', 'искусство', 'музыка', 'театр', 'кино'],
image = 'https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?auto=format&fit=crop&q=80&w=2070',
url = typeof window !== 'undefined' ? window.location.href : '',
type = 'website'
}: SEOProps) {
const siteTitle = title.includes('CultureScope') ? title : `${title} | CultureScope`;
const siteTitle = title.includes('Культура двух Столиц') ? title : `${title} | Культура двух Столиц`;
return (
<Helmet>
@ -32,7 +32,7 @@ export function SEO({
<meta property="og:image" content={image} />
<meta property="og:url" content={url} />
<meta property="og:type" content={type} />
<meta property="og:site_name" content="CultureScope" />
<meta property="og:site_name" content="Культура двух Столиц" />
{/* Twitter meta tags */}
<meta name="twitter:card" content="summary_large_image" />

View File

@ -53,9 +53,9 @@ export function HomePage() {
return (
<div className="min-h-screen bg-cover bg-center bg-fixed bg-white/95" style={{ backgroundImage: `url('/images/gpt_main-bg.webp')` }}>
<SEO
title={categoryId ? `${CategoryTitles[Number(categoryId)]} Stories - CultureScope` : undefined}
title={categoryId ? `${CategoryTitles[Number(categoryId)]} Статьи - Куоьтура двух Столиц` : undefined}
description={getSEODescription()}
keywords={categoryId ? [CategoryTitles[Number(categoryId)].toLowerCase(), 'culture', 'arts', 'events'] : undefined}
keywords={categoryId ? [CategoryTitles[Number(categoryId)].toLowerCase(), 'культура', 'искусство', 'события'] : undefined}
image={backgroundImage}
/>
<Header />