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

Logo - Adding SugarLearning page #2291

Merged
merged 3 commits into from
Mar 14, 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
2 changes: 1 addition & 1 deletion .tina/__generated__/_graphql.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .tina/__generated__/_schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/blocks/downloadBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const downloadBlockSchema: Template = {
options: Object.keys(bgOptions),
},
{
type: "image",
type: "string",
label: "First Link Text",
name: "firstLinkText",
description: "Defaults to PNG",
Expand Down
5 changes: 3 additions & 2 deletions content/logo/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ seo:
title: SSW Logos
showBreadcrumb: true
header: SSW Logos
subHeader: ''
_body:
- title: SSW and SSWTV
grids:
Expand Down Expand Up @@ -34,13 +35,13 @@ _body:
linkContent: >
<UtilityButton buttonText="LOGO OPTIONS" size="small"
btnIcon="BsArrowRightCircle" removeTopMargin={true}
link="https://www.ssw.com.au/ssw/logo/TimePRO" />
link="/logo/timepro" />
- title: SugarLearning
image: /images/company-logos/SugarLearning_preview.png
linkContent: >
<UtilityButton buttonText="LOGO OPTIONS" size="small"
btnIcon="BsArrowRightCircle" removeTopMargin={true}
link="https://www.ssw.com.au/ssw/logo/SugarLearning" />
link="/logo/sugarlearning" />
- title: SophieBot
image: /images/company-logos/SophieBot_preview.png
linkContent: >
Expand Down
33 changes: 33 additions & 0 deletions content/logo/sugarlearning.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
seo:
title: 'SugarLearning Logo '
showBreadcrumb: true
header: SugarLearning Logo
subHeader: "If you have any queries please\_[contact SSW.](/company/about-us)\n"
_body:
- title: Download
downloads:
- header: Color Vertical
img: /images/company-logos/SugarLearning_preview.png
firstLink: /images/company-logos/downloads/images/SugarLearning.png
secondLinkText: SVG
secondLink: /images/company-logos/downloads/svgs/SugarLearning.svg
- header: B&W Vertical
img: /images/company-logos/SugarLearning_BW_preview.png
firstLink: /images/company-logos/downloads/images/SugarLearning_BW.png
secondLinkText: SVG
secondLink: /images/company-logos/downloads/svgs/SugarLearning_BW.svg
- header: Color Horizontal
img: /images/company-logos/SugarLearning_horizontal_preview.png
firstLink: /images/company-logos/downloads/images/SugarLearning_horizontal.png
secondLinkText: SVG
secondLink: /images/company-logos/downloads/svgs/SugarLearing_horizontal.svg
- header: B&W Horizontal
img: /images/company-logos/SugarLearning_horizontal_BW_preview.png
firstLink: /images/company-logos/downloads/images/SugarLearning_horizontal_BW.png
secondLinkText: SVG
secondLink: /images/company-logos/downloads/svgs/SugarLearing_horizontal_BW.svg
_template: DownloadBlock
footer: ''
---

4 changes: 2 additions & 2 deletions pages/logo/[[...filename]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ export default function LogosPage(
{data?.logos?.header}
</h1>
{data.logos?.subHeader && (
<p data-tina-field={tinaField(data?.logos, "subHeader")}>
<span data-tina-field={tinaField(data?.logos, "subHeader")}>
<TinaMarkdown content={data.logos?.subHeader} />
</p>
</span>
)}
<Blocks prefix="Logos_body" blocks={data.logos?._body} />
{data.logos?.footer && (
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading