diff --git a/src/components/sections/Footer.js b/src/components/sections/Footer.js index 44ba0af..3a213a8 100644 --- a/src/components/sections/Footer.js +++ b/src/components/sections/Footer.js @@ -2,6 +2,7 @@ import React from 'react'; import {Container, FlexRow} from '../../utils/containers'; import styled from 'styled-components'; import {Medium} from '../../utils/fonts'; +import {CSI_LINK} from '../../utils/globals'; const FooterStyle = styled(FlexRow)` width: 100%; @@ -33,7 +34,7 @@ const Footer = () => { Read more about  + href={CSI_LINK}> CSI diff --git a/src/utils/globals.js b/src/utils/globals.js index b0ea878..dbfbf1b 100644 --- a/src/utils/globals.js +++ b/src/utils/globals.js @@ -12,6 +12,7 @@ const MINI_DESCRIPTION_LENGTH = 70; const API = 'https://gonito.net/api'; const CHALLENGES_PAGE = '/challenges'; const CHALLENGE_PAGE = '/challenge'; +const CSI_LINK = 'https://csi.amu.edu.pl/'; const MINI_DESCRIPTION_RENDER = (description) => { if (description) { @@ -65,6 +66,7 @@ export { CHALLENGES_PAGE, CHALLENGE_PAGE, MINI_DESCRIPTION_LENGTH, + CSI_LINK, MINI_DESCRIPTION_RENDER, RENDER_ICO, CALC_PAGES,