Skip to content

Commit 0d27c86

Browse files
committed
services styling
1 parent 3db82bf commit 0d27c86

File tree

1 file changed

+34
-7
lines changed

1 file changed

+34
-7
lines changed

src/components/PackageCards/PackageCards/PackageCards.js

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ export const packages = [
4242
price: "$3000/month",
4343
link: `<ReadMoreIcon />`
4444

45-
},
45+
}]
46+
47+
export const packages2 = [
4648
{
4749
key: 6,
4850
name: "Basic SEO Startup Suite",
@@ -90,14 +92,38 @@ function PackageCards() {
9092
return (
9193
<>
9294
<div className="services-header">
93-
<h1 style={{ color: theme.secondary70 }}>Services</h1>
94-
</div><Box>
95-
<Grid container spacing={{ xs: 3, md: 1, }} >
95+
<h1 style={{ color: theme.secondary70 }} className="items-center justify-center h-screen">Services</h1>
96+
</div>
97+
<Box>
98+
<Grid container spacing={{ xs: 1, sm: 2, md: 5, }} className="items-center justify-center h-screen" style={{ justifyContent: "center" }}>
9699
{packages.map((p) => (
97100

98-
<Grid container style={{ textAlign: "center", padding: '5px' }} mt={15} elevation={6} rowSpacing={3} xs={12} sm={6} md={4} lg={3}>
101+
<Grid container style={{ textAlign: "center", padding: '5px', }} mt={15} elevation={6} rowSpacing={3} xs={12} sm={3} md={5} lg={2} className="items-center justify-content-center h-screen">
102+
<Paper className="service servicePaper">
103+
<Box className="service serviceBoxName" id={p.key} sx={{ mx: 'auto', py: 1, height: '8rem', fontSize: '2rem', background: "#d35400", zIndex: 20, boxShadow: '4px 4px 8px rgba(36, 3, 6, 1)' }} Grid xs={12}>
104+
{p.name}
105+
</Box>
106+
<Box className="service serviceBoxDesc" sx={{ mx: 'auto', py: 1, fontSize: '1rem', fontWeight: 500 }} Grid xs={12}>
107+
{p.description}
108+
</Box>
109+
<Box className="service serviceBox3" sx={{ mx: 'auto', py: 1, fontSize: '2rem', fontWeight: 500 }} Grid xs={12}>
110+
<Box className="service serviceBox4">
111+
{p.price}
112+
</Box>
113+
</Box>
114+
</Paper>
115+
</Grid>
116+
117+
))}
118+
</Grid>
119+
</Box>
120+
<Box>
121+
<Grid container spacing={{ xs: 1, sm: 2, md: 5, }} className="items-center justify-center h-screen" style={{ justifyContent: "center" }}>
122+
{packages2.map((p) => (
123+
124+
<Grid container style={{ textAlign: "center", padding: '5px', }} mt={15} elevation={6} rowSpacing={3} xs={12} sm={3} md={5} lg={2} className="items-center justify-content-center h-screen">
99125
<Paper className="service servicePaper">
100-
<Box className="service serviceBoxName" id={p.key} sx={{ mx: 'auto', py: 1, fontSize: '2rem', fontWeight: 500 }} Grid xs={12}>
126+
<Box className="service serviceBoxName" id={p.key} sx={{ mx: 'auto', py: 1, height: '8rem', fontSize: '2rem', background: "#db11a9", zIndex: 20, boxShadow: '4px 4px 8px rgba(36, 3, 6, 1)' }} Grid xs={12}>
101127
{p.name}
102128
</Box>
103129
<Box className="service serviceBoxDesc" sx={{ mx: 'auto', py: 1, fontSize: '1rem', fontWeight: 500 }} Grid xs={12}>
@@ -112,7 +138,8 @@ function PackageCards() {
112138
</Grid>
113139

114140
))}
115-
</Grid></Box>
141+
</Grid>
142+
</Box>
116143
</>
117144
);
118145
}

0 commit comments

Comments
 (0)