Skip to content

Commit

Permalink
Fix text-sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Nov 11, 2024
1 parent 5db9cf5 commit 8789169
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/energy/section-4/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function Section4() {
initial="initial"
animate="animate"
variants={variantsDescription[step]}
className="absolute bottom-0 w-full text-green-950 max-w-[459px] left-8 xl:left-[60%] h-full"
className="absolute bottom-0 w-full text-green-950 max-w-[80vw] xl:max-w-[459px] left-8 xl:left-[60%] h-full"
>
{step === 'step-2' && <motion.div
key="section-4-description-2"
Expand All @@ -120,7 +120,7 @@ export default function Section4() {
{step === 'step-3' && <div
className='h-full flex items-center justify-center'
key="section-4-description-3" >
<motion.div className="w-full text-base xl:min-w-[498px] max-w-[498px] p-6 bg-white/30 backdrop-blur-lg h-fit"
<motion.div className="w-full text-base xl:min-w-[498px] max-w-[80vw] xl:max-w-[498px] p-6 bg-white/30 backdrop-blur-lg h-fit"
initial={{ opacity: 0, top: '200px' }}
animate={{ opacity: 1, top: 0, transition }}
exit={{ opacity: 0, top: '-200px' }}
Expand Down
6 changes: 3 additions & 3 deletions src/components/energy/section-7/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function Section7() {
</video>
<div className="relative z-10 text-white text-center px-2 xl xl:px-0">
<div className="text-center xl:text-lg uppercase tracking-tight">Unlocking Future Possibilities</div>
<div className="text-center text-[36px] xl:text-4xl max-w-[830px]">
<div className="text-center text-[36px] max-xl:leading-[42px] xl:text-4xl max-w-[830px]">
Harnessing Digital Twins for on-demand simulations.
</div>
</div>
Expand All @@ -68,7 +68,7 @@ export default function Section7() {
<div className="flex flex-col pb-[120px] gap-[60px] xl:gap-[100px]">
<div className="max-w-[630px] space-y-5 pt-4 xl:pt-20">
<div className="max-w-[594px]">
<h3 className="text-2xl pb-5">Climate change affects various aspects of our lives, making it essential to understand its wide-ranging impacts, this way strategies for adaptation can be prepared.</h3>
<h3 className="text-xl xl:text-2xl pb-5">Climate change affects various aspects of our lives, making it essential to understand its wide-ranging impacts, this way strategies for adaptation can be prepared.</h3>
</div>
<KnowMoreButton className="text-white" onClick={() => setOpenedKnowMore(!openedKnowMore)} opened={openedKnowMore} />
<AnimatePresence>
Expand All @@ -85,7 +85,7 @@ export default function Section7() {
</div>
<div className="xl:space-y-4">
<div className="text-[36px] xl:text-4xl font-medium tracking-wide">Our shared impact</div>
<h3 className="text-2xl pb-5 xl:max-w-[503px]">Discover the faces behind climate impacts on energy</h3>
<h3 className="text-xl xl:text-2xl pb-5 xl:max-w-[503px]">Discover the faces behind climate impacts on energy</h3>
</div>
<SharedImpactTabs />
</div>
Expand Down

0 comments on commit 8789169

Please sign in to comment.