Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix homepage #126

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading