forked from Menzorg/vshsdt
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
21 changed files
with
1,079 additions
and
241 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+27.5 KB
public/documents/info-ob-objeme-finansirovaniya-obrazovateljnoy-deyateljnosti.xls
Binary file not shown.
Binary file added
BIN
+295 KB
public/documents/obrazets-dogovora-ob-okazanii-platnyh-obrazovateljnyh-uslug-fizlitsu.pdf
Binary file not shown.
Binary file added
BIN
+264 KB
public/documents/obrazets-dogovora-ob-okazanii-platnyh-obrazovateljnyh-uslug-urlitsu.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 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 |
---|---|---|
@@ -1,35 +1,71 @@ | ||
'use client'; | ||
"use client"; | ||
|
||
import { Flex, VStack, useMediaQuery } from '@chakra-ui/react'; | ||
import { | ||
Flex, | ||
VStack, | ||
useMediaQuery, | ||
HStack, | ||
Tag, | ||
TagLabel, | ||
TagCloseButton, | ||
Link, | ||
} from "@chakra-ui/react"; | ||
|
||
import Footer from '../../components/footer'; | ||
import EducationCard from '../../components/education-card'; | ||
import Header from '../../components/header'; | ||
import courses from './courses.json'; | ||
import Footer from "../../components/footer"; | ||
import EducationCard from "../../components/education-card"; | ||
import Header from "../../components/header"; | ||
import courses from "./courses.json"; | ||
import NextLink from "next/link"; | ||
import { useSearchParams } from "next/navigation"; | ||
|
||
import { | ||
Breadcrumb, | ||
BreadcrumbItem, | ||
BreadcrumbLink, | ||
} from '@chakra-ui/react' | ||
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink } from "@chakra-ui/react"; | ||
|
||
const breadcrumbs = [{text: 'Каталог курсов'}]; | ||
const breadcrumbs = [{ text: "Каталог курсов" }]; | ||
|
||
export default function Home() { | ||
const [isMax959] = useMediaQuery('(max-width: 959px)') | ||
const [isMax959] = useMediaQuery("(max-width: 959px)"); | ||
const filter = useSearchParams().get("filter"); | ||
|
||
return ( | ||
<Flex direction="column"> | ||
<Header pageName='Каталог курсов'/> | ||
<VStack align="center" p={isMax959 ? "5rem 1rem" : "7rem 6rem"} spacing="2rem"> | ||
{ courses.map((course, i)=> <EducationCard key={i} {...course} /> ) } | ||
</VStack> | ||
<Breadcrumb separator='•' textAlign="center" fontSize='15px' p={isMax959 ? '0rem 2rem' : "0rem 6rem"}> | ||
<BreadcrumbItem> | ||
<BreadcrumbLink href='/'>ВШСДТ</BreadcrumbLink> | ||
</BreadcrumbItem> | ||
{breadcrumbs.map((crumb:any, i:number) => <BreadcrumbItem key={i} isCurrentPage={breadcrumbs.length === i+1}><BreadcrumbLink href={crumb.href}>{crumb.text}</BreadcrumbLink></BreadcrumbItem>)} | ||
</Breadcrumb> | ||
<Footer/> | ||
</Flex> | ||
) | ||
<Flex direction="column"> | ||
<Header pageName="Каталог курсов" /> | ||
<HStack p={isMax959 ? "5rem 1rem 1rem 1rem" : "7rem 6rem 1rem 6rem"} spacing={4}> | ||
{ filter ? | ||
<Tag borderRadius="full" variant="solid" bg="secondary" p="0rem 1rem"> | ||
<Link as={NextLink} title="удалить фильтр" href="/education"> | ||
<TagLabel textStyle="Regular16" color="white">{filter}</TagLabel> | ||
</Link> | ||
<Link as={NextLink} title="удалить фильтр" href="/education"> | ||
<TagCloseButton /> | ||
</Link> | ||
</Tag> : null | ||
} | ||
|
||
</HStack> | ||
<VStack align="center" spacing="2rem"> | ||
{courses.map((course, i) => | ||
!filter || | ||
(filter && course.tags.find((tag) => tag.text == filter)) ? ( | ||
<EducationCard key={i} {...course} /> | ||
) : null | ||
)} | ||
</VStack> | ||
<Breadcrumb | ||
separator="•" | ||
textAlign="center" | ||
fontSize="15px" | ||
p={isMax959 ? "0rem 2rem" : "0rem 6rem"} | ||
> | ||
<BreadcrumbItem> | ||
<BreadcrumbLink href="/">ВШСДТ</BreadcrumbLink> | ||
</BreadcrumbItem> | ||
{breadcrumbs.map((crumb: any, i: number) => ( | ||
<BreadcrumbItem key={i} isCurrentPage={breadcrumbs.length === i + 1}> | ||
<BreadcrumbLink href={crumb.href}>{crumb.text}</BreadcrumbLink> | ||
</BreadcrumbItem> | ||
))} | ||
</Breadcrumb> | ||
<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 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,86 @@ | ||
"use client"; | ||
|
||
import { | ||
Flex, | ||
Text, | ||
Link, | ||
useMediaQuery, | ||
UnorderedList, | ||
ListItem, | ||
} from "@chakra-ui/react"; | ||
import NextLink from "next/link"; | ||
import Header from "@/components/header"; | ||
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink } from "@chakra-ui/react"; | ||
import Footer from "@/components/footer"; | ||
|
||
const breadcrumbs = [ | ||
{ | ||
text: "Платные образовательные услуги", | ||
}, | ||
]; | ||
|
||
export default function Home() { | ||
const [isMax959] = useMediaQuery("(max-width: 959px)"); | ||
return ( | ||
<> | ||
<Header pageName="Платные образовательные услуги" /> | ||
<Flex direction="column" padding="3rem 25%"> | ||
<Text textStyle="h1" color="black" mt="6rem" align="center"> | ||
Сведения об образовательной организации | ||
</Text> | ||
<Text textStyle="Medium32" color="black" mt="3rem" align="center"> | ||
АНО ДПО Высшая школа стилистики, дизайна и технологий | ||
</Text> | ||
|
||
<Text textStyle="Regular30" color="black" mt="3rem" align="center"> | ||
Платные образовательные услуги | ||
</Text> | ||
|
||
<Text textStyle="Regular14" mt="2rem"> | ||
Образцы договоров об оказании платных услуг: | ||
</Text> | ||
<UnorderedList spacing="1rem" paddingTop="1rem"> | ||
<ListItem> | ||
<Link | ||
as={NextLink} | ||
title="Образец договора об оказании платных образовательных услуг физическому лицу" | ||
target="_blank" | ||
href="/documents/obrazets-dogovora-ob-okazanii-platnyh-obrazovateljnyh-uslug-fizlitsu.pdf" | ||
> | ||
Образец договора об оказании платных образовательных услуг физическому лицу | ||
</Link> | ||
</ListItem> | ||
|
||
<ListItem> | ||
<Link | ||
as={NextLink} | ||
title="Образец договора об оказании платных образовательных услуг юридическому лицу" | ||
target="_blank" | ||
href="/documents/obrazets-dogovora-ob-okazanii-platnyh-obrazovateljnyh-uslug-urlitsu.pdf" | ||
> | ||
Образец договора об оказании платных образовательных услуг юридическому лицу | ||
</Link> | ||
</ListItem> | ||
</UnorderedList> | ||
|
||
</Flex> | ||
|
||
<Breadcrumb | ||
separator="•" | ||
textAlign="center" | ||
fontSize="15px" | ||
p={isMax959 ? "0rem 2rem" : "0rem 6rem"} | ||
> | ||
<BreadcrumbItem> | ||
<BreadcrumbLink href="/">ВШСДТ</BreadcrumbLink> | ||
</BreadcrumbItem> | ||
{breadcrumbs.map((crumb: any, i: number) => ( | ||
<BreadcrumbItem key={i} isCurrentPage={breadcrumbs.length === i + 1}> | ||
<BreadcrumbLink href={crumb.href}>{crumb.text}</BreadcrumbLink> | ||
</BreadcrumbItem> | ||
))} | ||
</Breadcrumb> | ||
<Footer></Footer> | ||
</> | ||
); | ||
} |
Oops, something went wrong.