Some checks failed
deploy / deploy (push) Failing after 14s
- Главная: hero, адрес Люблинская 100 (Аквапарк ФЭНТАЗИ), 4 кликабельных tel:, карта Яндекса - /privacy: политика 152-ФЗ + ConsentRevoke (отозвать/сбросить) - Аналитика перенесена 1:1 с WP: Яндекс.Метрика 47169531 (Webvisor) + GA4 GT-WRF7ZZ8 - Скрипты в type=text/plain, активируются после согласия (pit-consent в localStorage+cookie) - robots.txt с явным Allow для GPTBot/ClaudeBot/PerplexityBot/Google-Extended/CCBot - llms.txt + ai.txt (spawning.ai стандарт) - IndexNow ключ 901a779d62ca4702ad810c863b45e1f7 - JSON-LD AutoPartsStore с адресом и 4 телефонами - nginx:1.29-alpine runtime, контейнер на :4147 - Gitea Actions deploy.yml + Trivy scan + IndexNow ping
66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
---
|
|
import '@fontsource/ibm-plex-sans/400.css';
|
|
import '@fontsource/ibm-plex-sans/500.css';
|
|
import '@fontsource/ibm-plex-sans/700.css';
|
|
import '../styles/global.css';
|
|
import Footer from '../components/Footer.astro';
|
|
import CookieConsent from '../components/CookieConsent.astro';
|
|
import Analytics from '../components/Analytics.astro';
|
|
import { SITE_TITLE, SITE_DESCRIPTION, SITE_URL, SITE_LANG, ADDRESS, PHONES } from '../consts';
|
|
|
|
interface Props {
|
|
title?: string;
|
|
description?: string;
|
|
}
|
|
|
|
const { title, description = SITE_DESCRIPTION } = Astro.props;
|
|
const fullTitle = title ? `${title} — ${SITE_TITLE}` : `${SITE_TITLE} — в наличии и под заказ`;
|
|
const url = new URL(Astro.url.pathname, SITE_URL).toString();
|
|
|
|
const jsonLd = {
|
|
'@context': 'https://schema.org',
|
|
'@type': 'AutoPartsStore',
|
|
'@id': `${SITE_URL}/#store`,
|
|
name: SITE_TITLE,
|
|
url: `${SITE_URL}/`,
|
|
description: SITE_DESCRIPTION,
|
|
telephone: PHONES.map((p) => p.display),
|
|
address: {
|
|
'@type': 'PostalAddress',
|
|
streetAddress: `${ADDRESS.street}, ${ADDRESS.building}`,
|
|
addressLocality: ADDRESS.region,
|
|
postalCode: ADDRESS.postal,
|
|
addressCountry: 'RU',
|
|
},
|
|
};
|
|
---
|
|
|
|
<!doctype html>
|
|
<html lang={SITE_LANG}>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>{fullTitle}</title>
|
|
<meta name="description" content={description} />
|
|
<link rel="canonical" href={url} />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content={fullTitle} />
|
|
<meta property="og:description" content={description} />
|
|
<meta property="og:url" content={url} />
|
|
<meta property="og:locale" content="ru_RU" />
|
|
<meta property="og:site_name" content={SITE_TITLE} />
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<script type="application/ld+json" is:inline set:html={JSON.stringify(jsonLd)} />
|
|
|
|
<Analytics />
|
|
</head>
|
|
<body>
|
|
<slot />
|
|
<Footer />
|
|
<CookieConsent />
|
|
</body>
|
|
</html>
|