partnerships and footer
This commit is contained in:
parent
7249152edc
commit
3408b93e72
@ -4,6 +4,7 @@ import LandingPage from "./pages/LandingPage";
|
|||||||
import Challenges from "./pages/Challenges";
|
import Challenges from "./pages/Challenges";
|
||||||
import {BrowserRouter, Route, Routes} from "react-router-dom";
|
import {BrowserRouter, Route, Routes} from "react-router-dom";
|
||||||
import NavBar from "./components/elements/NavBar";
|
import NavBar from "./components/elements/NavBar";
|
||||||
|
import Footer from "./components/sections/Footer";
|
||||||
|
|
||||||
const App = () => {
|
const App = () => {
|
||||||
return (
|
return (
|
||||||
@ -15,6 +16,7 @@ const App = () => {
|
|||||||
<Route exact path='/' element={<LandingPage/>}/>
|
<Route exact path='/' element={<LandingPage/>}/>
|
||||||
<Route element={<LandingPage/>}/>
|
<Route element={<LandingPage/>}/>
|
||||||
</Routes>
|
</Routes>
|
||||||
|
<Footer/>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</BrowserRouter>
|
</BrowserRouter>
|
||||||
);
|
);
|
||||||
|
14
src/components/elements/Placeholder.js
Normal file
14
src/components/elements/Placeholder.js
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import React from "react";
|
||||||
|
import {FlexColumn} from "../../utils/containers";
|
||||||
|
import theme from "../../utils/theme";
|
||||||
|
|
||||||
|
const Placeholder = (props) => {
|
||||||
|
return (
|
||||||
|
<FlexColumn width='200px' height='200px'
|
||||||
|
backgroundColor={theme.colors.dark} color={theme.colors.white}>
|
||||||
|
{props.children}
|
||||||
|
</FlexColumn>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Placeholder;
|
39
src/components/sections/Footer.js
Normal file
39
src/components/sections/Footer.js
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
import React from "react";
|
||||||
|
import {Container, FlexRow} from "../../utils/containers";
|
||||||
|
import styled from "styled-components";
|
||||||
|
import {Medium} from "../../utils/fonts";
|
||||||
|
import {Link} from "react-router-dom";
|
||||||
|
|
||||||
|
const FooterStyle = styled(FlexRow)`
|
||||||
|
width: 100%;
|
||||||
|
height: 48px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: ${({theme}) => theme.colors.green};
|
||||||
|
|
||||||
|
* {
|
||||||
|
color: ${({theme}) => theme.colors.white}
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: underline;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
const Footer = () => {
|
||||||
|
return (
|
||||||
|
<FooterStyle as='footer'>
|
||||||
|
<Medium as='p'>
|
||||||
|
Read more about
|
||||||
|
<Container as='a' display='inline' target='_blank'
|
||||||
|
href='https://wmi.amu.edu.pl/wiadomosci/wmi-w-mediach/centrum-sztucznej-inteligencji'>
|
||||||
|
CSI
|
||||||
|
</Container>
|
||||||
|
</Medium>
|
||||||
|
</FooterStyle>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Footer;
|
@ -8,7 +8,7 @@ import {Link} from "react-router-dom";
|
|||||||
const Hero = () => {
|
const Hero = () => {
|
||||||
return (
|
return (
|
||||||
<FlexColumn alignmentX='flex-start' gap='24px'
|
<FlexColumn alignmentX='flex-start' gap='24px'
|
||||||
width='80%' maxWidth='452px' margin='90px 0 0 0'>
|
width='80%' maxWidth='452px'>
|
||||||
<H1 as="h1">
|
<H1 as="h1">
|
||||||
Welcome to
|
Welcome to
|
||||||
<Container display="inline" color={theme.colors.green}>
|
<Container display="inline" color={theme.colors.green}>
|
||||||
|
32
src/components/sections/Partnerships.js
Normal file
32
src/components/sections/Partnerships.js
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
import React from "react";
|
||||||
|
import {FlexColumn, Grid} from "../../utils/containers";
|
||||||
|
import {H2} from "../../utils/fonts";
|
||||||
|
import Placeholder from "../elements/Placeholder";
|
||||||
|
|
||||||
|
const Partnerships = () => {
|
||||||
|
return (
|
||||||
|
<FlexColumn as='section' alignmentX='flex-start' width='80%' maxWidth='452px' gap='32px'>
|
||||||
|
<H2 as='h2'>
|
||||||
|
Our partnerships
|
||||||
|
</H2>
|
||||||
|
<FlexColumn width='100%'>
|
||||||
|
<Grid gridGap='32px 0'>
|
||||||
|
<Placeholder>
|
||||||
|
1
|
||||||
|
</Placeholder>
|
||||||
|
<Placeholder>
|
||||||
|
2
|
||||||
|
</Placeholder>
|
||||||
|
<Placeholder>
|
||||||
|
3
|
||||||
|
</Placeholder>
|
||||||
|
<Placeholder>
|
||||||
|
4
|
||||||
|
</Placeholder>
|
||||||
|
</Grid>
|
||||||
|
</FlexColumn>
|
||||||
|
</FlexColumn>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Partnerships;
|
@ -4,14 +4,17 @@ import Motivation from "../components/sections/Motivation";
|
|||||||
import Csi from "../components/sections/Csi";
|
import Csi from "../components/sections/Csi";
|
||||||
import Commercial from "../components/sections/Commercial";
|
import Commercial from "../components/sections/Commercial";
|
||||||
import Hero from "../components/sections/Hero";
|
import Hero from "../components/sections/Hero";
|
||||||
|
import Partnerships from "../components/sections/Partnerships";
|
||||||
|
|
||||||
const LandingPage = () => {
|
const LandingPage = () => {
|
||||||
return (
|
return (
|
||||||
<FlexColumn alignmentY='flex-start' width='100%' minHeight='100vh' as='main' gap='48px'>
|
<FlexColumn as='main' alignmentY='flex-start' width='100%'
|
||||||
|
minHeight='100vh' padding='90px 0 32px 0' gap='48px'>
|
||||||
<Hero/>
|
<Hero/>
|
||||||
<Motivation/>
|
<Motivation/>
|
||||||
<Csi/>
|
<Csi/>
|
||||||
<Commercial/>
|
<Commercial/>
|
||||||
|
<Partnerships/>
|
||||||
</FlexColumn>
|
</FlexColumn>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user