Skip to content

Commit 30fad1b

Browse files
author
Danny Ruchtie
committed
Added second index2
1 parent 890e571 commit 30fad1b

File tree

2 files changed

+62
-4
lines changed

2 files changed

+62
-4
lines changed

packages/homepage/src/pages/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import React from 'react';
22

33
import TitleAndMetaTags from '../components/TitleAndMetaTags';
44
import Layout, { WRAPPER_STYLING } from '../components/layout';
5-
import HeroB from '../screens/home/heroB';
6-
// import HeroA from '../screens/home/hero';
5+
import HeroA from '../screens/home/hero';
76
import Prototype from '../screens/home/prototype';
87
import Started from '../screens/home/started';
98
import LoadInView from '../components/LoadInView';
@@ -26,8 +25,7 @@ const Homepage = () => (
2625
margin-bottom: 8rem;
2726
`}
2827
>
29-
<HeroB />
30-
{/* A/B Test Components HeroA = Old, HeroB is New */}
28+
<HeroA />
3129
</section>
3230

3331
<div style={WRAPPER_STYLING}>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import React from 'react';
2+
3+
import TitleAndMetaTags from '../components/TitleAndMetaTags';
4+
import Layout, { WRAPPER_STYLING } from '../components/layout';
5+
6+
import HeroB from '../screens/home/heroB';
7+
import Prototype from '../screens/home/prototype';
8+
import Started from '../screens/home/started';
9+
import LoadInView from '../components/LoadInView';
10+
import Experiment from '../screens/home/experiment';
11+
import Teams from '../screens/home/teams';
12+
import Share from '../screens/home/share';
13+
import Join from '../screens/home/join';
14+
import Explore from '../screens/home/explore';
15+
16+
// eslint-disable-next-line
17+
console.log(
18+
'Hi, We love curious people that dive in to see how things are working! We are always looking for talented, hard working people. Drop us a line and show us your work. We are hiring: https://codesandbox.io/jobs'
19+
);
20+
21+
const Homepage = () => (
22+
<Layout noWrapperStyling>
23+
<TitleAndMetaTags />
24+
<section
25+
css={`
26+
margin-bottom: 8rem;
27+
`}
28+
>
29+
<HeroB />
30+
</section>
31+
32+
<div style={WRAPPER_STYLING}>
33+
<LoadInView>
34+
<Prototype />
35+
</LoadInView>
36+
<LoadInView>
37+
<Started />
38+
</LoadInView>
39+
</div>
40+
<LoadInView>
41+
<Explore />
42+
</LoadInView>
43+
<div style={WRAPPER_STYLING}>
44+
<LoadInView>
45+
<Experiment />
46+
</LoadInView>
47+
<LoadInView>
48+
<Teams />
49+
</LoadInView>
50+
<LoadInView>
51+
<Share />
52+
</LoadInView>
53+
<LoadInView>
54+
<Join />
55+
</LoadInView>
56+
</div>
57+
</Layout>
58+
);
59+
60+
export default Homepage;

0 commit comments

Comments
 (0)