From 4ff84194fafc81fefb7c9e4ab064da5fff4e85aa Mon Sep 17 00:00:00 2001 From: mattyl006 Date: Mon, 1 Aug 2022 10:15:45 +0200 Subject: [PATCH] correct csi link --- src/components/sections/Footer.js | 3 ++- src/utils/globals.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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,