diff --git a/frontend/src/routes/components/footer.tsx b/frontend/src/routes/components/footer.tsx index 70c435fcef592d4c510b26b8de80d5332e81c770..c2d737e8c899df600c6f3fbe2be45cda745d9bbb 100644 --- a/frontend/src/routes/components/footer.tsx +++ b/frontend/src/routes/components/footer.tsx @@ -3,6 +3,7 @@ import { styled } from '@mui/material/styles' import { Link } from '@mui/material' import { + appInst, responsibleOrganization, responsibleOrganizationLink, responsibleOrganizationLinkEn, @@ -60,7 +61,7 @@ const LogoSection = styled('div')(({ theme }) => ({ color: theme.palette.primary.main, display: 'flex', justifyContent: 'space-between', - padding: '1rem 0 1rem 2rem', + ...(appInst === 'uio' && { padding: '1rem 0 1rem 2rem' }), })) const StyledLink = styled(Link)({ diff --git a/frontend/src/utils/index.ts b/frontend/src/utils/index.ts index c780433701d4501f90f3146704cd674a8efe7191..dd3d3fe3cf5748becd12e2996401431268a68f1d 100644 --- a/frontend/src/utils/index.ts +++ b/frontend/src/utils/index.ts @@ -190,6 +190,8 @@ export function instNameUpperCaser(instName: String): String { return 'UiO' case 'uib': return 'UiB' + case 'ntnu': + return 'NTNU' default: return instName }