@@ -0,0 +1,30 @@ +.footer { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 18px; +} + +@media (max-width: 1024px) { + .footer { + margin-top: 12px; + flex-direction: column; + align-items: center; + gap: 12px; + } +} + +.footerLink { + font-size: 12px; + color: #A4AAB5CC; + text-decoration: none; + transition: color 0.15s ease; + padding: 6px 10px; + border-radius: 16px; +} + +.footerLink:hover { + color: #fff; + background-color: #272729; +} + @@ -5,9 +5,12 @@ import { useRouter } from 'next/router' import { NextPageWithLayout } from '#/pages/_app' import { useAppSelector } from '#/app/store/store' import { getDeviceType } from '#/shared/lib/helpers/get-type-device' +import { staticLinks } from '#/widgets/navigation-search/config/static-links' import { PromoCardsList } from './promo-cards-list' import type { PromoCardType } from './promo-card' +import styles from './home.module.scss' + export interface HomePageProps {} const Home: NextPageWithLayout = () => { @@ -53,30 +56,31 @@ const Home: NextPageWithLayout = () => { routerlink: '/videos', buttonText: 'Попробовать', }, - // { - // title: 'Копирайтинг', - // image: '/images/promo-cards/copyright.png', - // description: 'Создавайте уникальные, качественные тексты для бизнеса, блогов и рекламы.', - // routerlink: '/chat-bot', - // buttonText: 'Скоро будет доступно', - // buttonDisabled: true, - // }, - // { - // title: 'Улучшение фото', - // image: '/images/promo-cards/image-enhancement.png', - // description: 'Улучшайте качество, устраняйте шум и добавляйте детали с помощью ИИ.', - // routerlink: '/images/nanobanana', - // buttonText: 'Скоро будет доступно', - // buttonDisabled: true, - // }, ] + const footerLinks = React.useMemo(() => staticLinks.filter((l) => l.external), []) + return ( + + + {footerLinks.map((link) => ( + + {link.label.trim()} + + ))} + ) @@ -21,6 +21,30 @@ export const staticLinks: NavigationSearchLink[] = [ url: '/api-keys', category: 'Навигация', }, + { + label: 'Лендинг', + url: 'https://air.fail', + category: 'Навигация', + external: true, + }, + { + label: 'Согласие на обработку данных', + url: 'https://air.fail/consent', + category: 'Навигация', + external: true, + }, + { + label: 'Политика обработки данных', + url: 'https://air.fail/personal', + category: 'Навигация', + external: true, + }, + { + label: 'Контакты ', + url: 'https://air.fail/contacts', + category: 'Навигация', + external: true, + }, { label: 'Реквизиты', url: 'https://air.fail/requisites', @@ -279,24 +279,6 @@ export const SideMenu = ({}) => { /> - - {open === 'opened' && ( - - - - Реквизиты - - - - )} - )}