-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServices.js
More file actions
41 lines (37 loc) · 992 Bytes
/
Services.js
File metadata and controls
41 lines (37 loc) · 992 Bytes
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
import React from 'react';
import styled from 'styled-components';
import { Parallax } from 'react-parallax';
import { Element } from 'react-scroll';
import servicesImage from '../assets/images/services.jpg';
const SectionWrapper = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
color: white;
`;
const ServicesContent = styled.div`
background-color: rgba(0, 0, 0, 0.5);
padding: 2rem;
border-radius: 10px;
`;
const Services = () => (
<Element name="services">
<Parallax bgImage={servicesImage} strength={300}>
<SectionWrapper>
<ServicesContent>
<h1>Our Services</h1>
<ul>
<li>Interior Design</li>
<li>Space Planning</li>
<li>Consultation</li>
<li>Project Management</li>
</ul>
</ServicesContent>
</SectionWrapper>
</Parallax>
</Element>
);
export default Services;