File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import { NextPage } from 'next'
2+
3+ import { LogoHead } from '../src/components/common/LogoHead'
4+ import LandingLayout from '../src/components/layouts/LandingLayout'
5+
6+ export interface ErrorPageProps { }
7+
8+ const Error : NextPage < ErrorPageProps > = ( ) => {
9+ return (
10+ < LandingLayout >
11+ < section id = "error" className = "container" >
12+ < LogoHead />
13+
14+ < div className = "flex flex-col items-center m-auto text-center" >
15+ < h1 className = "text-3xl sm:text-4xl whitespace-no-wrap" >
16+ Oops, try another page
17+ </ h1 >
18+ </ div >
19+ </ section >
20+ </ LandingLayout >
21+ )
22+ }
23+
24+ export default Error
Original file line number Diff line number Diff line change 11import { NextPage } from 'next'
22
3+ import { setPublicPlansCache } from '../src/context/PlansContext'
34import PricingPage from '../src/pages/PricingPage'
45
56export interface PricingPageProps { }
67
7- const Pricing : NextPage < PricingPageProps > = ( ) => {
8+ const Pricing : NextPage < PricingPageProps > = props => {
9+ console . log ( 'xxx pricing page' , props )
810 return < PricingPage />
911}
1012
1113export default Pricing
14+
15+ export function unstable_getStaticProps ( ) {
16+ setPublicPlansCache ( value => ( {
17+ ...value ,
18+ freeTrialDays : 1234 ,
19+ } ) )
20+
21+ return {
22+ props : {
23+ test : 1234 ,
24+ } ,
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments