-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAbout.js
More file actions
36 lines (32 loc) · 912 Bytes
/
About.js
File metadata and controls
36 lines (32 loc) · 912 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
import React from 'react';
import styled from 'styled-components';
import { Parallax } from 'react-parallax';
import { Element } from 'react-scroll';
import aboutImage from '../assets/images/about.avif';
const SectionWrapper = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
color: white;
`;
const AboutContent = styled.div`
background-color: rgba(0, 0, 0, 0.5);
padding: 2rem;
border-radius: 10px;
`;
const About = () => (
<Element name="about">
<Parallax bgImage={aboutImage} strength={300}>
<SectionWrapper>
<AboutContent>
<h1>About Us</h1>
<p>At Brilliant Interiors, we pride ourselves on delivering exceptional design services to transform your spaces.</p>
</AboutContent>
</SectionWrapper>
</Parallax>
</Element>
);
export default About;