-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Пётр Безденежных
authored and
Пётр Безденежных
committed
Feb 12, 2024
1 parent
cb7a28b
commit b09cf8a
Showing
17 changed files
with
823 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { Box, Flex, Text, VStack, useMediaQuery } from '@chakra-ui/react' | ||
import { memo } from "react" | ||
|
||
export const Address = memo(function Address(props: any) { | ||
const [isMax667] = useMediaQuery('(max-width: 667px)'); | ||
const [isMax959] = useMediaQuery('(max-width: 959px)') | ||
return ( | ||
<Flex direction="column" w="100%" p={isMax959 ? '1rem 2rem' : "3rem 6rem"} > | ||
<Flex justify={isMax959 ? 'flex-start' : 'space-between'} mb="sm"> | ||
{ !isMax667 ? <Box w="xs" h="100%" mr="2rem"> | ||
<Box w="xs" h="xs" bg='secondary' /> | ||
</Box> : null | ||
} | ||
<VStack align="flex-start" w="calc(100% - 2rem)" > | ||
<Text as="h2" textStyle="Light20">Адрес</Text> | ||
</VStack> | ||
</Flex> | ||
<Flex direction="row" justify={isMax959 ? 'flex-start' : 'flex-end'}> | ||
<Flex direction={isMax959 ? 'column' : 'row'} width={isMax959 ? '100%' : '75%'} justify={isMax959 ? 'flex-end' : 'flex-start'} mb="sm"> | ||
<Box w={isMax959 ? '100%' : '50%'}> | ||
<Text>129085, г. Москва, проспект Мира, д. 101, стр.1, пом.210</Text> | ||
<Text>Для почтовой корреспонденции: а/я 2-18</Text> | ||
<Text>Телефон: +7 495 221-89-35</Text> | ||
<Text>E-mail: [email protected]</Text> | ||
<br/> | ||
<Text>Время работы учебного отдела:</Text> | ||
<Text>Пн-Пт с 09:30 до 18:30 (мск)</Text> | ||
<Text>Время проведения занятий, в т.ч. онлайн:</Text> | ||
<Text>Пн-Пт с 10:00 до 22:00 (мск)</Text> | ||
<Text>Сб с 10:00 до 18:00</Text> | ||
</Box> | ||
<Box w={isMax959 ? '100%' : '40%'} h="10px" bg="blue"/> | ||
</Flex> | ||
</Flex> | ||
</Flex> | ||
) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"banner": true, | ||
"points": [ | ||
{ | ||
"title": "Обратная связь", | ||
"lists": [{ | ||
"texts": ["На данный момент запись на программы ВШСДТ и получения информации по обучению доступны только в следующих группах:"], | ||
"type": "column", | ||
"mb": "1.5rem", | ||
"content": [ | ||
{ "endLink": { "href": "https://t.me/styleschool_ask", "title": "Телеграм", "text": "Телеграм"} }, | ||
{ "endLink": { "href": "https://chat.whatsapp.com/LQpG7XjdGSBAiaXNgcoE54", "title": "Телеграм", "text": "WhatsApp"} } | ||
] | ||
}], | ||
"details": ["Наши специалисты готовы ответить на ваши запросы в течение 48 часов в рабочие дни с 9:00 до 19:00 по московскому времени. Не стесняйтесь связаться с нами через указанные каналы для получения необходимой информации и поддержки."] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
'use client'; | ||
|
||
import { Flex, Text, Box, Link } from '@chakra-ui/react'; | ||
import Footer from '../footer'; | ||
import Header from '../header'; | ||
import { PageGrid } from '@/app/course/page-grid'; | ||
import { Address } from './address'; | ||
|
||
import data from "./page-data.json"; | ||
|
||
export default function Home() { | ||
return ( | ||
<Flex direction="column"> | ||
<Header breadcrumbs={[{text: 'Контакты'}]}/> | ||
<PageGrid { ...data } /> | ||
<Address/> | ||
<Footer/> | ||
</Flex> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.