diff --git a/searching-front/app/core/components/Footer/Footer.tsx b/searching-front/app/core/components/Footer/Footer.tsx new file mode 100644 index 0000000..7e3f666 --- /dev/null +++ b/searching-front/app/core/components/Footer/Footer.tsx @@ -0,0 +1,26 @@ +import { Routes } from "@blitzjs/next" +import TonLogo from "app/core/icons/TonLogo" +import { useRouter } from "next/router" +import { useTranslation } from "react-i18next" +import SearchForm from "../SearchForm" +import ThemeSwitcher from "../ThemeSwitcher/ThemeSwitcher" +import s from "./styles.module.css" +import TGLogo from "./TGLogo" + +const Header = () => { + const { route } = useRouter() + + const router = useRouter() + const { t } = useTranslation() + + return ( +
+
+ {t("footer.contacts-description")} + +
+
+ ) +} + +export default Header diff --git a/searching-front/app/core/components/Footer/TGLogo.tsx b/searching-front/app/core/components/Footer/TGLogo.tsx new file mode 100644 index 0000000..351f116 --- /dev/null +++ b/searching-front/app/core/components/Footer/TGLogo.tsx @@ -0,0 +1,4 @@ +export default function ({className}) { + return + +} \ No newline at end of file diff --git a/searching-front/app/core/components/Footer/index.ts b/searching-front/app/core/components/Footer/index.ts new file mode 100644 index 0000000..3fcfca8 --- /dev/null +++ b/searching-front/app/core/components/Footer/index.ts @@ -0,0 +1 @@ +export {default} from './Footer' \ No newline at end of file diff --git a/searching-front/app/core/components/Footer/styles.module.css b/searching-front/app/core/components/Footer/styles.module.css new file mode 100644 index 0000000..3758cb3 --- /dev/null +++ b/searching-front/app/core/components/Footer/styles.module.css @@ -0,0 +1,16 @@ +.root { + box-sizing: border-box; + display: flex; + justify-content: center; +} +.tgIcon { + width: 25px; + height: 25px; + margin-top: 10px; +} +.contactsWrapper { + display: flex; + flex-direction: column; + align-items: center; + color: var(--text_secondary); +} \ No newline at end of file diff --git a/searching-front/app/core/layouts/Layout/index.tsx b/searching-front/app/core/layouts/Layout/index.tsx index 43bd586..b10b1c5 100644 --- a/searching-front/app/core/layouts/Layout/index.tsx +++ b/searching-front/app/core/layouts/Layout/index.tsx @@ -5,6 +5,7 @@ import s from "./styles.module.css" import Header from "app/core/components/Header" import { cn } from "app/core/helpers/common" import { useCurrentTheme } from "app/core/hooks/useCurrentTheme" +import Footer from "app/core/components/Footer" const Layout: BlitzLayout<{ title?: string @@ -28,6 +29,7 @@ const Layout: BlitzLayout<{ >
{children}
+