Skip to content

Commit 41d416b

Browse files
chore: updates website (#176)
Co-authored-by: Dmitry Filimonov <[email protected]>
1 parent f5ea6b8 commit 41d416b

File tree

9 files changed

+36
-24
lines changed

9 files changed

+36
-24
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.exports = {
8484
},
8585
announcementBar: {
8686
id: 'news',
87-
content: '<strong>NEWS:</strong> Pyroscope is now part of Grafana Labs. The Pyroscope and Grafana Phlare OSS projects are merging&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="button" style="text-decoration: none;" target="_blank" href="https://grafana.com/blog/2023/03/15/pyroscope-grafana-phlare-join-for-oss-continuous-profiling">Learn more</a>',
87+
content: '<strong>NEWS:</strong> Pyroscope Cloud is NOW Grafana Cloud Profiles &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="button" style="text-decoration: none;" target="_blank" href="https://grafana.com/blog/2023/06/07/continuous-profiling-now-in-public-preview-in-grafana-cloud">Read more</a>',
8888
backgroundColor: '#D14600', // Defaults to `#fff`
8989
textColor: 'white', // Defaults to `#000`
9090
},

src/components/Homepage/HeadSection/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const HeadSection = ({ isOpenMenu, setIsOpen }) => {
5959
<div className={styles.githubButtonWrapper}>
6060
<GitHubButton href="https://github.com/pyroscope-io/pyroscope" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star pyroscope-io/pyroscope on GitHub">Star</GitHubButton>
6161
</div>
62-
<GetStartedButton />
62+
<GetStartedButton href="https://grafana.com/auth/sign-up/create-user?src=pyroscope&cnt=hp" />
6363
</div>
6464
<ToggleMenuButton onClick={() => setIsOpen((prevState) => !prevState)} />
6565
</div>
@@ -68,7 +68,7 @@ const HeadSection = ({ isOpenMenu, setIsOpen }) => {
6868
<h1 className={styles.appTitle}>Open Source <br />Continuous <br />Profiling</h1>
6969
<div className={styles.appSubtitle}>Find and debug your most painful performance issues across code,<br /> infrastructure and CI/CD pipelines</div>
7070
<div className={styles.plans}>
71-
<Plan className={styles.preferred} title='Pyroscope Cloud' subTitle='Try it for free' url='https://pyroscope.cloud/signup' />
71+
<Plan className={styles.preferred} title='Pyroscope Cloud NOW on Grafana Cloud' subTitle='Try it for free' url='https://grafana.com/auth/sign-up/create-user?src=pyroscope&cnt=hp' />
7272
<Plan title='Pyroscope OSS' subTitle='Use it for free' url='https://github.com/pyroscope-io/pyroscope' />
7373
</div>
7474
</div>

src/components/PricingPage/Head/index.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const Head = ({ isOpenMenu, setIsOpen }) => {
6464
<Logo />
6565
<HeaderMenu menuItems={headerMenuItems} />
6666
<div className={styles.rightSideButtons}>
67-
<GetStartedButton />
67+
<GetStartedButton href="https://grafana.com/auth/sign-up/create-user?src=pyroscope&cnt=pricing" />
6868
</div>
6969
<ToggleMenuButton onClick={() => setIsOpen((prevState) => !prevState)} />
7070
</div>
@@ -93,10 +93,9 @@ const Head = ({ isOpenMenu, setIsOpen }) => {
9393
Cloud
9494
</h3>
9595
<p className={clsx([styles.planDescription, styles.cloud])}>
96-
Hosted and fully–managed version of Pyroscope, designed for all your deployment and business needs.
97-
Horizontally scalable and with first-class support for high cardinality data.
96+
Hosted and fully–managed version of Pyroscope, is now available on Grafrana Cloud as Cloud Profiles. Horizontally scalable and with first-class support for high cardinality data
9897
</p>
99-
<a target="_blank" className={clsx([styles.chooseButton, styles.cloud])} href="https://pyroscope.cloud/signup">
98+
<a target="_blank" className={clsx([styles.chooseButton, styles.cloud])} href="https://grafana.com/auth/sign-up/create-user?src=pyroscope&cnt=pricing">
10099
Sign Up
101100
</a>
102101
</div>

src/components/PricingPage/TheCloudAdvantage/PlansTable/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@ const Row = ({ children, className }) =>
198198
const Cell = ({ children, className }) =>
199199
<div className={clsx([styles.cell, className])}>{children}</div>
200200

201-
export default PlansTable;
201+
export default PlansTable;

src/components/PricingPage/TheCloudAdvantage/index.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ const TheCloudAdvantage = () => {
2828
<Advantage title="Grows with you" description="Write millions of profiles per second. Store hundreds of billions of individual profiles." icon={GrowsIcon} />
2929
<Advantage title="Enterprise-ready" description="AWS PrivateLink, SOC2 compliance." icon={EnterpriseIcon} />
3030
</div>
31-
<h2 className={clsx([styles.sectionTitle, styles.comparePlans])}>
32-
Compare Plans
33-
</h2>
3431
<div className={styles.stripes}>
3532
<div className={styles.blueStripe} />
3633
<div className={styles.orangeStripe} />
3734
</div>
35+
{/* <h2 className={clsx([styles.sectionTitle, styles.comparePlans])}>
36+
Compare Plans
37+
</h2>
3838
<p className={styles.sectionSubtitle}>
3939
Start with a hobby project, collaborate with a team, and scale to thousands of applications
40-
</p>
41-
<PlansTable />
40+
</p> */}
41+
{/* <PlansTable /> */}
4242
</div>
4343
</SectionWrapper>
4444
)
@@ -56,4 +56,4 @@ const Advantage = ({ title, description, icon }) => {
5656

5757
}
5858

59-
export default TheCloudAdvantage;
59+
export default TheCloudAdvantage;

src/components/PricingPage/TheCloudAdvantage/styles.module.scss

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$bg_height: 2300px;
2-
$bg_height_tablet: 1900px;
1+
$bg_height: 2300px - 950px;
2+
$bg_height_tablet: 1900px - 700px;
33

44
.sectionWrapper {
55
margin-top: -330px;
@@ -34,6 +34,14 @@ $bg_height_tablet: 1900px;
3434
padding: 0 16px;
3535
padding-bottom: 0px;
3636
}
37+
38+
@media (max-width: 992px) {
39+
height: $bg_height;
40+
}
41+
42+
@media (max-width: 675px) {
43+
height: $bg_height;
44+
}
3745
}
3846

3947
.background {
@@ -54,7 +62,7 @@ $bg_height_tablet: 1900px;
5462

5563
@media (max-width: 992px) {
5664
clip-path: polygon(0 9vw, 100% 0%, 100% calc(100% - 9vw), 0% 100%);
57-
height: $bg_height_tablet;
65+
height: $bg_height;
5866
}
5967

6068
@media (max-width: 675px) {
@@ -192,8 +200,8 @@ $bg_height_tablet: 1900px;
192200
z-index: -1;
193201

194202
@media (max-width: 3000px) {
195-
top: calc($bg_height - 6%);
196-
transform: rotate(-4deg);
203+
top: calc($bg_height - 12%);
204+
transform: rotate(-6deg);
197205
}
198206

199207
@media (max-width: 2000px) {

src/components/PricingPage/index.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ import TheCloudAdvantage from './TheCloudAdvantage';
55
import Footer from '../shared/Footer';
66
import styles from './styles.module.scss';
77
import { Helmet } from "react-helmet";
8+
import AnnouncementBar from './../../theme/AnnouncementBar';
9+
import {AnnouncementBarProvider} from '@docusaurus/theme-common';
810

911

1012
const PricingPage = () => {
1113
const [isOpenMenu, setIsOpen] = useState(false);
1214

1315
return (
1416
<>
17+
<AnnouncementBarProvider>
18+
<AnnouncementBar/>
19+
</AnnouncementBarProvider>
1520
<Helmet>
1621
<title>Pricing Pyroscope | Open Source Continuous Profiling Platform</title>
1722
<meta name="description" content='Pricing Pyroscope | Open Source Continuous Profiling Platform' />
@@ -31,4 +36,4 @@ const PricingPage = () => {
3136
)
3237
}
3338

34-
export default PricingPage;
39+
export default PricingPage;

src/components/shared/Footer/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const HelpUsBanner = () => (
108108
<div className={styles.banner}>
109109
<ContactUsImage />
110110
<h3 className={styles.title}>Get started with Pyroscope Cloud<br />for free</h3>
111-
<a href="https://pyroscope.cloud/signup" target="_blank" className={styles.joinPrivateBeta}>Sign Up</a>
111+
<a href="https://grafana.com/auth/sign-up/create-user?src=pyroscope&cnt=hp" target="_blank" className={styles.joinPrivateBeta}>Sign Up</a>
112112
</div>
113113
)
114114

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import React from 'react';
22
import styles from './styles.module.scss';
33

4-
const GetStartedButton = () => (
4+
const GetStartedButton = ({ href }) => (
55
<a
6-
href="https://pyroscope.cloud/signup"
6+
href={href}
77
target="_blank"
88
className={styles.getStartedButton}
99
>
1010
Get Started
1111
</a>
1212
)
1313

14-
export default GetStartedButton;
14+
export default GetStartedButton;

0 commit comments

Comments
 (0)