diff --git a/src/components/Contacts/contacts.module.css b/src/components/Contacts/contacts.module.css new file mode 100644 index 00000000..660ae946 --- /dev/null +++ b/src/components/Contacts/contacts.module.css @@ -0,0 +1,7 @@ +.strong { + margin-bottom: var(--size-m); +} + +.link { + margin-bottom: var(--size-s); +} diff --git a/src/components/Contacts/index.tsx b/src/components/Contacts/index.tsx index 6b546f04..79436dc8 100644 --- a/src/components/Contacts/index.tsx +++ b/src/components/Contacts/index.tsx @@ -1,25 +1,22 @@ +import s from './contacts.module.css' + import { useContext } from 'react' import { ConfigContext } from 'src/context/ConfigContext' +import Link from 'next/link' export const Contacts: React.FC = props => { const { contacts } = useContext(ConfigContext) return ( <> - - - Контактная информация + Контактная информация {contacts.map((x, i) => ( -
++ + {x.title} + +
))} > )