Skip to content

Commit

Permalink
✨ Add CTA to SSW Dory Website (#100)
Browse files Browse the repository at this point in the history
* Add section for call-to-action

* Add class for background sswRed

* Change CTA to link to contact us page on ssw website
  • Loading branch information
Jord-Gui authored Nov 22, 2023
1 parent cfa4104 commit 55c20a5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
22 changes: 16 additions & 6 deletions content/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
--background-end-rgb: 255, 255, 255;
}

*, ::before, ::after {
*,
::before,
::after {
border-style: none;
}

html {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
Expand All @@ -39,21 +41,29 @@ body {
background-color: hsla(0, 0%, 40%, 0.1);
}

.bg-ssw-red,
.bg-sswRed {
--tw-bg-opacity: 1;
background-color: rgb(204 65 65 / var(--tw-bg-opacity));
}

.text-ssw-red {
--tw-text-opacity: 1;
color: rgb(204 65 65 / var(--tw-text-opacity));
}

a.footer-link,a.footer-link:visited {
a.footer-link,
a.footer-link:visited {
@apply text-white;
line-height: .75rem;
line-height: 0.75rem;
transition: all 0.3s ease-in-out;
&:hover {
@apply text-ssw-red;
}
}

a.footer-greybar-link, a.footer-greybar-link:hover {
a.footer-greybar-link,
a.footer-greybar-link:hover {
text-decoration: underline;
}

Expand Down
14 changes: 14 additions & 0 deletions content/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,20 @@ export default function Home() {
description="A low-code solution for easy set-up and configuration."
imgURL="/dory-architecture-diagram.webp"
/>

<section className="text-gray-700 body-font">
<div className="container mx-auto mb-32 md:mb-0 flex px-5 py-10 items-center justify-center flex-col">
<h2 className="title-font leading-tight sm:text-4xl text-3xl mb-4 font-medium text-gray-900">
Sold?
</h2>
<a href="https://www.ssw.com.au/company/contact-us" target="_blank">
<button className="overflow-hidden border-none py-3 px-10 text-[1.6rem] bg-sswRed text-white rounded">
Contact Us
</button>
</a>
<h3 className="leading-relaxed max-w-xs mt-4 text-center">Contact an Account Manager to discuss how we can set this up for you.</h3>
</div>
</section>
</div>
<Footer />
</main>
Expand Down

0 comments on commit 55c20a5

Please sign in to comment.