refactor widths and start challenges page
This commit is contained in:
parent
3408b93e72
commit
0ae5146d24
@ -5,7 +5,7 @@ import CircleNumber from "../elements/CircleNumber";
|
||||
|
||||
const Commercial = () => {
|
||||
return (
|
||||
<FlexColumn as='section' alignmentX='flex-start' width='80%' maxWidth='452px'>
|
||||
<FlexColumn as='section' alignmentX='flex-start'>
|
||||
<H2 as='h2' margin='0 0 24px 0'>
|
||||
Commercial challanges
|
||||
</H2>
|
||||
|
@ -4,7 +4,7 @@ import {Body, H2, Medium} from "../../utils/fonts";
|
||||
|
||||
const Csi = () => {
|
||||
return (
|
||||
<FlexColumn as='section' alignmentX='flex-start' width='80%' maxWidth='452px'>
|
||||
<FlexColumn as='section' alignmentX='flex-start'>
|
||||
<H2 as='h2' margin='0 0 24px 0'>
|
||||
Center for artificial intelligence
|
||||
</H2>
|
||||
|
@ -7,8 +7,7 @@ import {Link} from "react-router-dom";
|
||||
|
||||
const Hero = () => {
|
||||
return (
|
||||
<FlexColumn alignmentX='flex-start' gap='24px'
|
||||
width='80%' maxWidth='452px'>
|
||||
<FlexColumn alignmentX='flex-start' gap='24px' maxWidth='452px'>
|
||||
<H1 as="h1">
|
||||
Welcome to
|
||||
<Container display="inline" color={theme.colors.green}>
|
||||
|
@ -6,7 +6,7 @@ import theme from "../../utils/theme";
|
||||
|
||||
const Motivation = () => {
|
||||
return (
|
||||
<FlexColumn as='section' alignmentX='flex-start' gap='24px' width='80%' maxWidth='452px'>
|
||||
<FlexColumn as='section' alignmentX='flex-start' gap='24px' width='100%'>
|
||||
<H2 as='h2'>
|
||||
Motivation
|
||||
</H2>
|
||||
|
@ -5,7 +5,7 @@ import Placeholder from "../elements/Placeholder";
|
||||
|
||||
const Partnerships = () => {
|
||||
return (
|
||||
<FlexColumn as='section' alignmentX='flex-start' width='80%' maxWidth='452px' gap='32px'>
|
||||
<FlexColumn as='section' alignmentX='flex-start' gap='32px'>
|
||||
<H2 as='h2'>
|
||||
Our partnerships
|
||||
</H2>
|
||||
|
@ -1,10 +1,17 @@
|
||||
import React from "react";
|
||||
import {H1} from "../utils/fonts";
|
||||
import {FlexColumn} from "../utils/containers";
|
||||
|
||||
const Challenges = () => {
|
||||
return (
|
||||
<>
|
||||
<FlexColumn as='main' alignmentY='flex-start' width='100%'
|
||||
minHeight='100vh' padding='90px 0 32px 0'>
|
||||
<FlexColumn maxWidth='452px' alignmentX='flex-start' width='80%'>
|
||||
<H1 as='h1'>
|
||||
Challenges
|
||||
</>
|
||||
</H1>
|
||||
</FlexColumn>
|
||||
</FlexColumn>
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -9,13 +9,15 @@ import Partnerships from "../components/sections/Partnerships";
|
||||
const LandingPage = () => {
|
||||
return (
|
||||
<FlexColumn as='main' alignmentY='flex-start' width='100%'
|
||||
minHeight='100vh' padding='90px 0 32px 0' gap='48px'>
|
||||
minHeight='100vh' padding='90px 0 32px 0'>
|
||||
<FlexColumn maxWidth='452px' gap='48px' width='80%'>
|
||||
<Hero/>
|
||||
<Motivation/>
|
||||
<Csi/>
|
||||
<Commercial/>
|
||||
<Partnerships/>
|
||||
</FlexColumn>
|
||||
</FlexColumn>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user