-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFeaturesDiagonal.tsx
More file actions
77 lines (75 loc) · 3.34 KB
/
FeaturesDiagonal.tsx
File metadata and controls
77 lines (75 loc) · 3.34 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import { motion } from "framer-motion";
// @ts-ignore
import featTwitch from "../assets/images/feat_twitch.png";
export const FeaturesDiagonal = () => {
return (
<section
className="lg:mb-16 w-full flex flex-col justify-center items-center bg-[#7a3ad8]"
id="twitch"
>
<div className="shape-divider-bottom-1665696614">
<svg
data-name="Layer 1"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1200 120"
preserveAspectRatio="none"
className="bg-bgDark2 fill-bgDark2"
>
<path
d="M1200 120L0 16.48 0 0 1200 0 1200 120z"
className="bg-[#7a3ad8] fill-[#7a3ad8]"
></path>
</svg>
</div>
<motion.div
initial={{ opacity: 0 }}
whileInView={{ opacity: 1 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: 0.2 }}
>
<div className=" 2xl:w-[1150px] xl:w-[1050px] md:w-4/5 flex justify-center bg-[#6530b2] pt-12 lg:pt-24 pb-8 lg:pb-20 mx-auto flex-col rounded-3xl overflow-hidden">
<div className="w-3/4 lg:w-1/2 flex flex-col lg:mx-unset mx-auto">
<span className="block-subtitle">Twitch</span>
<h2 className="mt-10 mb-8 text-4xl lg:text-5xl block-big-title">
Stream on Twitch?
</h2>
<p className="mb-16 text-secondaryText leading-loose">
Feedr makes it easy to know when your stream goes
live! Go live, and with our update interval of 2
seconds, you can be sure that your fans will get
notifications instantly!
</p>
{/* <button
className="w-[210px] h-12 contained-button mr-10 "
onClick={() => setIsModalOpen(true)} // TODO: Add the invite link for the bot
aria-label="Get started"
>
Get Started
</button> */}
</div>
<div className="w-4/5 lg:w-1/2 lg:pl-16 flex justify-center mx-auto pt-16 lg:pt-0">
<img
src={featTwitch.src}
alt="Feature image"
className="rounded-xl main-border-gray"
/>
</div>
</div>
</motion.div>
<div className="shape-divider-top-1665696661 w-full">
<svg
data-name="Layer 1"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1200 120"
preserveAspectRatio="none"
className="bg-bgDark2 fill-bgDark2"
>
<path
d="M1200 120L0 16.48 0 0 1200 0 1200 120z"
className="bg-[#7a3ad8] fill-[#7a3ad8]"
></path>
</svg>
</div>
</section>
);
};