Skip to content

Commit 43f8ba3

Browse files
Resolve error
1 parent d22f5fb commit 43f8ba3

File tree

4 files changed

+177
-177
lines changed

4 files changed

+177
-177
lines changed

src/app/components/ReducerPage/reducer-page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { Component } from "react";
22
import _ from "lodash";
3-
//import { connect } from "react-redux";
3+
import { connect } from "react-redux";
44
import { decrementCounter, incrementCounter } from "./actions";
5-
//import {Button, Container, Header, Icon, Segment} from "semantic-ui-react";
5+
import {Button, Container, Header, Icon, Segment} from "semantic-ui-react";
66

77
export default @connect((state) => {
88
return {

src/app/components/home.js

Lines changed: 172 additions & 172 deletions
Original file line numberDiff line numberDiff line change
@@ -1,184 +1,184 @@
11
import { Link } from "react-router-dom";
22
import React from "react";
3-
// import {
4-
// Button,
5-
// Container,
6-
// Divider,
7-
// Grid,
8-
// Header,
9-
// Icon,
10-
// Image,
11-
// List,
12-
// Segment,
13-
// } from "semantic-ui-react";
3+
import {
4+
Button,
5+
Container,
6+
Divider,
7+
Grid,
8+
Header,
9+
Icon,
10+
Image,
11+
List,
12+
Segment,
13+
} from "semantic-ui-react";
1414

1515

1616
const Home = () => (
1717
<div>
18-
<Segment
19-
inverted
20-
textAlign="center"
21-
style={{ minHeight: 700, padding: "1em 0em" }}
22-
vertical
23-
>
24-
<Container text>
25-
<Header
26-
as="h1"
27-
content="Imagine-a-Company"
28-
inverted
29-
style={{
30-
fontSize: "4em",
31-
fontWeight: "normal",
32-
marginBottom: 0,
33-
marginTop: "3em",
34-
}}
35-
/>
36-
<Header
37-
as="h2"
38-
content="Do whatever you want when you want to."
39-
inverted
40-
style={{
41-
fontSize: "1.7em",
42-
fontWeight: "normal",
43-
marginTop: "1.5em",
44-
}}
45-
/>
46-
<Button as={Link} className="ui animated fade button primary huge" to="/reducer">
47-
<div className="visible content">
48-
Checkout Redux
49-
</div>
50-
<div className="hidden content">
51-
Go to the Link
52-
<Icon name="right arrow" />
53-
</div>
54-
</Button>
55-
</Container>
56-
</Segment>
57-
<Segment style={{ padding: "8em 0em" }} vertical>
58-
<Grid container stackable verticalAlign="middle">
59-
<Grid.Row>
60-
<Grid.Column width={8}>
61-
<Link to="/reducer"><h2>Reducer Demo</h2></Link>
62-
<Header as="h3" style={{ fontSize: "2em" }}>
63-
We Help Companies and Companions
64-
</Header>
65-
<p style={{ fontSize: "1.33em" }}>
66-
We can give your company superpowers to do things that they never
67-
thought possible. Let us delight your customers and empower your
68-
needs... through pure data analytics.
69-
</p>
70-
<Header as="h3" style={{ fontSize: "2em" }}>
71-
We Make Bananas That Can Dance
72-
</Header>
73-
<p style={{ fontSize: "1.33em" }}>
74-
{`Yes that's right, you thought it was the stuff of dreams, but even bananas can be
18+
<Segment
19+
inverted
20+
textAlign="center"
21+
style={{ minHeight: 700, padding: "1em 0em" }}
22+
vertical
23+
>
24+
<Container text>
25+
<Header
26+
as="h1"
27+
content="Imagine-a-Company"
28+
inverted
29+
style={{
30+
fontSize: "4em",
31+
fontWeight: "normal",
32+
marginBottom: 0,
33+
marginTop: "3em",
34+
}}
35+
/>
36+
<Header
37+
as="h2"
38+
content="Do whatever you want when you want to."
39+
inverted
40+
style={{
41+
fontSize: "1.7em",
42+
fontWeight: "normal",
43+
marginTop: "1.5em",
44+
}}
45+
/>
46+
<Button as={Link} className="ui animated fade button primary huge" to="/reducer">
47+
<div className="visible content">
48+
Checkout Redux
49+
</div>
50+
<div className="hidden content">
51+
Go to the Link
52+
<Icon name="right arrow" />
53+
</div>
54+
</Button>
55+
</Container>
56+
</Segment>
57+
<Segment style={{ padding: "8em 0em" }} vertical>
58+
<Grid container stackable verticalAlign="middle">
59+
<Grid.Row>
60+
<Grid.Column width={8}>
61+
<Link to="/reducer"><h2>Reducer Demo</h2></Link>
62+
<Header as="h3" style={{ fontSize: "2em" }}>
63+
We Help Companies and Companions
64+
</Header>
65+
<p style={{ fontSize: "1.33em" }}>
66+
We can give your company superpowers to do things that they never
67+
thought possible. Let us delight your customers and empower your
68+
needs... through pure data analytics.
69+
</p>
70+
<Header as="h3" style={{ fontSize: "2em" }}>
71+
We Make Bananas That Can Dance
72+
</Header>
73+
<p style={{ fontSize: "1.33em" }}>
74+
{`Yes that's right, you thought it was the stuff of dreams, but even bananas can be
7575
bioengineered.`}
76-
</p>
77-
</Grid.Column>
78-
<Grid.Column floated="right" width={6}>
79-
<Image bordered rounded size="large" src="http://react.semantic-ui.com/images/wireframe/white-image.png" />
80-
</Grid.Column>
81-
</Grid.Row>
82-
<Grid.Row>
83-
<Grid.Column textAlign="center">
84-
<Button size="huge">Check Them Out</Button>
85-
</Grid.Column>
86-
</Grid.Row>
87-
</Grid>
88-
</Segment>
89-
<Segment style={{ padding: "0em" }} vertical>
90-
<Grid celled="internally" columns="equal" stackable>
91-
<Grid.Row textAlign="center">
92-
<Grid.Column style={{ paddingBottom: "5em", paddingTop: "5em" }}>
93-
<Header as="h3" style={{ fontSize: "2em" }}>
94-
{"What a Company"}
95-
</Header>
96-
<p style={{ fontSize: "1.33em" }}>That is what they all say about us</p>
97-
</Grid.Column>
98-
<Grid.Column style={{ paddingBottom: "5em", paddingTop: "5em" }}>
99-
<Header as="h3" style={{ fontSize: "2em" }}>
100-
{"I shouldn't have gone with their competitor."}
101-
</Header>
102-
<p style={{ fontSize: "1.33em" }}>
103-
<Image avatar src="http://react.semantic-ui.com/images/avatar/large/nan.jpg" />
104-
<b>Nan</b>
105-
Chief Fun Officer Acme Toys
106-
</p>
107-
</Grid.Column>
108-
</Grid.Row>
109-
</Grid>
110-
</Segment>
111-
<Segment style={{ padding: "8em 0em" }} vertical>
112-
<Container text>
113-
<Header as="h3" style={{ fontSize: "2em" }}>
114-
Breaking The Grid, Grabs Your Attention
115-
</Header>
116-
<p style={{ fontSize: "1.33em" }}>
117-
Instead of focusing on content creation and hard work,
118-
we have learned how to master the art of doing nothing by providing
119-
massive amounts of whitespace and generic content that
120-
can seem massive, monolithic and worth your attention.
121-
</p>
122-
<Button as="a" size="large">
123-
Read More
124-
</Button>
125-
<Divider
126-
as="h4"
127-
className="header"
128-
horizontal
129-
style={{ margin: "3em 0em", textTransform: "uppercase" }}
130-
>
131-
<Link to="/">Case Studies</Link>
132-
</Divider>
133-
<Header as="h3" style={{ fontSize: "2em" }}>
134-
Did We Tell You About Our Bananas?
135-
</Header>
136-
<p style={{ fontSize: "1.33em" }}>
137-
{`Yes I know you probably disregarded the earlier boasts as non-sequitur filler content,
76+
</p>
77+
</Grid.Column>
78+
<Grid.Column floated="right" width={6}>
79+
<Image bordered rounded size="large" src="http://react.semantic-ui.com/images/wireframe/white-image.png" />
80+
</Grid.Column>
81+
</Grid.Row>
82+
<Grid.Row>
83+
<Grid.Column textAlign="center">
84+
<Button size="huge">Check Them Out</Button>
85+
</Grid.Column>
86+
</Grid.Row>
87+
</Grid>
88+
</Segment>
89+
<Segment style={{ padding: "0em" }} vertical>
90+
<Grid celled="internally" columns="equal" stackable>
91+
<Grid.Row textAlign="center">
92+
<Grid.Column style={{ paddingBottom: "5em", paddingTop: "5em" }}>
93+
<Header as="h3" style={{ fontSize: "2em" }}>
94+
{"What a Company"}
95+
</Header>
96+
<p style={{ fontSize: "1.33em" }}>That is what they all say about us</p>
97+
</Grid.Column>
98+
<Grid.Column style={{ paddingBottom: "5em", paddingTop: "5em" }}>
99+
<Header as="h3" style={{ fontSize: "2em" }}>
100+
{"I shouldn't have gone with their competitor."}
101+
</Header>
102+
<p style={{ fontSize: "1.33em" }}>
103+
<Image avatar src="http://react.semantic-ui.com/images/avatar/large/nan.jpg" />
104+
<b>Nan</b>
105+
Chief Fun Officer Acme Toys
106+
</p>
107+
</Grid.Column>
108+
</Grid.Row>
109+
</Grid>
110+
</Segment>
111+
<Segment style={{ padding: "8em 0em" }} vertical>
112+
<Container text>
113+
<Header as="h3" style={{ fontSize: "2em" }}>
114+
Breaking The Grid, Grabs Your Attention
115+
</Header>
116+
<p style={{ fontSize: "1.33em" }}>
117+
Instead of focusing on content creation and hard work,
118+
we have learned how to master the art of doing nothing by providing
119+
massive amounts of whitespace and generic content that
120+
can seem massive, monolithic and worth your attention.
121+
</p>
122+
<Button as="a" size="large">
123+
Read More
124+
</Button>
125+
<Divider
126+
as="h4"
127+
className="header"
128+
horizontal
129+
style={{ margin: "3em 0em", textTransform: "uppercase" }}
130+
>
131+
<Link to="/">Case Studies</Link>
132+
</Divider>
133+
<Header as="h3" style={{ fontSize: "2em" }}>
134+
Did We Tell You About Our Bananas?
135+
</Header>
136+
<p style={{ fontSize: "1.33em" }}>
137+
{`Yes I know you probably disregarded the earlier boasts as non-sequitur filler content,
138138
but it's really true. It took years of gene splicing and combinatory DNA research,
139139
but our bananas can really dance.`}
140-
</p>
141-
<Button as="a" size="large">
142-
{"I'm Still Quite Interested"}
143-
</Button>
144-
</Container>
145-
</Segment>
146-
<Segment inverted vertical style={{ padding: "5em 0em" }}>
147-
<Container>
148-
<Grid divided inverted stackable>
149-
<Grid.Row>
150-
<Grid.Column width={3}>
151-
<Header inverted as="h4" content="About" />
152-
<List link inverted>
153-
<List.Item as="a">Sitemap</List.Item>
154-
<List.Item as="a">Contact Us</List.Item>
155-
<List.Item as="a">Religious Ceremonies</List.Item>
156-
<List.Item as="a">Gazebo Plans</List.Item>
157-
</List>
158-
</Grid.Column>
159-
<Grid.Column width={3}>
160-
<Header inverted as="h4" content="Services" />
161-
<List link inverted>
162-
<List.Item as="a">Banana Pre-Order</List.Item>
163-
<List.Item as="a">DNA FAQ</List.Item>
164-
<List.Item as="a">How To Access</List.Item>
165-
<List.Item as="a">Favorite X-Men</List.Item>
166-
</List>
167-
</Grid.Column>
168-
<Grid.Column width={7}>
169-
<Header as="h4" inverted>
170-
Footer Header
171-
</Header>
172-
<p>
173-
Extra space for a call to action inside the footer that could help
174-
re-engage users.
175-
</p>
176-
</Grid.Column>
177-
</Grid.Row>
178-
</Grid>
179-
</Container>
180-
</Segment>
181-
</div>
140+
</p>
141+
<Button as="a" size="large">
142+
{"I'm Still Quite Interested"}
143+
</Button>
144+
</Container>
145+
</Segment>
146+
<Segment inverted vertical style={{ padding: "5em 0em" }}>
147+
<Container>
148+
<Grid divided inverted stackable>
149+
<Grid.Row>
150+
<Grid.Column width={3}>
151+
<Header inverted as="h4" content="About" />
152+
<List link inverted>
153+
<List.Item as="a">Sitemap</List.Item>
154+
<List.Item as="a">Contact Us</List.Item>
155+
<List.Item as="a">Religious Ceremonies</List.Item>
156+
<List.Item as="a">Gazebo Plans</List.Item>
157+
</List>
158+
</Grid.Column>
159+
<Grid.Column width={3}>
160+
<Header inverted as="h4" content="Services" />
161+
<List link inverted>
162+
<List.Item as="a">Banana Pre-Order</List.Item>
163+
<List.Item as="a">DNA FAQ</List.Item>
164+
<List.Item as="a">How To Access</List.Item>
165+
<List.Item as="a">Favorite X-Men</List.Item>
166+
</List>
167+
</Grid.Column>
168+
<Grid.Column width={7}>
169+
<Header as="h4" inverted>
170+
Footer Header
171+
</Header>
172+
<p>
173+
Extra space for a call to action inside the footer that could help
174+
re-engage users.
175+
</p>
176+
</Grid.Column>
177+
</Grid.Row>
178+
</Grid>
179+
</Container>
180+
</Segment>
181+
</div>
182182
);
183183

184184
export default Home;

src/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//import "semantic-ui-css/semantic.css";
2-
//import ReduxClient from "@pawjs/redux/client";
1+
import "semantic-ui-css/semantic.css";
2+
import ReduxClient from "@pawjs/redux/client";
33
import * as AppReducers from "./app/reducers";
44

55
const AppInitialState = {

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//import ReduxServer from "@pawjs/redux/server";
1+
import ReduxServer from "@pawjs/redux/server";
22
import * as AppReducers from "./app/reducers";
33

44
const AppInitialState = {

0 commit comments

Comments
 (0)