Skip to content

Commit 03f8234

Browse files
committed
still styling services
1 parent a0c0846 commit 03f8234

File tree

13 files changed

+38322
-22568
lines changed

13 files changed

+38322
-22568
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
88

9+
notes/
10+
11+
912
# Diagnostic reports (https://nodejs.org/api/report.html)
1013
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
1114

notes/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

package-lock.json

Lines changed: 32319 additions & 18837 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"react-reveal": "^1.2.2",
3737
"react-router-dom": "^5.2.0",
3838
"react-router-hash-link": "^2.4.3",
39-
"react-scripts": "^4.0.3",
39+
"react-scripts": "^2.1.3",
4040
"react-slick": "^0.28.1",
4141
"slick-carousel": "^1.8.1",
4242
"validator": "^13.6.0",

src/components/Offers/Offers.css

Lines changed: 0 additions & 98 deletions
This file was deleted.

src/components/Offers/Offers.js

Lines changed: 0 additions & 80 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.service{
2+
background-color: #fff444;
3+
}
4+
5+
paper{
6+
background-color: #fff444;
7+
}

src/components/PackageCards/PackageCards/PackageCards.js

Lines changed: 44 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,119 @@
1-
import { Grid, Paper, CardContent, Typography } from '@material-ui/core';
1+
import { Grid, Paper, Box, Typography } from '@material-ui/core';
22
// import icons frmo mui
33
// import mui icon
4-
import ReadMoreIcon from '@mui/icons-material/ReadMore';
4+
import React, { useContext } from 'react';
5+
import { ThemeContext } from '../../../contexts/ThemeContext';
6+
import './PackageCards.css'
57

68
export const packages = [
79
{
810
key: 1,
911
name: "Basic SEO",
1012
description: "Includes keyword research, on-page optimization, and monthly reporting on traffic and keyword rankings.",
1113
price: "$500/month",
12-
link: <ReadMoreIcon />
14+
link: `<ReadMoreIcon />`
1315
},
1416
{
1517
key: 2,
1618
name: "Advanced SEO",
1719
description: "Includes everything in the Basic SEO p, plus link building and competitor analysis.",
1820
price: "$1000/month",
19-
link: <ReadMoreIcon />
21+
link: `<ReadMoreIcon />`
2022
},
2123
{
2224
key: 3,
2325
name: "Social Media Marketing",
2426
description: "Includes social media account setup and management, content creation and scheduling, and monthly reporting on engagement and follower growth.",
2527
price: "$800/month",
26-
link: <ReadMoreIcon />
28+
link: `<ReadMoreIcon />`
2729
},
2830
{
2931
key: 4,
3032
name: "Branding",
3133
description: "Includes a brand audit, brand strategy development, and visual identity design (logo, color scheme, typography, etc.).",
3234
price: "$2000/month",
33-
link: <ReadMoreIcon />
35+
link: `<ReadMoreIcon />`
3436

3537
},
3638
{
3739
key: 5,
3840
name: "Marketing",
3941
description: "Includes everything in the SEO, Social Media Marketing, and Branding packages, plus email marketing, paid advertising management, and market research.",
4042
price: "$3000/month",
41-
link: <ReadMoreIcon />
43+
link: `<ReadMoreIcon />`
4244

4345
},
4446
{
45-
key: 6,
47+
key: 6,
4648
name: "Basic SEO Startup Suite",
4749
description: "One time setup with instruction as needed to get your keywords setup, discuss and implement on-page optimization, and review a monthly report on traffic and keyword rankings so you can continue improving your SEO!!!",
4850
price: "$500 / site",
49-
link: <ReadMoreIcon />
51+
link: `<ReadMoreIcon />`
5052

5153
},
5254
{
5355
key: 7,
5456
name: "Advanced SEO Startup Suite",
5557
description: "Includes everything in the Basic SEO setup 3-5 backlinks, to get your stats our of the red. Specialized competitor analysis and market analysis. Complete with online support and a custom 1-, 3-, 6-, AND 12-month plan of action.",
5658
price: "$1000 / site",
57-
link: <ReadMoreIcon alignItems="right" style={{ justifyContent: "right" }} />
59+
link: `<ReadMoreIcon alignItems="right" style={{ justifyContent: "right" }} />`
5860

5961
},
6062
{
6163
key: 8,
6264
name: "Social Media Marketing Startup Suite",
6365
description: "Includes 1-6 social media account setup and management, content creation and scheduling, and monthly reporting on engagement and follower growth.",
6466
price: "$400 / account",
65-
link: <ReadMoreIcon />
67+
link: `<ReadMoreIcon />`
6668

6769
},
6870
{
6971
key: 9,
7072
name: "Branding Startup Suite",
7173
description: "Includes a brand audit, creative session with 1-2 expert digital marketers followed by brand strategy development and visual identity design (logo, color scheme, typography, etc.).",
7274
price: "$800 / brand",
73-
link: <ReadMoreIcon />
74-
75+
link: `<ReadMoreIcon />`
7576
},
7677
{
7778
key: 10,
7879
name: "Marketing Startup Suite",
7980
description: "Includes everything in Advanced SEO Startup suites, including a complete review and revision of all Social Media sites, establishing or optiomizing your brand, email marketing setup including automation and defualt messages, information and optional walkthrough to setup paid advertising management.",
8081
price: "$3000 / site",
81-
link: <ReadMoreIcon />
82+
link: `<ReadMoreIcon />`
8283

8384
}
8485
];
8586

86-
function PackageCards() {
87+
function PackageCards() {
88+
const { theme } = useContext(ThemeContext);
89+
8790
return (
88-
<Grid container spacing={{ xs: 2, md: 3 }} columns={{ xs: 4, sm: 8, md: 12 }}>
89-
{packages.map((p) => (
90-
<Grid item xs={2} sm={4} md={4} id={p.key}>
91-
<Paper flex elevation={6}>
92-
<CardContent>
93-
<Typography variant="h5" component="h2">
94-
{p.name}
95-
</Typography>
96-
<Typography variant="body2" component="p">
97-
{p.description}
98-
</Typography>
99-
<Typography variant="body2" component="p">
100-
{p.price}
101-
</Typography>
102-
<Typography variant="body2" component="p" >
103-
{p.link}
104-
</Typography>
105-
</CardContent>
106-
</Paper>
107-
</Grid>
108-
))}
109-
</Grid>
91+
<>
92+
<div className="services-header">
93+
<h1 style={{ color: theme.secondary70 }}>Services</h1>
94+
</div><Box>
95+
<Grid container spacing={{ xs: 3, md: 1, }} >
96+
{packages.map((p) => (
97+
98+
<Grid container style={{ textAlign: "center", padding: '5px' }} mt={15} elevation={6} rowSpacing={3} xs={12} sm={6} md={4} lg={3}>
99+
<Paper className="service servicePaper">
100+
<Box className="service serviceBoxName" id={p.key} sx={{ mx: 'auto', py: 1, fontSize: '2rem', fontWeight: 500 }} Grid xs={12}>
101+
{p.name}
102+
</Box>
103+
<Box className="service serviceBoxDesc" Grid xs={12}>
104+
{p.description}
105+
</Box>
106+
<Box className="service serviceBox3" Grid xs={12}>
107+
<Box className="service serviceBox4">
108+
{p.price}
109+
</Box>
110+
</Box>
111+
</Paper>
112+
</Grid>
113+
114+
))}
115+
</Grid></Box>
116+
</>
110117
);
111118
}
112119

0 commit comments

Comments
 (0)