diff --git a/package-lock.json b/package-lock.json index 814c5fb..f31a1cb 100755 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "skb", "version": "0.1.0", "dependencies": { + "@pbe/react-yandex-maps": "^1.2.5", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", @@ -3302,6 +3303,20 @@ "node": ">= 8" } }, + "node_modules/@pbe/react-yandex-maps": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@pbe/react-yandex-maps/-/react-yandex-maps-1.2.5.tgz", + "integrity": "sha512-cBojin5e1fPx9XVCAqHQJsCnHGMeBNsP0TrNfpWCrPFfxb30ye+JgcGr2mn767Gbr1d+RufBLRiUcX2kaiAwjQ==", + "dependencies": { + "@types/yandex-maps": "2.1.29" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^16.x || ^17.x || ^18.x" + } + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -4571,6 +4586,11 @@ "@types/node": "*" } }, + "node_modules/@types/yandex-maps": { + "version": "2.1.29", + "resolved": "https://registry.npmjs.org/@types/yandex-maps/-/yandex-maps-2.1.29.tgz", + "integrity": "sha512-nuibRWj3RU/9KXlCzTrRtDE+n6V9l7NbT9JakicqZ5OXIdwyb6blvV2Uwn6lB58WYm3DSUDP2I2AWlnWMc8z2w==" + }, "node_modules/@types/yargs": { "version": "16.0.9", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.9.tgz", diff --git a/package.json b/package.json index 12d7837..cbb8e27 100755 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { + "@pbe/react-yandex-maps": "^1.2.5", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", diff --git a/src/pages/Contact/Contact.jsx b/src/pages/Contact/Contact.jsx index d819b02..b7e8ec9 100755 --- a/src/pages/Contact/Contact.jsx +++ b/src/pages/Contact/Contact.jsx @@ -1,24 +1,41 @@ +import { YMaps, Map, Placemark } from '@pbe/react-yandex-maps'; + import { PageContent, PageHeader } from "../components"; +import ContactForm from "../../components/ContactForm"; + +import "./Contact.styles.scss"; function Contact() { return ( <> -

Студенческое конструкторское бюро
- "Компьютерное инновационное творчество"

+
+
+

Контакты

+
+

Контактное лицо:
+ Кутковой Владимир Сергеевич
+ Руководитель СКБ «КИТ»
+ Email: skb@sfedu.ru
+ Адрес: г. Таганрог, пер. Тургеневский, 44, ауд. 208

+
+
+ + + + + +
-
-

Контактное лицо: Кутковой Владимир Сергеевич

-
-
- - - - - - -
+
); diff --git a/src/pages/Contact/Contact.styles.scss b/src/pages/Contact/Contact.styles.scss new file mode 100644 index 0000000..7b9581d --- /dev/null +++ b/src/pages/Contact/Contact.styles.scss @@ -0,0 +1,21 @@ +.top-block { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + flex: 1 1 50%; + + div:has(> ymaps) { + + ymaps[class*="inner-panes"] { + border-radius: 8px; + } + } + +// div:has(> ymaps) + div:has(> ymaps) > * + { + width: auto!important; + height: 100%!important; + aspect-ratio: 1; + } +} \ No newline at end of file