MCPcopy Create free account

hub / github.com/StudentiUniMi/website / functions

Functions77 in github.com/StudentiUniMi/website

↓ 12 callersFunctiongetAsync
(path: string)
lib/api/client.ts:15
↓ 9 callersFunctionuseCustomRouter
()
hooks/router.ts:3
↓ 7 callersFunctionloadMessages
(locale: string | undefined, namespaces: Array<Namespace>)
lib/intl.ts:3
↓ 3 callersMethoderror
()
lib/api/client.ts:10
↓ 3 callersFunctiongetServicesByCategory
(services: Array<Service>, category: ServiceCategory)
utils/services.ts:4
↓ 3 callersFunctionhandleFocus
()
components/search-bar/index.tsx:58
↓ 3 callersFunctionnormalize
(s: string)
pages/search/index.tsx:160
↓ 2 callersFunctionchangeLanguage
(lng: string)
components/language-switcher/index.tsx:12
↓ 2 callersFunctiongetExtraGroups
()
lib/api/groups.ts:4
↓ 2 callersFunctionuseDegree
(type: DegreeType, language: "it" | "en")
hooks/degree.ts:55
↓ 1 callersFunctiongetCourses
(degreeKey: string)
lib/api/courses.ts:4
↓ 1 callersFunctiongetDegreeAdmins
(degreeSlug: string)
lib/api/admins.ts:4
↓ 1 callersFunctiongetRepresentatives
(departmentKey: string)
lib/api/representatives.ts:4
↓ 1 callersFunctiongetSearchResult
(searchText: string)
lib/api/search.ts:4
↓ 1 callersFunctiongetSlugDegrees
()
lib/api/degrees.ts:24
↓ 1 callersFunctiongetVerboseDegreeBySlug
(degreeSlug: string)
lib/api/degrees.ts:8
↓ 1 callersFunctiongetYearColor
(year: number, isDark: boolean)
utils/degree.ts:1
↓ 1 callersFunctionhandleSearch
()
components/search-bar/index.tsx:65
↓ 1 callersFunctionreplaceUnderscore
(str: string)
pages/degrees/[slug].tsx:145
↓ 1 callersFunctionsanitizeQuery
(q: string)
pages/search/index.tsx:136
↓ 1 callersFunctionscrollAndFocus
()
components/search-hint/index.tsx:12
↓ 1 callersFunctionstartsWithEmoji
(s: string)
pages/rules/index.tsx:49
↓ 1 callersFunctionuseCategoryTagColors
(category: GroupCategory)
hooks/category.ts:58
FunctionAboutPage
({ founders, cdaMembers }: AboutPageProps)
pages/about/index.tsx:35
FunctionAdminCard
({ admin }: AdminCardProps)
components/admin-chip/index.tsx:23
FunctionContactMailPopup
()
components/contact-popup/index.tsx:5
FunctionCourseCard
({ data, isSearchResult = false })
components/course-card/index.tsx:17
FunctionDegreeCard
({ degree, bgColor })
components/degree-card/index.tsx:18
FunctionDegreeGroupCard
({ degree, group })
components/degree-group-card/index.tsx:16
FunctionDegreePage
({ degree, courses, admins, representatives, mainGroup }: DegreePageProps)
pages/degrees/[slug].tsx:46
FunctionEmptyState
({ label })
components/empty-state/index.tsx:9
FunctionFooter
()
components/footer/index.tsx:5
FunctionGroupCard
({ title, description, href, category, bgColor })
components/group-card/index.tsx:20
FunctionGroupNotFound
({ ...props })
components/suggestion/group-not-found/index.tsx:6
FunctionHeader
({ enableHideOnScrollUp }: HeaderProps)
components/header/index.tsx:20
FunctionHomepage
({ groups, associations }: HomepageProps)
pages/index.tsx:37
FunctionItemList
({ label, description, items, enableSearch, firstElement, firstElementName, customLabelWidth = {
components/item-list/index.tsx:79
FunctionItemListTitle
({ label, sectionId })
components/item-list/title/index.tsx:20
FunctionLanguageSwitcher
({ isInSidebar = false }: LanguageSwitcherProps)
components/language-switcher/index.tsx:8
FunctionMainContainer
({ children, ...props }: BoxProps)
components/main-container/index.tsx:4
FunctionMyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:16
FunctionNotFoundPage
()
pages/404/index.tsx:21
FunctionRedirectCard
({ item }: RedirectCardProps)
components/service/redirect/index.tsx:13
FunctionResourceCards
()
components/info-cards/index.tsx:5
FunctionRulesPage
({ messages }: { messages: Record<string, string | RulesTranslation> })
pages/rules/index.tsx:43
FunctionRulesPopup
()
components/rules-popup/index.tsx:5
FunctionSearchBar
({ enableLabel = true, sidebarMode = false, onSearch, focusOnOpen = false, ...props }: SearchBarProps)
components/search-bar/index.tsx:43
FunctionSearchHintToast
()
components/search-hint/index.tsx:7
FunctionSearchPage
({ query, degrees, courses, groups, associations }: SearchPageProps)
pages/search/index.tsx:44
FunctionSeo
({ page, url, image, variables }: SeoProps)
components/seo/index.tsx:37
FunctionServiceCard
({ service }: ServiceCardProps)
components/service/card/index.tsx:11
FunctionServicesPage
({ priorityServices, redirects, tools }: ServicesPageProps)
pages/services/index.tsx:38
FunctionSidebar
({ isOpen, onClose, navItems }: SidebarProps)
components/header/partials/sidebar/index.tsx:30
FunctionTeamMemberCard
({ member })
components/member-card/index.tsx:6
Methodconstructor
( public status: number, public value?: T, public message: string = "" )
lib/api/client.ts:4
FunctionfilterByQuery
(item: ExtraGroup)
pages/search/index.tsx:182
FunctiongetDegrees
(departmentKey: string)
lib/api/degrees.ts:4
FunctiongetDegreesForSearchBox
(searchText: string)
lib/api/degrees.ts:20
FunctiongetDepartments
()
lib/api/departments.ts:4
MethodgetInitialProps
(ctx: DocumentContext)
pages/_document.tsx:5
FunctiongetServerSideProps
(context)
pages/search/index.tsx:133
FunctiongetServiceById
(services: Array<Service>, id: string)
utils/services.ts:3
FunctiongetStaticPaths
()
pages/degrees/[slug].tsx:155
FunctiongetStaticProps
({ locale })
pages/index.tsx:98
FunctiongetStaticProps
({ locale })
pages/404/index.tsx:47
FunctiongetStaticProps
({ locale })
pages/services/index.tsx:95
FunctiongetStaticProps
({ locale })
pages/rules/index.tsx:96
FunctiongetStaticProps
({ locale })
pages/about/index.tsx:87
FunctiongetStaticProps
({ locale, params })
pages/degrees/[slug].tsx:176
FunctiongetStringDegrees
()
lib/api/degrees.ts:16
FunctiongetVerboseDegreeByID
(degreeID: string)
lib/api/degrees.ts:12
FunctionhandleClick
()
components/search-hint/index.tsx:22
FunctionhandleHighlight
()
components/search-bar/index.tsx:72
FunctionhandleScroll
()
components/header/index.tsx:56
FunctionhandleSearchClick
()
components/header/index.tsx:43
Functionredirects
()
next.config.ts:18
Methodrender
()
pages/_document.tsx:11