mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:39:45 +00:00
перенес структуру Севы со своими правками
This commit is contained in:
1 parent
3a1cac0dfe
commit
808d97eb4b
331 files changed
+12260
-19950
No files matched your search
@@ -1,44 +0,0 @@
|
||||
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 (
|
||||
<div id="page-contact">
|
||||
<PageHeader>
|
||||
<div className="top-block">
|
||||
<div>
|
||||
<h1>Контакты</h1>
|
||||
<div className="contact">
|
||||
<p>Контактное лицо:<br />
|
||||
Кутковой Владимир Сергеевич<br />
|
||||
Руководитель СКБ «КИТ»<br />
|
||||
Email: skb@sfedu.ru<br />
|
||||
Адрес: г. Таганрог, пер. Тургеневский, 44, ауд. 208</p>
|
||||
</div>
|
||||
</div>
|
||||
<YMaps>
|
||||
<Map
|
||||
defaultState={{
|
||||
center: [47.206690, 38.929113],
|
||||
zoom: 13,
|
||||
controls: ["zoomControl", "fullscreenControl"],
|
||||
}}
|
||||
modules={["control.ZoomControl", "control.FullscreenControl"]}
|
||||
>
|
||||
<Placemark defaultGeometry={[47.206690, 38.929113]} />
|
||||
</Map>
|
||||
</YMaps>
|
||||
</div>
|
||||
</PageHeader>
|
||||
<PageContent>
|
||||
<ContactForm />
|
||||
</PageContent>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Contact;
|
||||
@@ -1,52 +1,51 @@
|
||||
@import "../../components/ContactForm/ContactForm.styles.scss";
|
||||
@import "../../widgets/ContactForm/ContactForm.styles.scss";
|
||||
|
||||
#page-contact {
|
||||
.top-block {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
flex: 1 1 50%;
|
||||
.top-block {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
flex: 1 1 50%;
|
||||
|
||||
margin-bottom: 2em;
|
||||
//margin-top: 48px;
|
||||
@media (max-width: 768px) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
margin-bottom: 2em;
|
||||
margin-top: 48px;
|
||||
@media (max-width: 768px) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
.row {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.submit-container {
|
||||
margin: 0;
|
||||
max-width: 35%;
|
||||
}
|
||||
}
|
||||
|
||||
.row>* {
|
||||
flex: 1 1 calc(50% - ($gap / 2));
|
||||
}
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
.row {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.submit-container {
|
||||
margin: 0;
|
||||
max-width: 35%;
|
||||
}
|
||||
}
|
||||
|
||||
.row > * {
|
||||
flex: 1 1 calc(50% - ($gap / 2));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
import { YMaps, Map, Placemark } from "@pbe/react-yandex-maps";
|
||||
|
||||
import "./Contact.styles.scss";
|
||||
import ContactForm from "@/widgets/ContactForm";
|
||||
|
||||
function Contact() {
|
||||
return (
|
||||
<div id="page-contact" className="mainContainer">
|
||||
<div className="top-block">
|
||||
<div>
|
||||
<h1>Контакты</h1>
|
||||
<div className="contact">
|
||||
<p>
|
||||
Контактное лицо:
|
||||
<br />
|
||||
Кутковой Владимир Сергеевич
|
||||
<br />
|
||||
Руководитель СКБ «КИТ»
|
||||
<br />
|
||||
Email: skb@sfedu.ru
|
||||
<br />
|
||||
Адрес: г. Таганрог, пер. Тургеневский, 44, ауд. 208
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<YMaps>
|
||||
<Map
|
||||
defaultState={{
|
||||
center: [47.20669, 38.929113],
|
||||
zoom: 13,
|
||||
controls: ["zoomControl", "fullscreenControl"],
|
||||
}}
|
||||
modules={["control.ZoomControl", "control.FullscreenControl"]}
|
||||
>
|
||||
<Placemark defaultGeometry={[47.20669, 38.929113]} />
|
||||
</Map>
|
||||
</YMaps>
|
||||
</div>
|
||||
|
||||
<ContactForm />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Contact;
|
||||
Executable → Regular
File renamed without changes.
Reference in new issue
Block a user