Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jaaaaavier committed Dec 24, 2024
1 parent a182cdb commit f602799
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/components/sustainability/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const FeatureSection = ({ textContent }: HeroSectionsProps) => {
title: textContent.goals.element1,
icon: Sun,
bgColor: 'bg-green-40',
size: 60,

position: 'mt-8',
zIndex: 'z-0',
lgDisplay: true,
Expand All @@ -21,7 +21,7 @@ const FeatureSection = ({ textContent }: HeroSectionsProps) => {
title: textContent.goals.element2,
icon: Leaf,
bgColor: 'bg-green-25',
size: 60,

position: '',
zIndex: 'z-20',
lgDisplay: true,
Expand All @@ -30,7 +30,7 @@ const FeatureSection = ({ textContent }: HeroSectionsProps) => {
title: textContent.goals.element3,
icon: Database,
bgColor: 'bg-green-40',
size: 60,

position: 'mt-8',
zIndex: 'z-0',
lgDisplay: true,
Expand All @@ -39,7 +39,7 @@ const FeatureSection = ({ textContent }: HeroSectionsProps) => {
title: textContent.goals.element4,
icon: GlobeHemisphereWest,
bgColor: 'bg-green-55',
size: 60,

position: ' mr-[-50px]',
zIndex: 'z-10',
lgDisplay: false,
Expand All @@ -48,7 +48,7 @@ const FeatureSection = ({ textContent }: HeroSectionsProps) => {
title: textContent.goals.element5,
icon: Heart,
bgColor: 'bg-green-40',
size: 60,

position: '',
zIndex: 'z-5',
lgDisplay: false,
Expand Down Expand Up @@ -78,7 +78,7 @@ const FeatureSection = ({ textContent }: HeroSectionsProps) => {
key={index}
className={`flex h-[300px] w-[300px] transform flex-col items-center justify-center rounded-full ${goal.bgColor} border-4 border-white text-center ${goal.position} ${goal.zIndex}`}
>
<goal.icon size={goal.size} className="mb-2 text-gray-100" />
<goal.icon size={60} className="mb-2 text-gray-100" />
<p className="max-w-[200px] text-2xl font-medium text-gray-100">{goal.title}</p>
</div>
),
Expand All @@ -92,7 +92,7 @@ const FeatureSection = ({ textContent }: HeroSectionsProps) => {
key={index}
className={`flex h-[300px] w-[300px] transform flex-col items-center justify-center rounded-full ${goal.bgColor} border-4 border-white text-center ${goal.position} ${goal.zIndex}`}
>
<goal.icon size={goal.size} className="mb-2 text-gray-100" />
<goal.icon size={60} className="mb-2 text-gray-100" />
<p className="max-w-[200px] text-2xl font-medium text-gray-100">{goal.title}</p>
</div>
),
Expand Down
4 changes: 2 additions & 2 deletions src/pages/green-cloud-computing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const Sustainability = ({
FirstComponent={
<div className="flex w-full flex-col items-center gap-9">
<div className="flex max-w-[850px] flex-col items-center gap-6 text-center">
<h2 className="text-5xl font-semibold text-gray-100">{langJson.FeatureSection.title}</h2>
<p className="font-regular text-xl text-gray-80">{langJson.FeatureSection.description}</p>
<h2 className="text-3xl font-semibold text-gray-100 sm:text-5xl">{langJson.FeatureSection.title}</h2>
<p className="font-regular text-gray-80 sm:text-xl">{langJson.FeatureSection.description}</p>
</div>
</div>
}
Expand Down

0 comments on commit f602799

Please sign in to comment.