|
1 | | -import { Grid, Paper, CardContent, Typography } from '@material-ui/core'; |
| 1 | +import { Grid, Paper, Box, Typography } from '@material-ui/core'; |
2 | 2 | // import icons frmo mui |
3 | 3 | // 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' |
5 | 7 |
|
6 | 8 | export const packages = [ |
7 | 9 | { |
8 | 10 | key: 1, |
9 | 11 | name: "Basic SEO", |
10 | 12 | description: "Includes keyword research, on-page optimization, and monthly reporting on traffic and keyword rankings.", |
11 | 13 | price: "$500/month", |
12 | | - link: <ReadMoreIcon /> |
| 14 | + link: `<ReadMoreIcon />` |
13 | 15 | }, |
14 | 16 | { |
15 | 17 | key: 2, |
16 | 18 | name: "Advanced SEO", |
17 | 19 | description: "Includes everything in the Basic SEO p, plus link building and competitor analysis.", |
18 | 20 | price: "$1000/month", |
19 | | - link: <ReadMoreIcon /> |
| 21 | + link: `<ReadMoreIcon />` |
20 | 22 | }, |
21 | 23 | { |
22 | 24 | key: 3, |
23 | 25 | name: "Social Media Marketing", |
24 | 26 | description: "Includes social media account setup and management, content creation and scheduling, and monthly reporting on engagement and follower growth.", |
25 | 27 | price: "$800/month", |
26 | | - link: <ReadMoreIcon /> |
| 28 | + link: `<ReadMoreIcon />` |
27 | 29 | }, |
28 | 30 | { |
29 | 31 | key: 4, |
30 | 32 | name: "Branding", |
31 | 33 | description: "Includes a brand audit, brand strategy development, and visual identity design (logo, color scheme, typography, etc.).", |
32 | 34 | price: "$2000/month", |
33 | | - link: <ReadMoreIcon /> |
| 35 | + link: `<ReadMoreIcon />` |
34 | 36 |
|
35 | 37 | }, |
36 | 38 | { |
37 | 39 | key: 5, |
38 | 40 | name: "Marketing", |
39 | 41 | description: "Includes everything in the SEO, Social Media Marketing, and Branding packages, plus email marketing, paid advertising management, and market research.", |
40 | 42 | price: "$3000/month", |
41 | | - link: <ReadMoreIcon /> |
| 43 | + link: `<ReadMoreIcon />` |
42 | 44 |
|
43 | 45 | }, |
44 | 46 | { |
45 | | - key: 6, |
| 47 | + key: 6, |
46 | 48 | name: "Basic SEO Startup Suite", |
47 | 49 | 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!!!", |
48 | 50 | price: "$500 / site", |
49 | | - link: <ReadMoreIcon /> |
| 51 | + link: `<ReadMoreIcon />` |
50 | 52 |
|
51 | 53 | }, |
52 | 54 | { |
53 | 55 | key: 7, |
54 | 56 | name: "Advanced SEO Startup Suite", |
55 | 57 | 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.", |
56 | 58 | price: "$1000 / site", |
57 | | - link: <ReadMoreIcon alignItems="right" style={{ justifyContent: "right" }} /> |
| 59 | + link: `<ReadMoreIcon alignItems="right" style={{ justifyContent: "right" }} />` |
58 | 60 |
|
59 | 61 | }, |
60 | 62 | { |
61 | 63 | key: 8, |
62 | 64 | name: "Social Media Marketing Startup Suite", |
63 | 65 | description: "Includes 1-6 social media account setup and management, content creation and scheduling, and monthly reporting on engagement and follower growth.", |
64 | 66 | price: "$400 / account", |
65 | | - link: <ReadMoreIcon /> |
| 67 | + link: `<ReadMoreIcon />` |
66 | 68 |
|
67 | 69 | }, |
68 | 70 | { |
69 | 71 | key: 9, |
70 | 72 | name: "Branding Startup Suite", |
71 | 73 | 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.).", |
72 | 74 | price: "$800 / brand", |
73 | | - link: <ReadMoreIcon /> |
74 | | - |
| 75 | + link: `<ReadMoreIcon />` |
75 | 76 | }, |
76 | 77 | { |
77 | 78 | key: 10, |
78 | 79 | name: "Marketing Startup Suite", |
79 | 80 | 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.", |
80 | 81 | price: "$3000 / site", |
81 | | - link: <ReadMoreIcon /> |
| 82 | + link: `<ReadMoreIcon />` |
82 | 83 |
|
83 | 84 | } |
84 | 85 | ]; |
85 | 86 |
|
86 | | - function PackageCards() { |
| 87 | +function PackageCards() { |
| 88 | + const { theme } = useContext(ThemeContext); |
| 89 | + |
87 | 90 | 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 | + </> |
110 | 117 | ); |
111 | 118 | } |
112 | 119 |
|
|
0 commit comments