Add more space between paragraphs into news page

This commit is contained in:
Daniele Pancottini 2023-02-08 18:55:02 +01:00
parent 09ae4bc7b0
commit 9b38091581
3 changed files with 1 additions and 13 deletions

View File

@ -115,7 +115,7 @@ export default function NewsSlider() {
color="GrayText" color="GrayText"
> >
{card.text.split('<br/>').map((str, index) => ( {card.text.split('<br/>').map((str, index) => (
<p key={index}>{str}</p> <p className='mb-5' key={index}>{str}</p>
))} ))}
</Text> </Text>
</Stack> </Stack>

View File

@ -1,16 +1,6 @@
import {
chakra,
Heading,
Text,
Divider,
Grid,
GridItem,
} from '@chakra-ui/react'
import { Layout } from '@components/common' import { Layout } from '@components/common'
import AboutSlider from '@components/common/About/AboutSlider' import AboutSlider from '@components/common/About/AboutSlider'
import MessageMap from '@components/common/About/TestimonialCard' import MessageMap from '@components/common/About/TestimonialCard'
import WithSpeechBubbles from '@components/common/About/TestimonialCard'
import TestimonialCard from '@components/common/About/TestimonialCard'
export default function About() { export default function About() {
return ( return (
@ -18,7 +8,6 @@ export default function About() {
<div className="mx-8 sm:mx-auto py-20 flex flex-col items-center justify-center fit"> <div className="mx-8 sm:mx-auto py-20 flex flex-col items-center justify-center fit">
<AboutSlider></AboutSlider> <AboutSlider></AboutSlider>
</div> </div>
<MessageMap />
</> </>
) )
} }

View File

@ -1,6 +1,5 @@
import { Layout } from '@components/common' import { Layout } from '@components/common'
import NewsSlider from '@components/common/News/NewsSlider' import NewsSlider from '@components/common/News/NewsSlider'
import { Text } from '@components/ui'
export default function News() { export default function News() {
return ( return (