Новая структура метатегов
This commit is contained in:
parent
18c91e69a5
commit
f08aa37029
5 changed files with 28 additions and 12 deletions
|
|
@ -1 +1,2 @@
|
|||
export const SITE_URL = 'https://avtourist-surgut.ru/';
|
||||
export const SITE_TITLE_SUFFIX = ' | Автоюрист Сургут';
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
import '@styles/global.css';
|
||||
import { SITE_TITLE_SUFFIX } from '@constants';
|
||||
|
||||
import Header from "@components/layout/header/Header.astro";
|
||||
import Footer from "@components/layout/footer/Footer.astro";
|
||||
import ConsultationModal from "@components/base/ConsultationModal.astro";
|
||||
|
||||
interface Props {
|
||||
export interface Props {
|
||||
title: string;
|
||||
description: string;
|
||||
canonicalLink?: string;
|
||||
|
|
@ -21,7 +22,7 @@ const { title, description, canonicalLink } = Astro.props;
|
|||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicons/favicon.svg" />
|
||||
<link rel="icon" href="/favicons/favicon.ico" />
|
||||
<title>{title}</title>
|
||||
<title>{title} {SITE_TITLE_SUFFIX}</title>
|
||||
<meta name="description" content={description} />
|
||||
{canonicalLink && <link rel="canonical" href={canonicalLink} />}
|
||||
<!-- Yandex верификация -->
|
||||
|
|
@ -67,5 +68,3 @@ const { title, description, canonicalLink } = Astro.props;
|
|||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
---
|
||||
import Layout from '@layouts/Layout.astro';
|
||||
|
||||
const pageTitle = "Регистрация";
|
||||
const pageDescription = "Создайте аккаунт для доступа к личному кабинету";
|
||||
import { SITE_URL } from '@constants';
|
||||
---
|
||||
|
||||
<Layout title={pageTitle} description={pageDescription}>
|
||||
<Layout
|
||||
title="Регистрация"
|
||||
description="Создайте аккаунт для доступа к личному кабинету"
|
||||
canonicalLink={`${SITE_URL}/auth/sig-up`}
|
||||
>
|
||||
<div class="auth-page">
|
||||
<div class="auth-container">
|
||||
<div class="auth-card">
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
---
|
||||
import Layout from '@layouts/Layout.astro';
|
||||
|
||||
const pageTitle = "Вход в аккаунт";
|
||||
const pageDescription = "Войдите в свой аккаунт для доступа к личному кабинету";
|
||||
import { SITE_URL } from '@constants';
|
||||
---
|
||||
|
||||
<Layout title={pageTitle} description={pageDescription}>
|
||||
<Layout
|
||||
title="Вход в аккаунт"
|
||||
description="Войдите в свой аккаунт для доступа к личному кабинету"
|
||||
canonicalLink={`${SITE_URL}/auth/sign-in`}
|
||||
>
|
||||
<div class="auth-page">
|
||||
<div class="auth-container">
|
||||
<div class="auth-card">
|
||||
|
|
|
|||
12
frontend/src/pages/faq.astro
Normal file
12
frontend/src/pages/faq.astro
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
import Layout from '@layouts/Layout.astro';
|
||||
import { SITE_URL } from '@constants';
|
||||
---
|
||||
|
||||
<Layout
|
||||
title="Частые вопросы (FAQ)"
|
||||
description="Ответы на частые вопросы по возврату водительских прав, спорам со страховыми, ДТП и другим юридическим услугам для автовладельцев в Сургуте."
|
||||
canonicalLink={`${SITE_URL}/faq`}
|
||||
>
|
||||
<h1>FAQ</h1>
|
||||
</Layout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue