ul correction in Motivation

This commit is contained in:
mattyl006 2022-07-14 14:11:55 +02:00
parent a954ee9a62
commit 90f3af27ee
2 changed files with 12 additions and 5 deletions

View File

@ -25,10 +25,11 @@ const Motivation = () => {
{
content.map((paragraph, index) => {
return (
<FlexRow key={`motivation-${index}`} as='li' gap='12px' alignmentY='flex-start'>
<FlexRow key={`motivation-${index}`} as='li' gap='12px' alignmentX='flex-start'
alignmentY='flex-start'>
<Svg src={cubeIcon} width='14px' height='14px' margin='4px 0 0 0'
backgroundColor={theme.colors.green}/>
<Body as='p'>
<Body as='p' width='90%'>
{paragraph}
</Body>
</FlexRow>

View File

@ -1,10 +1,16 @@
import React from "react";
import {FlexColumn} from "../utils/containers";
import {useParams} from "react-router-dom";
import {H1} from "../utils/fonts";
const Challenge = () => {
const challengeId = useParams().challengeId;
return (
<p>
siema
</p>
<FlexColumn minHeight='100vh'>
<H1>
{challengeId}
</H1>
</FlexColumn>
);
}