Skip to content

Commit 7b67d09

Browse files
mellsonkevinmaesdavidkpiano
authored
Update landing page pricing to the yearly option (#196)
* Update landing page pricing to the yearly option * Update static/pricing/index.html Co-authored-by: Kevin Maes <[email protected]> * Update static/pricing/index.html Co-authored-by: David Khourshid <[email protected]> --------- Co-authored-by: Kevin Maes <[email protected]> Co-authored-by: David Khourshid <[email protected]>
1 parent 0df5111 commit 7b67d09

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

src/pages/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import useBaseUrl from '@docusaurus/useBaseUrl';
22
import React, { useEffect } from 'react';
33
import { drawArrows } from '../components/landing-page-arrows';
4+
import '/landing-page/styles.css'; // import the CSS file before the HTML file to avoid layout shifts
45

56
// https://github.com/facebook/docusaurus/discussions/8387#discussioncomment-6067944
67
// Loading a static HTML only works during SSR, so we use this hack to make it work during CSR

static/landing-page/styles.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ h2 {
339339
font-family: 'TTCommons', Arial, sans-serif;
340340
font-weight: 750;
341341
margin: 0.83em 0;
342-
}
342+
}
343343

344344
p {
345345
margin: 1em 0;
@@ -2226,9 +2226,10 @@ h2.pricing-heading {
22262226

22272227
.pricing-text.details-bold {
22282228
font-size: var(--font-xxsmall);
2229-
color: var(--chakra-colors-gray-50);
2229+
color: var(--chakra-colors-gray-200) !important;
22302230
margin-top: 0.5rem;
2231-
font-variation-settings: 'wght' 600;
2231+
font-variation-settings: 'wght' 200;
2232+
max-width: 8em;
22322233
}
22332234

22342235
.pricing-text.description {

static/pricing/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ <h2 class="pricing-heading">Community</h2>
106106
<div class="tier-header">
107107
<h2 class="pricing-heading">Professional</h2>
108108
<div class="horizontal">
109-
<p class="pricing-text price-number">$15</p>
109+
<p class="pricing-text price-number">$12.50</p>
110110
<div class="details-wrapper">
111111
<p class="pricing-text details">per seat/month</p>
112-
<p class="pricing-text details">billed monthly</p>
112+
<p class="pricing-text details">billed yearly</p>
113113
<p class="pricing-text details details-bold">
114-
Save 17% billed yearly
114+
$15 per seat when billed monthly
115115
</p>
116116
</div>
117117
</div>

0 commit comments

Comments
 (0)