-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAbout.js
106 lines (103 loc) · 2.66 KB
/
About.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import styled from "styled-components";
const About = () => {
return (
<Wrapper>
<div className="container">
<div className="grid grid-two-column">
<div className="hero-section-data">
<h1 style={{backgroundColor:"#040166",marginTop:"-50px",padding:"1rem",textAlign:"center",textDecoration:"underline",color:"white"}}> About Us </h1>
<p>
SpyGimzo Security is a premier supplier of security and surveillance solutions to consumers and businesses of all sizes. We provide solutions and consulting services to more than 400 of the Fortune 500 companies, as well as more than 2,500 local and national government agencies, including the NYPD, the L.A. County Sheriff's Department, and the FBI. In addition, our clients proudly include over 40,000 small businesses from around the world.
</p>
</div>
{/* our homepage image */}
<div className="hero-section-image">
<figure>
<img
src="images/hero.png"
alt="hero-section-photo"
className="img-style"
/>
</figure>
</div>
</div>
</div>
</Wrapper>
);
};
const Wrapper = styled.section`
padding: 12rem 0;
img {
min-width: 10rem;
height: 10rem;
}
.hero-section-data {
p {
margin: 2rem 0;
}
h1 {
text-transform: capitalize;
font-weight: bold;
}
.intro-data {
margin-bottom: 0;
}
}
.hero-section-image {
width: 100%;
height: auto;
display: flex;
justify-content: center;
align-items: center;
}
figure {
position: relative;
&::after {
content: "";
width: 60%;
height: 80%;
background-color: rgb(237 2 214);
position: absolute;
left: 50%;
top: -4rem;
z-index: -1;
}
&::before{
content: "";
width: 60%;
height: 80%;
background-color: rgb(237 2 214);
position: absolute;
left: -11%;
top: 9rem;
z-index: -1;
}
}
.img-style {
width: 100%;
height: auto;
}
@media (max-width: ${({ theme }) => theme.media.mobile}) {
.grid {
gap: 10rem;
}
figure::after {
content: "";
width: 50%;
height: 80%;
left: -42px;
top: 35%;
background-color: rgb(237 2 214);
z-index: -1;
}
figure::before {
content: "";
width: 50%;
height: 80%;
left: 60%;
top: -15%;
background-color: rgb(237 2 214);
}
}
`;
export default About;