From 1f4958b6971f691183752fe298dce2eada6f78e8 Mon Sep 17 00:00:00 2001 From: rtrembecky Date: Sat, 21 Dec 2024 15:01:40 +0100 Subject: [PATCH] fix `/media` links --- src/components/Archive/Archive.tsx | 2 +- src/components/CompetitionPage/CompetitionPage.tsx | 6 +++--- .../CompetitionPage/UpcomingOrCurrentEventInfo.tsx | 2 +- src/components/PublicationUploader/PublicationUploader.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Archive/Archive.tsx b/src/components/Archive/Archive.tsx index 872a74cb..3adcdc22 100644 --- a/src/components/Archive/Archive.tsx +++ b/src/components/Archive/Archive.tsx @@ -23,7 +23,7 @@ const PublicationButton: FC<{ publication: Publication }> = ({publication}) => { return ( - + {publication.name} ) diff --git a/src/components/CompetitionPage/CompetitionPage.tsx b/src/components/CompetitionPage/CompetitionPage.tsx index 1b1bc6ee..3d8f6f81 100644 --- a/src/components/CompetitionPage/CompetitionPage.tsx +++ b/src/components/CompetitionPage/CompetitionPage.tsx @@ -94,19 +94,19 @@ export const CompetitionPage: FC = ({ {results && ( - + {PublicationTypes.RESULTS.display_name} )} {solutions ? ( - + {PublicationTypes.SOLUTIONS.display_name} ) : ( problems && ( - + {PublicationTypes.PROBLEMS.display_name} ) diff --git a/src/components/CompetitionPage/UpcomingOrCurrentEventInfo.tsx b/src/components/CompetitionPage/UpcomingOrCurrentEventInfo.tsx index 00c44b08..4aa226c6 100644 --- a/src/components/CompetitionPage/UpcomingOrCurrentEventInfo.tsx +++ b/src/components/CompetitionPage/UpcomingOrCurrentEventInfo.tsx @@ -47,7 +47,7 @@ export const UpcomingOrCurrentEventInfo: FC<{event: Event; name: string; shortNa {invitationFile && ( - + Pozvánka )} diff --git a/src/components/PublicationUploader/PublicationUploader.tsx b/src/components/PublicationUploader/PublicationUploader.tsx index 3fea31ff..45a8b2ad 100644 --- a/src/components/PublicationUploader/PublicationUploader.tsx +++ b/src/components/PublicationUploader/PublicationUploader.tsx @@ -32,7 +32,7 @@ export const PublicationUploader: FC = ({semesterId, o {order}. Časopis: {publication && ( - + {publication.name} )}