Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudentiUniMi/website
/ functions
Functions
77 in github.com/StudentiUniMi/website
⨍
Functions
77
◇
Types & classes
43
↓ 12 callers
Function
getAsync
(path: string)
lib/api/client.ts:15
↓ 9 callers
Function
useCustomRouter
()
hooks/router.ts:3
↓ 7 callers
Function
loadMessages
(locale: string | undefined, namespaces: Array<Namespace>)
lib/intl.ts:3
↓ 3 callers
Method
error
()
lib/api/client.ts:10
↓ 3 callers
Function
getServicesByCategory
(services: Array<Service>, category: ServiceCategory)
utils/services.ts:4
↓ 3 callers
Function
handleFocus
()
components/search-bar/index.tsx:58
↓ 3 callers
Function
normalize
(s: string)
pages/search/index.tsx:160
↓ 2 callers
Function
changeLanguage
(lng: string)
components/language-switcher/index.tsx:12
↓ 2 callers
Function
getExtraGroups
()
lib/api/groups.ts:4
↓ 2 callers
Function
useDegree
(type: DegreeType, language: "it" | "en")
hooks/degree.ts:55
↓ 1 callers
Function
getCourses
(degreeKey: string)
lib/api/courses.ts:4
↓ 1 callers
Function
getDegreeAdmins
(degreeSlug: string)
lib/api/admins.ts:4
↓ 1 callers
Function
getRepresentatives
(departmentKey: string)
lib/api/representatives.ts:4
↓ 1 callers
Function
getSearchResult
(searchText: string)
lib/api/search.ts:4
↓ 1 callers
Function
getSlugDegrees
()
lib/api/degrees.ts:24
↓ 1 callers
Function
getVerboseDegreeBySlug
(degreeSlug: string)
lib/api/degrees.ts:8
↓ 1 callers
Function
getYearColor
(year: number, isDark: boolean)
utils/degree.ts:1
↓ 1 callers
Function
handleSearch
()
components/search-bar/index.tsx:65
↓ 1 callers
Function
replaceUnderscore
(str: string)
pages/degrees/[slug].tsx:145
↓ 1 callers
Function
sanitizeQuery
(q: string)
pages/search/index.tsx:136
↓ 1 callers
Function
scrollAndFocus
()
components/search-hint/index.tsx:12
↓ 1 callers
Function
startsWithEmoji
(s: string)
pages/rules/index.tsx:49
↓ 1 callers
Function
useCategoryTagColors
(category: GroupCategory)
hooks/category.ts:58
Function
AboutPage
({ founders, cdaMembers }: AboutPageProps)
pages/about/index.tsx:35
Function
AdminCard
({ admin }: AdminCardProps)
components/admin-chip/index.tsx:23
Function
ContactMailPopup
()
components/contact-popup/index.tsx:5
Function
CourseCard
({ data, isSearchResult = false })
components/course-card/index.tsx:17
Function
DegreeCard
({ degree, bgColor })
components/degree-card/index.tsx:18
Function
DegreeGroupCard
({ degree, group })
components/degree-group-card/index.tsx:16
Function
DegreePage
({ degree, courses, admins, representatives, mainGroup }: DegreePageProps)
pages/degrees/[slug].tsx:46
Function
EmptyState
({ label })
components/empty-state/index.tsx:9
Function
Footer
()
components/footer/index.tsx:5
Function
GroupCard
({ title, description, href, category, bgColor })
components/group-card/index.tsx:20
Function
GroupNotFound
({ ...props })
components/suggestion/group-not-found/index.tsx:6
Function
Header
({ enableHideOnScrollUp }: HeaderProps)
components/header/index.tsx:20
Function
Homepage
({ groups, associations }: HomepageProps)
pages/index.tsx:37
Function
ItemList
({ label, description, items, enableSearch, firstElement, firstElementName, customLabelWidth = {
components/item-list/index.tsx:79
Function
ItemListTitle
({ label, sectionId })
components/item-list/title/index.tsx:20
Function
LanguageSwitcher
({ isInSidebar = false }: LanguageSwitcherProps)
components/language-switcher/index.tsx:8
Function
MainContainer
({ children, ...props }: BoxProps)
components/main-container/index.tsx:4
Function
MyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:16
Function
NotFoundPage
()
pages/404/index.tsx:21
Function
RedirectCard
({ item }: RedirectCardProps)
components/service/redirect/index.tsx:13
Function
ResourceCards
()
components/info-cards/index.tsx:5
Function
RulesPage
({ messages }: { messages: Record<string, string | RulesTranslation> })
pages/rules/index.tsx:43
Function
RulesPopup
()
components/rules-popup/index.tsx:5
Function
SearchBar
({ enableLabel = true, sidebarMode = false, onSearch, focusOnOpen = false, ...props }: SearchBarProps)
components/search-bar/index.tsx:43
Function
SearchHintToast
()
components/search-hint/index.tsx:7
Function
SearchPage
({ query, degrees, courses, groups, associations }: SearchPageProps)
pages/search/index.tsx:44
Function
Seo
({ page, url, image, variables }: SeoProps)
components/seo/index.tsx:37
Function
ServiceCard
({ service }: ServiceCardProps)
components/service/card/index.tsx:11
Function
ServicesPage
({ priorityServices, redirects, tools }: ServicesPageProps)
pages/services/index.tsx:38
Function
Sidebar
({ isOpen, onClose, navItems }: SidebarProps)
components/header/partials/sidebar/index.tsx:30
Function
TeamMemberCard
({ member })
components/member-card/index.tsx:6
Method
constructor
( public status: number, public value?: T, public message: string = "" )
lib/api/client.ts:4
Function
filterByQuery
(item: ExtraGroup)
pages/search/index.tsx:182
Function
getDegrees
(departmentKey: string)
lib/api/degrees.ts:4
Function
getDegreesForSearchBox
(searchText: string)
lib/api/degrees.ts:20
Function
getDepartments
()
lib/api/departments.ts:4
Method
getInitialProps
(ctx: DocumentContext)
pages/_document.tsx:5
Function
getServerSideProps
(context)
pages/search/index.tsx:133
Function
getServiceById
(services: Array<Service>, id: string)
utils/services.ts:3
Function
getStaticPaths
()
pages/degrees/[slug].tsx:155
Function
getStaticProps
({ locale })
pages/index.tsx:98
Function
getStaticProps
({ locale })
pages/404/index.tsx:47
Function
getStaticProps
({ locale })
pages/services/index.tsx:95
Function
getStaticProps
({ locale })
pages/rules/index.tsx:96
Function
getStaticProps
({ locale })
pages/about/index.tsx:87
Function
getStaticProps
({ locale, params })
pages/degrees/[slug].tsx:176
Function
getStringDegrees
()
lib/api/degrees.ts:16
Function
getVerboseDegreeByID
(degreeID: string)
lib/api/degrees.ts:12
Function
handleClick
()
components/search-hint/index.tsx:22
Function
handleHighlight
()
components/search-bar/index.tsx:72
Function
handleScroll
()
components/header/index.tsx:56
Function
handleSearchClick
()
components/header/index.tsx:43
Function
redirects
()
next.config.ts:18
Method
render
()
pages/_document.tsx:11