перенес структуру Севы со своими правками

This commit is contained in:
ifraimka1 committed 2025-04-01 15:25:46 +03:00
1 parent 3a1cac0dfe
commit 808d97eb4b
331 files changed
+12260 -19950

No files matched your search

-44
View File
@@ -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;
+45 -46
View File
@@ -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));
}
}
}
+45
View File
@@ -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;
View File
File renamed without changes.