replace paragraph tags with H1 and P components in Hero and set default fonts for text components

This commit is contained in:
2025-12-05 14:12:41 +01:00
parent 7764d08f8b
commit 4f442c893d
4 changed files with 71 additions and 16 deletions

View File

@@ -4,6 +4,7 @@ import clsx from 'clsx'
import { Button } from '@/components/Button'
import { Container } from '@/components/Container'
import { Logo_hero } from '@/components/Logo_hero'
import { H1, P } from '@/components/UI/Texts'
type HeroProps = {
@@ -42,12 +43,12 @@ export function Hero({ className }: HeroProps) {
<div className="mx-auto max-w-4xl flex justify-center">
<Logo_hero className='lg:h-auto h-0.5' />
</div>
<p className="mx-auto lg:mt-6 mt-4 max-w-2xl text-xl lg:text-2xl tracking-tight font-medium text-white/90">
<H1 className="mx-auto lg:mt-6 mt-4 max-w-2xl text-xl lg:text-2xl tracking-tight font-medium text-white/90">
Shaping the future of Augmented Collective Intelligence
</p>
<p className="mx-auto mt-6 max-w-2xl text-lg lg:text-xl tracking-tight text-white/90">
</H1>
<P className="mx-auto mt-6 max-w-2xl text-lg lg:text-xl tracking-tight text-white/90">
At OurWorld, we are building the required infrastructures and tools to enable an Augmented Collective Intelligence ; creating a sovereign, sustainable, and autonomous future for all.
</p>
</P>
<div className="mt-10 flex justify-center">
<Button href="/about" color="white">Learn More</Button>
</div>