Skip to content

Commit

Permalink
Add new menu items to information card
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gubskiy committed Feb 17, 2025
1 parent 38ff6bf commit 1c36956
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ NEXT_PUBLIC_COMPLAINTS_FORM="https://docs.google.com/forms/d/e/1FAIpQLSdlWaMSxcY
NEXT_PUBLIC_SCHEDULE_URL=https://schedule.kpi.ua
NEXT_PUBLIC_UNIVERSITY_NOTICE_BOARD_URL=https://kpi.ua/boardlist/
NEXT_PUBLIC_LIBRARY_DISCOVERY_URL=https://discovery.kpi.ua/
NEXT_PUBLIC_UNIVERSITY_NEWS=https://kpi.ua/news/
NEXT_PUBLIC_STUDENT_COUNCIL==https://sc.kpi.ua/
4 changes: 3 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ NEXT_PUBLIC_EDUCATIONAL_ORGANIZATION_REGULATION=https://kpi.ua/regulations
NEXT_PUBLIC_COMPLAINTS_FORM="https://docs.google.com/forms/d/e/1FAIpQLSdlWaMSxcYVSfYDZpVgygSIl8reTZBM2Nl2ZzyuZzdaFwef_w/viewform?embedded=true"
NEXT_PUBLIC_SCHEDULE_URL=https://schedule.kpi.ua
NEXT_PUBLIC_UNIVERSITY_NOTICE_BOARD_URL=https://kpi.ua/boardlist/
NEXT_PUBLIC_LIBRARY_DISCOVERY_URL=https://discovery.kpi.ua/
NEXT_PUBLIC_LIBRARY_DISCOVERY_URL=https://discovery.kpi.ua/
NEXT_PUBLIC_UNIVERSITY_NEWS=https://kpi.ua/news/
NEXT_PUBLIC_STUDENT_COUNCIL==https://sc.kpi.ua/
12 changes: 6 additions & 6 deletions src/app/[locale]/(private)/cards/information-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ export const InformationCard = ({ className }: InformationCardProps) => {
<Paragraph className="my-1">
<Link href={process.env.NEXT_PUBLIC_LIBRARY_DISCOVERY_URL!} target="_blank" rel="noopener noreferrer">{t('library-discovery')}</Link>
</Paragraph>
{/*<Paragraph className="my-1">*/}
{/* <Link href="/frequently-asked-questions">{t('faq')}</Link>*/}
{/*</Paragraph>*/}
{/*<Paragraph className="my-1">*/}
{/* <Link href="/user-manual">{t('user-manual')}</Link>*/}
{/*</Paragraph>*/}
<Paragraph className="my-1">
<Link href={process.env.NEXT_PUBLIC_UNIVERSITY_NEWS!} target="_blank" rel="noopener noreferrer">{t('university-news')}</Link>
</Paragraph>
<Paragraph className="my-1">
<Link href={process.env.NEXT_PUBLIC_STUDENT_COUNCIL!} target="_blank" rel="noopener noreferrer">{t('student-council')}</Link>
</Paragraph>
</CardContent>
</Card>
);
Expand Down
4 changes: 3 additions & 1 deletion src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@
"faq": "Frequently asked questions",
"user-manual": "User manual",
"university-notice-board": "University notice board",
"library-discovery": "Library catalog"
"library-discovery": "Library catalog",
"university-news": "University news",
"student-council": "Student council"
},
"social-networks": {
"title": "Social Networks",
Expand Down
4 changes: 3 additions & 1 deletion src/messages/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@
"faq": "Поширенi запитання",
"user-manual": "Інструкція користувача",
"university-notice-board": "Загальноуніверситетські оголошення",
"library-discovery": "Каталог бібліотеки"
"library-discovery": "Каталог бібліотеки",
"university-news": "Новини університету",
"student-council": "Студентська рада"
},
"social-networks": {
"title": "Соціальні мережі",
Expand Down

0 comments on commit 1c36956

Please sign in to comment.