Skip to content

Commit

Permalink
Added bottom padding to content
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Dec 28, 2023
1 parent d307bcd commit c72c95c
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 46 deletions.
9 changes: 6 additions & 3 deletions content/company/case-study/tafe.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ content: |
A CMS was desperately needed to allow subdivisions to update their sites and content
directly (with an approval workflow).
![North Sydney Institute - APA Homepage](/images/case-studies/apa-homepage.jpg)
**Figure: North Sydney Institute - APA Homepage**
Expand All @@ -23,8 +25,8 @@ content: |
integration with, allowing students to sign up for courses without having to go
onto a campus to enrol.
Figure: North Sydney Institute - APA Integration with Booking System
![North Sydney Institute - APA Integration with Booking System](/images/case-studies/apa-integration.jpg)
**Figure: North Sydney Institute - APA Integration with Booking System**
## Results
Expand All @@ -35,6 +37,7 @@ content: |
## Related links
[Sitefinity Consulting](https://www.ssw.com.au/ssw/Consulting/Sitefinity.aspx)
[Sitefinity Consulting](https://www.ssw.com.au/consulting/sitefinity)
---

84 changes: 41 additions & 43 deletions pages/company/clients/[filename].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,49 +25,47 @@ export default function CompanyPage(
<RecaptchaContext.Provider
value={{ recaptchaKey: props.env.GOOGLE_RECAPTCHA_SITE_KEY }}
>
<div>
<SEO seo={props.seo} />
<Layout menu={data.megamenu}>
{data.caseStudy.seo?.showBreadcrumb === null ||
(data.caseStudy.seo?.showBreadcrumb && (
<Section className="mx-auto w-full max-w-9xl px-8 py-0">
<Breadcrumbs
path={removeExtension(props.variables.relativePath)}
suffix={data.global.breadcrumbSuffix}
title={data.caseStudy.seo?.title}
seoSchema={data.caseStudy.seo}
/>
</Section>
))}
<Section className="mx-auto w-full max-w-9xl px-8 ">
<div>
<h1
data-tina-field={tinaField(data.caseStudy, "heading")}
className="p-0"
>
{data.caseStudy.heading}
</h1>
<h2
data-tina-field={tinaField(data.caseStudy, "subHeading")}
className="p-0 text-sm"
>
{data.caseStudy.subHeading}
</h2>
</div>
</Section>
<Blocks prefix="CaseStudy_body" blocks={data.caseStudy._body} />
<Section className="prose mx-auto !block w-full max-w-9xl px-8 py-0">
<TinaMarkdown
data-tina-field={tinaField(data.caseStudy, "content")}
components={componentRenderer}
content={data.caseStudy.content}
/>
</Section>
<Section>
<BuiltOnAzure data={{ backgroundColor: "lightgray" }} />
</Section>
</Layout>
</div>
<SEO seo={props.seo} />
<Layout menu={data.megamenu}>
{data.caseStudy.seo?.showBreadcrumb === null ||
(data.caseStudy.seo?.showBreadcrumb && (
<Section className="mx-auto w-full max-w-9xl px-8 py-0">
<Breadcrumbs
path={removeExtension(props.variables.relativePath)}
suffix={data.global.breadcrumbSuffix}
title={data.caseStudy.seo?.title}
seoSchema={data.caseStudy.seo}
/>
</Section>
))}
<Section className="mx-auto w-full max-w-9xl px-8">
<div>
<h1
data-tina-field={tinaField(data.caseStudy, "heading")}
className="p-0"
>
{data.caseStudy.heading}
</h1>
<h2
data-tina-field={tinaField(data.caseStudy, "subHeading")}
className="p-0 text-sm"
>
{data.caseStudy.subHeading}
</h2>
</div>
</Section>
<Blocks prefix="CaseStudy_body" blocks={data.caseStudy._body} />
<Section className="prose mx-auto !block w-full max-w-9xl px-8 pb-16 pt-0">
<TinaMarkdown
data-tina-field={tinaField(data.caseStudy, "content")}
components={componentRenderer}
content={data.caseStudy.content}
/>
</Section>
<Section>
<BuiltOnAzure data={{ backgroundColor: "lightgray" }} />
</Section>
</Layout>
</RecaptchaContext.Provider>
);
}
Expand Down

0 comments on commit c72c95c

Please sign in to comment.