-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathContactSection.tsx
More file actions
43 lines (41 loc) · 1.28 KB
/
ContactSection.tsx
File metadata and controls
43 lines (41 loc) · 1.28 KB
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
'use client';
import Image from 'next/image';
import cls from './ContactSection.module.scss';
import { Container } from '@/shared/ui/Container';
import ContactImg from '@/shared/assets/images/Orang_hero.webp';
export type Props = {
title: string;
backgroundImageSrc?: string;
googlePLayLink?: string;
linkText?: string;
};
export const ContactSection = (props: Props) => {
const { googlePLayLink, linkText, title } = props;
return (
<Container
as={'section'}
className={cls.SectionPlayWithUs}
fluid={true}
>
<div className={cls.Content}>
<Image
src={ContactImg}
alt={'Side image with hero'}
priority={true}
className={cls.sideImg}
/>
<div className={cls.ContentWithNav}>
<h2 className={cls.title}>{title}</h2>
<a
className={cls.Link}
href={googlePLayLink}
target="_blank"
rel="noopener noreferrer"
>
{linkText}
</a>
</div>
</div>
</Container>
);
};