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

chore: update hero and CTAs #242

Merged
merged 1 commit into from
Jul 26, 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
16 changes: 8 additions & 8 deletions src/components/pages/home/hero/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import Button from 'components/shared/button';
import LINKS from 'constants/links';
import buttonClick from 'utils/use-landing-simple-tracking';

const TITLE = 'The Notification Framework for Developers and Product Teams';
const TITLE = 'The Javascript-native Notification Framework for Developers';

const DESCRIPTION =
'Fully extensible open source notifications infrastructure framework that empowers developers to provide an easy-to-use notifications platform to product teams.';
'Fully extensible open source notifications infrastructure framework for Next.js and more that empowers developers to provide an easy-to-use notifications platform to product teams.';

const Hero = () => (
<section className="hero pt-[339px] pb-[180px] lg:pt-[196px] lg:pb-[200px] md:pt-[98px] md:pb-0">
Expand All @@ -23,22 +23,22 @@ const Hero = () => (
</p>
<div className="relative mt-11 z-10 flex items-center justify-left gap-x-7 gap-y-5 sm:mt-7 sm:gap-x-4 sm-xs:grid sm-xs:w-full sm-xs:grid-cols-2">
<Button
className="w-[170px] sm-xs:w-full"
className="w-[190px] sm-xs:w-full"
size="sm"
theme="white-filled"
{...LINKS.getStarted}
onClick={buttonClick('get_started', { type: 'homepage' })}
>
Create Account
Create Free Account
</Button>
<Button
className="w-[170px] sm-xs:w-full"
className="w-[190px] sm-xs:w-full"
size="sm"
theme="gray-outline"
{...LINKS.BAM}
onClick={buttonClick('book_a_meeting', { type: 'homepage' })}
{...LINKS.contactUsCTA}
onClick={buttonClick('contact_us', { type: 'homepage' })}
>
Book a Session
Contact Us
</Button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/home/skinny-cta/skinnycta.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ const SkinnyCTA = () => {
/>
</div>
<Button
className="text-sm h-14 min-w-[178px] -mt-px lg:h-12 sm:hover:bg-transparent sm:max-w-none sm:border-none sm:h-auto sm:text-[13px] sm:text-primary-1 sm:underline sm:underline-offset-[6px] sm:mt-[18px]"
className="text-sm h-14 min-w-[190px] -mt-px lg:h-12 sm:hover:bg-transparent sm:max-w-none sm:border-none sm:h-auto sm:text-[13px] sm:text-primary-1 sm:underline sm:underline-offset-[6px] sm:mt-[18px]"
theme="gray-outline"
size="lg"
{...LINKS.getStarted}
onClick={buttonClick('book_a_call', { type: 'homepage' })}
>
Create Account
Create Free Account
</Button>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/constants/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ export default {
target: '_blank',
},
contactUs: {
to: '/sections/content-3?utm_campaign=website',
to: '/contact-us?utm_campaign=website',
target: '_blank',
},
contactUsCTA: {
to: '/contact-us?utm_campaign=homeCTA',
target: '_blank',
},
getStarted: {
Expand Down