Skip to content

Commit

Permalink
feat: Use new Pricing page
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Dec 13, 2023
1 parent 307f876 commit 40a1790
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const saasifyConfig = {
links: [
{
label: 'Pricing',
to: '/pricing'
href: 'https://app.reacher.email/pricing'
},
{
label: 'Help Center',
Expand Down Expand Up @@ -97,7 +97,7 @@ const saasifyConfig = {
},
{
label: 'Pricing',
to: '/pricing'
href: 'https://app.reacher.email/pricing'
},
({ auth }) =>
auth.isAuthenticated
Expand Down
33 changes: 4 additions & 29 deletions src/pages/PricingPage/PricingPage.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,11 @@
import React, { Component } from 'react'
import { theme } from 'react-saasify'
import { Component } from 'react'
import { withTracker } from 'lib/with-tracker'

import {
NavHeader,
NavFooter,
ScrollToTopOnMount,
PricingSection,
EnterpriseSection
} from 'components'

import styles from './styles.module.css'

@withTracker
export class PricingPage extends Component {
render() {
return (
<div className={theme(styles, 'pricing-page')}>
<ScrollToTopOnMount />

<NavHeader />

<div className={theme(styles, 'main')}>
<div className={theme(styles, 'main-body')}>
<PricingSection />
</div>
</div>

<EnterpriseSection />

<NavFooter />
</div>
)
// Redirect to new pricing page
window.location.href = 'https://app.reacher.email/pricing'
return 'Redirecting...'
}
}

1 comment on commit 40a1790

@vercel
Copy link

@vercel vercel bot commented on 40a1790 Dec 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.