matthew
2 years ago
13 changed files with 59 additions and 9 deletions
@ -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 ( |
||||
<div className={s.root}> |
||||
<div className={s.contactsWrapper} > |
||||
<span>{t("footer.contacts-description")}</span> |
||||
<a target="_blank" href="https://searching_ton.t.me/"><TGLogo className={s.tgIcon}/></a> |
||||
</div> |
||||
</div> |
||||
) |
||||
} |
||||
|
||||
export default Header |
@ -0,0 +1,4 @@
|
||||
export default function ({className}) { |
||||
return <svg className={className} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 159 159"><defs><linearGradient id="a" x1="481.03" y1="545.05" x2="481.03" y2="544.89" gradientTransform="matrix(1000 0 0 -1000 -480951.5 545048.5)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2aabee"/><stop offset="1" stop-color="#229ed9"/></linearGradient></defs><circle cx="79.5" cy="79.5" r="79.5" fill="url(#a)"/><path d="M468.49 511.16q34.76-15.15 46.36-20c22.08-9.18 26.67-10.78 29.66-10.83a5.23 5.23 0 0 1 3.08.92 3.35 3.35 0 0 1 1.13 2.15 14 14 0 0 1 .13 3.13c-1.2 12.57-6.37 43.08-9 57.16-1.11 6-3.31 8-5.43 8.15-4.62.42-8.12-3.05-12.59-6-7-4.59-10.95-7.44-17.74-11.92-7.85-5.17-2.76-8 1.71-12.66 1.17-1.22 21.51-19.72 21.91-21.4a1.62 1.62 0 0 0-.37-1.41 1.83 1.83 0 0 0-1.65-.16q-1.05.24-33.53 22.16-4.76 3.27-8.62 3.18c-2.84-.06-8.3-1.6-12.36-2.92-5-1.62-8.94-2.47-8.59-5.22q.25-2.08 5.9-4.33Z" transform="translate(-432.5 -432.5)" fill="#fff"/></svg> |
||||
|
||||
} |
@ -0,0 +1 @@
|
||||
export {default} from './Footer' |
@ -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); |
||||
} |
Loading…
Reference in new issue