diff --git a/CHANGELOG b/CHANGELOG index 5c6d429fba74144385e539626364791bda659f8e..86cf71ddfc0504a04f47136fd4663d31821972f4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,7 @@ minerva-front (18.0.0~beta.5) stable; urgency=medium in for format and submap (#295) * Small improvements: dropdown sections in exporting map as image are unfolded permanently (#296) + * Bugfix: missing links added (#299) -- Piotr Gawron <piotr.gawron@uni.lu> Fri, 04 Oct 2024 13:00:00 +0200 diff --git a/src/components/FunctionalArea/NavBar/NavBar.component.test.tsx b/src/components/FunctionalArea/NavBar/NavBar.component.test.tsx index c5bff4c3eade40bfea3f82240ff36741467ab2e9..41487ff06c9624ce09e064a4899ee0b0fa930f42 100644 --- a/src/components/FunctionalArea/NavBar/NavBar.component.test.tsx +++ b/src/components/FunctionalArea/NavBar/NavBar.component.test.tsx @@ -26,7 +26,7 @@ describe('NavBar - component', () => { expect(screen.getByTestId('nav-buttons')).toBeInTheDocument(); expect(screen.getByTestId('nav-logos-and-powered-by')).toBeInTheDocument(); - expect(screen.getByAltText('luxembourg logo')).toBeInTheDocument(); - expect(screen.getByAltText('logo')).toBeInTheDocument(); + expect(screen.getByAltText('University of Luxembourg logo')).toBeInTheDocument(); + expect(screen.getByAltText('Minerva logo')).toBeInTheDocument(); }); }); diff --git a/src/components/FunctionalArea/NavBar/NavBar.component.tsx b/src/components/FunctionalArea/NavBar/NavBar.component.tsx index 6631b8004159cc2793eb371fd775672e22209904..f7966b69b870cb2836a2de8fe54258f9215f5bb1 100644 --- a/src/components/FunctionalArea/NavBar/NavBar.component.tsx +++ b/src/components/FunctionalArea/NavBar/NavBar.component.tsx @@ -79,14 +79,18 @@ export const NavBar = (): JSX.Element => { </div> <div className="flex flex-col items-center gap-[20px]" data-testid="nav-logos-and-powered-by"> - <Image - className="rounded rounded-e rounded-s bg-white-pearl pb-[7px]" - src={luxembourgLogoImg} - alt="luxembourg logo" - height={41} - width={48} - /> - <Image src={logoImg} alt="logo" height={48} width={48} /> + <a href="https://www.uni.lu/en/" target="_blank"> + <Image + className="rounded rounded-e rounded-s bg-white-pearl pb-[7px]" + src={luxembourgLogoImg} + alt="University of Luxembourg logo" + height={41} + width={48} + /> + </a> + <a href="https://minerva.uni.lu/" target="_blank"> + <Image src={logoImg} alt="Minerva logo" height={48} width={48} /> + </a> <span className="h-16 w-14 text-center text-[8px] leading-4"> Powered by: MINERVA Platform{' '} <a href={MINERVA_WEBSITE_URL} target="_blank">