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
54 changed files
with
2,380 additions
and
216 deletions.
There are no files selected for viewing
Binary file not shown.
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 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 added
BIN
+459 KB
public/documents/polozhenie-o-poryadke-obucheniya-po-individualjnomu-uchebnomu-planu.pdf
Binary file not shown.
Binary file added
BIN
+984 KB
public/documents/polozhenie-o-poryadke-tekuschego-kontrolya-uspevaemosti-i-attestatsii.pdf
Binary file not shown.
Binary file added
BIN
+391 KB
public/documents/polozhenie-o-privlechenii-storonnih-spetsialistov.pdf
Binary file not shown.
Binary file added
BIN
+632 KB
public/documents/polozhenie-o-professionaljnoy-etike-pedagogicheskih-rabotnikov.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.06 MB
public/documents/polozhenie-o-vnutrenney-sisteme-otsenki-kachestva-programm-dpo.pdf
Binary file not shown.
Binary file added
BIN
+863 KB
public/documents/polozhenie-ob-oplate-truda-i-premirovanii-rabotnikov.pdf
Binary file not shown.
Binary file added
BIN
+864 KB
public/documents/polozhenie-ob-organizatsii-platnyh-obrazovateljnyh-uslug.pdf
Binary file not shown.
Binary file added
BIN
+1.07 MB
public/documents/polozhenie-po-obrabotke-personaljnyh-dannyh-obuchayuschihsya.pdf
Binary file not shown.
Binary file added
BIN
+2.33 MB
public/documents/polozhenie-po-obrabotke-personaljnyh-dannyh-rabotnikov.pdf
Binary file not shown.
Binary file added
BIN
+969 KB
...documents/poryadok-opredeleniya-i-ucheta-uchebnoy-nagruzki-pedagogicheskih-rabotnikov.pdf
Binary file not shown.
Binary file added
BIN
+887 KB
public/documents/pravila-priema-perevoda-otchisleniya-i-vosstanovleniya-obuchayuschihsya.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+785 KB
public/documents/programma-prof-podgotovki-design-i-dekorirovanie-interjera.pdf
Binary file not shown.
Binary file added
BIN
+1.21 MB
public/documents/programma-prof-podgotovki-image-consulting&fashion-styling.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.11 MB
public/documents/svideteljstvo-o-gosudarstvennoy-registratsii-ano-vshs.pdf
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.