-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathContact.jsx
More file actions
57 lines (54 loc) · 1.72 KB
/
Contact.jsx
File metadata and controls
57 lines (54 loc) · 1.72 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import React from 'react';
import Button from './Button';
const ImageClipBox = ({ src, clipClass }) => {
return (
<div className={`${clipClass}`}>
<img src={src} />
</div>
);
};
const Contact = () => {
return (
<div
id="contact"
className="my-20 min-h-96 w-screen px-10"
>
<div className="relative rounded-lg bg-black py-24 text-blue-50 sm:overflow-hidden">
<div className="absolute -left-20 top-0 hidden h-full w-72 overflow-hidden sm:block lg:left-20 lg:w-96">
<ImageClipBox
src="img/contact-1.webp"
clipClass="contact-clip-path-1"
/>
<ImageClipBox
src="img/contact-2.webp"
clipClass="contact-clip-path-2 lg:translate-y-40 translate-y-60"
/>
</div>
<div className="absolute -top-40 left-20 w-60 sm:top-1/2 md:left-auto md:right-10 lg:top-20 lg:w-80">
<ImageClipBox
src="img/swordman-partial.webp"
clipClass="absolute md:scale-125"
/>
<ImageClipBox
src="img/swordman.webp"
clipClass="sword-man-clip-path md:scale-125"
/>
</div>
<div className="flex flex-col items-center text-center">
<p className="font-general text-[10px] uppercase ">
Join Zentry
</p>
<p className="special-font mt-10 w-full font-zentry text-5xl leading-[0.9] md:text-[6rem]">
Let's b<b>u</b>ild the <br />
new era of <br /> g<b>a</b>ming t<b>o</b>gether
</p>
<Button
title="contact us"
containerClass="mt-10 cursor-pointer bg-blue-50"
/>
</div>
</div>
</div>
);
};
export default Contact;