-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContact.js
More file actions
38 lines (34 loc) · 965 Bytes
/
Contact.js
File metadata and controls
38 lines (34 loc) · 965 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
import React from 'react';
import styled from 'styled-components';
import { Parallax } from 'react-parallax';
import { Element } from 'react-scroll';
import contactImage from '../assets/images/contact.jpg';
const SectionWrapper = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
color: white;
`;
const ContactContent = styled.div`
background-color: rgba(0, 0, 0, 0.5);
padding: 2rem;
border-radius: 10px;
`;
const Contact = () => (
<Element name="contact">
<Parallax bgImage={contactImage} strength={300}>
<SectionWrapper>
<ContactContent>
<h1>Contact Us</h1>
<p>Get in touch with us for any queries or consultation.</p>
<p>Email: info@brilliantinteriors.com</p>
<p>Phone: +1 234 567 890</p>
</ContactContent>
</SectionWrapper>
</Parallax>
</Element>
);
export default Contact;