From 1d8cb94085f3b4be19080b866dd01d4fd8bfc711 Mon Sep 17 00:00:00 2001 From: Web-serfer Date: Sun, 5 Apr 2026 18:12:49 +0500 Subject: [PATCH] git add .! --- .../src/components/layout/footer/Footer.astro | 56 +- .../src/components/layout/header/Header.astro | 527 +++++++++------- .../components/layout/header/MobileMenu.astro | 1 - frontend/src/layouts/Layout.astro | 95 +-- frontend/src/pages/privacy.astro | 583 ++++++++++++++++++ frontend/src/pages/terms.astro | 451 ++++++++++++++ frontend/src/styles/global.css | 1 + 7 files changed, 1414 insertions(+), 300 deletions(-) create mode 100644 frontend/src/pages/privacy.astro create mode 100644 frontend/src/pages/terms.astro diff --git a/frontend/src/components/layout/footer/Footer.astro b/frontend/src/components/layout/footer/Footer.astro index ff5938c..bde9920 100644 --- a/frontend/src/components/layout/footer/Footer.astro +++ b/frontend/src/components/layout/footer/Footer.astro @@ -3,13 +3,20 @@ const sectionsLinks = [ { label: 'Главная', href: '/' }, { label: 'Услуги', href: '/services' }, + { label: 'Блог', href: '#' }, + { label: 'Контакты', href: '/contacts' }, ]; const legalLinks = [ - { label: 'Privacy Policy', href: '#' }, - { label: 'Terms of Service', href: '#' }, - { label: 'Legal Disclaimer', href: '#' }, - { label: 'Cookie Settings', href: '#' }, + { label: 'Политика конфиденциальности', href: '/privacy' }, + { label: 'Условия использования', href: '/terms' }, +]; + +const infoLinks = [ + { label: 'Часто задаваемые вопросы', href: '/faq' }, + { label: 'Политика конфиденциальности', href: '/privacy' }, + { label: 'Условия использования', href: '/terms' }, + { label: 'Возврат средств', href: '#' }, ]; --- @@ -29,7 +36,7 @@ const legalLinks = [

- + @@ -88,8 +94,7 @@ const legalLinks = [ .footer { background-color: #031529; /* Темно-синий фон */ color: #8c9bb0; /* Приглушенный серо-голубой цвет текста */ - /* Используем шрифт с засечками (serif), как на макете */ - font-family: Georgia, 'Times New Roman', Times, serif; + font-family: 'Inter', system-ui, -apple-system, sans-serif; padding: 4rem 0 1.5rem 0; } @@ -128,10 +133,6 @@ const legalLinks = [ letter-spacing: 0.5px; } - .mt-4 { - margin-top: 1.5rem; - } - /* Списки ссылок */ .footer-links { list-style: none; @@ -205,6 +206,25 @@ const legalLinks = [ margin: 0; } + .footer-bottom-links { + list-style: none; + padding: 0; + margin: 0; + display: flex; + gap: 1.5rem; + } + + .footer-bottom-links a { + color: #8c9bb0; + text-decoration: none; + font-size: 0.75rem; + transition: color 0.2s ease; + } + + .footer-bottom-links a:hover { + color: #d1b06b; + } + /* Адаптивность для планшетов */ @media (max-width: 1024px) { .footer-top { diff --git a/frontend/src/components/layout/header/Header.astro b/frontend/src/components/layout/header/Header.astro index 4fcd504..27d8e31 100644 --- a/frontend/src/components/layout/header/Header.astro +++ b/frontend/src/components/layout/header/Header.astro @@ -1,278 +1,335 @@ --- -import Logo from './Logo.astro'; -import Navbar from './Navbar.astro'; -import MobileMenu from './MobileMenu.astro'; -import { COMPANY } from '@constants'; +import Logo from "./Logo.astro"; +import Navbar from "./Navbar.astro"; +import MobileMenu from "./MobileMenu.astro"; +import { COMPANY } from "@constants"; --- \ No newline at end of file + updateScroll(); + }); + diff --git a/frontend/src/components/layout/header/MobileMenu.astro b/frontend/src/components/layout/header/MobileMenu.astro index 5bd0692..1d78751 100644 --- a/frontend/src/components/layout/header/MobileMenu.astro +++ b/frontend/src/components/layout/header/MobileMenu.astro @@ -434,7 +434,6 @@ import { NAV_LINKS, COMPANY } from '@constants'; } -// Внутри MobileMenu.astro diff --git a/frontend/src/pages/privacy.astro b/frontend/src/pages/privacy.astro new file mode 100644 index 0000000..73e1275 --- /dev/null +++ b/frontend/src/pages/privacy.astro @@ -0,0 +1,583 @@ +--- +import Layout from '@layouts/Layout.astro'; +import { SITE_URL } from '@constants'; +--- + + + + + + diff --git a/frontend/src/pages/terms.astro b/frontend/src/pages/terms.astro new file mode 100644 index 0000000..6248947 --- /dev/null +++ b/frontend/src/pages/terms.astro @@ -0,0 +1,451 @@ +--- +import Layout from '@layouts/Layout.astro'; +import { SITE_URL } from '@constants'; +--- + + + + + + diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index 55914f6..c905b0f 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -2,6 +2,7 @@ :root { --site-max-width: 1400px; + --color-light: #ffffff; } html, body {