mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
feat: type-safe sc-icons
This commit is contained in:
@@ -62,7 +62,7 @@ export const profilePageSections: SCSection[] = [
|
||||
links: [
|
||||
{
|
||||
name: 'Favorites',
|
||||
icon: SCIcon`grade`,
|
||||
icon: SCIcon.grade,
|
||||
link: ['/favorites'],
|
||||
translations: {
|
||||
de: {
|
||||
@@ -73,7 +73,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Schedule',
|
||||
icon: SCIcon`calendar_today`,
|
||||
icon: SCIcon.calendar_today,
|
||||
link: ['/schedule'],
|
||||
translations: {
|
||||
de: {
|
||||
@@ -84,7 +84,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Course Catalog',
|
||||
icon: SCIcon`inventory_2`,
|
||||
icon: SCIcon.inventory_2,
|
||||
link: ['/catalog'],
|
||||
translations: {
|
||||
de: {
|
||||
@@ -95,7 +95,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Settings',
|
||||
icon: SCIcon`settings`,
|
||||
icon: SCIcon.settings,
|
||||
link: ['/settings'],
|
||||
translations: {
|
||||
de: {
|
||||
@@ -106,7 +106,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Feedback',
|
||||
icon: SCIcon`rate_review`,
|
||||
icon: SCIcon.rate_review,
|
||||
link: ['/feedback'],
|
||||
translations: {
|
||||
de: {
|
||||
@@ -117,7 +117,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'About',
|
||||
icon: SCIcon`info`,
|
||||
icon: SCIcon.info,
|
||||
link: ['/about'],
|
||||
translations: {
|
||||
de: {
|
||||
@@ -140,7 +140,7 @@ export const profilePageSections: SCSection[] = [
|
||||
links: [
|
||||
{
|
||||
name: 'Assessments',
|
||||
icon: SCIcon`fact_check`,
|
||||
icon: SCIcon.fact_check,
|
||||
link: ['/assessments'],
|
||||
needsAuth: true,
|
||||
translations: {
|
||||
@@ -164,7 +164,7 @@ export const profilePageSections: SCSection[] = [
|
||||
links: [
|
||||
{
|
||||
name: 'Library Catalog',
|
||||
icon: SCIcon`local_library`,
|
||||
icon: SCIcon.local_library,
|
||||
link: ['/hebis-search'],
|
||||
translations: {
|
||||
de: {
|
||||
@@ -175,7 +175,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Library Account',
|
||||
icon: SCIcon`badge`,
|
||||
icon: SCIcon.badge,
|
||||
needsAuth: true,
|
||||
link: ['/library-account/profile'],
|
||||
translations: {
|
||||
@@ -187,7 +187,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Orders & Reservations',
|
||||
icon: SCIcon`collections_bookmark`,
|
||||
icon: SCIcon.collections_bookmark,
|
||||
needsAuth: true,
|
||||
link: ['/library-account/holds'],
|
||||
translations: {
|
||||
@@ -199,7 +199,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Checked out items',
|
||||
icon: SCIcon`library_books`,
|
||||
icon: SCIcon.library_books,
|
||||
needsAuth: true,
|
||||
link: ['/library-account/checked-out'],
|
||||
translations: {
|
||||
@@ -211,7 +211,7 @@ export const profilePageSections: SCSection[] = [
|
||||
},
|
||||
{
|
||||
name: 'Fines',
|
||||
icon: SCIcon`request_page`,
|
||||
icon: SCIcon.request_page,
|
||||
needsAuth: true,
|
||||
link: ['/library-account/fines'],
|
||||
translations: {
|
||||
|
||||
Reference in New Issue
Block a user