Skip to content

Commit

Permalink
fix homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
jsladerman committed Dec 2, 2024
1 parent 6e2b118 commit a7085bc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
9 changes: 5 additions & 4 deletions pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ mission to build something unique."
</Value>
<Value label="Inclusivity">
<p className="m-0 p-0">
We value the contributions of all community members and actively
work towards creating an environment that is accessible and supportive.
We are committed to removing barriers and ensuring that everyone has
an equal opportunity to succeed.
We value the contributions of all community members and
actively work towards creating an environment that is
accessible and supportive. We are committed to removing
barriers and ensuring that everyone has an equal
opportunity to succeed.
</p>
</Value>
<Value label="Open mindedness and exploration">
Expand Down
23 changes: 11 additions & 12 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default function Homepage({
as={GradientBG}
image={homepageGradient}
imageType="custom"
className="pb-xxlarge"
bgChildren={
<>
<CircleEmbellishment
Expand All @@ -61,8 +62,7 @@ export default function Homepage({
heading={pageData.hero_title}
description={
<div className="[text-wrap:pretty]">
Plural reduces cluster upgrade cycles from months to hours at
enterprise scale with streamlined dependency management.
{pageData.hero_description}
</div>
}
announcementChip={announcementChip}
Expand Down Expand Up @@ -90,16 +90,15 @@ export default function Homepage({
</div>
}
/>
<div className="-mt-xxxlarge pb-xxxxlarge pt-xxxlarge sm:pt-xxxxlarge md:pb-xxxxxxlarge md:pt-xxxxlarge lg:pt-0">
<StandardPageWidth>
{heroImageUrl && (
<img
src={heroImageUrl}
width={1248}
/>
)}
</StandardPageWidth>
</div>
<StandardPageWidth>
{heroImageUrl && (
<img
className="mx-auto"
src={heroImageUrl}
width={1248}
/>
)}
</StandardPageWidth>
</HeaderPad>
<CustomComponents components={pageData.custom_components ?? []} />
<BareModal
Expand Down
3 changes: 1 addition & 2 deletions src/components/PageHeros.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ export function HomePageHero({
[classNames('pt-xxxxlarge', 'md:pt-xxxxlarge')]: padTop,
},
{
[classNames('pb-xxxlarge', 'md:pb-xxxxlarge', 'lg:pb-xxxxxlarge')]:
padBottom,
[classNames('pb-xxxlarge', 'md:pb-xxxxlarge')]: padBottom,
}
)}
>
Expand Down

0 comments on commit a7085bc

Please sign in to comment.