diff --git a/frontend/astro.config.mjs b/frontend/astro.config.mjs index bafd80d..514583f 100644 --- a/frontend/astro.config.mjs +++ b/frontend/astro.config.mjs @@ -3,10 +3,11 @@ import { defineConfig } from 'astro/config'; import tailwindcss from '@tailwindcss/vite'; import node from '@astrojs/node'; import mdx from '@astrojs/mdx'; +import icon from "astro-icon"; // https://astro.build/config export default defineConfig({ - integrations: [mdx()], + integrations: [mdx(), icon()], vite: { plugins: [tailwindcss()], }, diff --git a/frontend/package.json b/frontend/package.json index cda554e..9ba10d0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -16,6 +16,7 @@ "@astrojs/node": "^10.0.4", "@tailwindcss/vite": "^4.2.2", "astro": "^6.0.8", + "astro-icon": "^1.1.5", "tailwindcss": "^4.2.2" }, "devDependencies": { diff --git a/frontend/public/images/faq/faqBg.avif b/frontend/public/images/faq/faqBg.avif new file mode 100644 index 0000000..deddfd4 Binary files /dev/null and b/frontend/public/images/faq/faqBg.avif differ diff --git a/frontend/public/images/faq/faqImg.avif b/frontend/public/images/faq/faqImg.avif new file mode 100644 index 0000000..e3b489b Binary files /dev/null and b/frontend/public/images/faq/faqImg.avif differ diff --git a/frontend/src/components/base/PageHero.astro b/frontend/src/components/base/PageHero.astro index 1191cff..97314c2 100644 --- a/frontend/src/components/base/PageHero.astro +++ b/frontend/src/components/base/PageHero.astro @@ -1,5 +1,6 @@ --- import Button from '@components/base/Button.astro'; +import { Icon } from 'astro-icon/components'; interface PageHeroProps { badgeText: string; @@ -17,6 +18,7 @@ interface PageHeroProps { number: string; text: string; }; + icon?: string; // Название иконки из /src/icons/ } const { @@ -31,7 +33,8 @@ const { layout = "default", sideImage = "", sideImageAlt = "", - experienceBadge + experienceBadge, + icon } = Astro.props as PageHeroProps; const showImage = layout === 'with-image' && sideImage; @@ -43,7 +46,13 @@ const showImage = layout === 'with-image' && sideImage;
+ Собрали ответы на самые частые вопросы наших клиентов. Не нашли ответ? Позвоните — проконсультируем бесплатно +
- Собрали ответы на самые частые вопросы наших клиентов. Не нашли ответ? Позвоните — проконсультируем бесплатно -
-- Здесь вы можете скачать все необходимые документы, договоры, памятки и шаблоны в удобном формате -
-