-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (103 loc) · 6.23 KB
/
index.html
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<title>Frontend Mentor | FAQ Accordion Card</title>
<link href="dist/output.css" rel="stylesheet"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap" rel="stylesheet">
<style>
.attribution { font-size: 11px; text-align: center; }
</style>
</head>
<body>
<main class="px-10 sm:px-20 bg-gradient-to-b from-soft-violet to-soft-blue min-h-screen flex flex-col">
<!-- Card -->
<div class="lg:flex m-auto mt-[120px] md:w-4/5 lg:w-3/4 xl:max-w-[1000px] w-[375px] bg-white rounded-[25px] shadow-xl ">
<!-- SVG mobile -->
<div class="w-full flex justify-center mt-[-110px] lg:hidden">
<img src="images/bg-pattern-mobile.svg" class="absolute mt-[115px] w-64" alt="svg background image of illustration woman online mobile">
<img src="images/illustration-woman-online-mobile.svg" class="absolute w-64" alt="svg image of illustration woman online mobile">
</div>
<!-- SVG desktop -->
<div class="w-1/2 hidden relative lg:block">
<div class="absolute w-full h-full overflow-hidden">
<img src="images/bg-pattern-desktop.svg" class="absolute top-[50px] right-[50px]" alt="svg background image of illustration woman online desktop">
<img src="images/illustration-woman-online-desktop.svg" class="absolute top-[100px] right-[50px]" alt="svg image of illustration woman online desktop">
</div>
<div class="absolute w-full h-full">
<img src="images/illustration-box-desktop.svg" class="relative top-[200px] right-[80px]" alt="svg image of a box on illustration woman online desktop">
</div>
</div>
<!-- FAQ items -->
<div class="text-sm px-8 py-16 font-kumbh lg:w-1/2 ">
<h1 class="text-4xl text-center lg:text-left pt-52 lg:pt-0 lg:py-10 pb-4 text-very-dark-desaturated-blue font-bold">FAQ</h1>
<section class="w-full py-3 grid grid-cols-6 ">
<input id="faq_1" type="checkbox" class="peer hidden">
<label for="faq_1" class="peer-checked:font-bold hover:text-red-500 cursor-pointer col-span-5">
How many team members can I invite?
</label>
<img src="images/icon-arrow-down.svg" class="peer-checked:rotate-180 my-auto justify-self-end" alt="Arrow svg">
<p class="hidden peer-checked:block text-dark-grayish-blue pt-3 pb-2 col-span-6">
You can invite up to 2 additional users on the Free plan. There is no limit on
team members for the Premium plan.
</p>
<span class="border-light-grayish-blue border-t mt-4 col-span-6"></span>
</section>
<section class="w-full py-3 grid grid-cols-6 ">
<input id="faq_2" type="checkbox" class="peer hidden">
<label for="faq_2" class="peer-checked:font-bold hover:text-red-500 cursor-pointer col-span-5">
What is the maximum file upload size?
</label>
<img src="images/icon-arrow-down.svg" class="peer-checked:rotate-180 my-auto justify-self-end" alt="Arrow svg">
<p class="hidden peer-checked:block text-dark-grayish-blue pt-3 pb-2 col-span-6">
No more than 2GB. All files in your account must fit your allotted storage space.
</p>
<span class="border-light-grayish-blue border-t mt-4 col-span-6"></span>
</section>
<section class="w-full py-3 grid grid-cols-6 ">
<input id="faq_3" type="checkbox" class="peer hidden">
<label for="faq_3" class="peer-checked:font-bold hover:text-red-500 cursor-pointer col-span-5">
How do I reset my password?
</label>
<img src="images/icon-arrow-down.svg" class="peer-checked:rotate-180 my-auto justify-self-end" alt="Arrow svg">
<p class="hidden peer-checked:block text-dark-grayish-blue pt-3 pb-2 col-span-6">
Click “Forgot password” from the login page or “Change password” from your profile page.
A reset link will be emailed to you.
</p>
<span class="border-light-grayish-blue border-t mt-4 col-span-6"></span>
</section>
<section class="w-full py-3 grid grid-cols-6 ">
<input id="faq_4" type="checkbox" class="peer hidden">
<label for="faq_4" class="peer-checked:font-bold hover:text-red-500 cursor-pointer col-span-5">
Can I cancel my subscription?
</label>
<img src="images/icon-arrow-down.svg" class="peer-checked:rotate-180 my-auto justify-self-end" alt="Arrow svg">
<p class="hidden peer-checked:block text-dark-grayish-blue pt-3 pb-2 col-span-6">
Yes! Send us a message and we’ll process your request no questions asked.
</p>
<span class="border-light-grayish-blue border-t mt-4 col-span-6"></span>
</section>
<section class="w-full py-3 grid grid-cols-6 ">
<input id="faq_5" type="checkbox" class="peer hidden">
<label for="faq_5" class="peer-checked:font-bold hover:text-red-500 cursor-pointer col-span-5">
Do you provide additional support?
</label>
<img src="images/icon-arrow-down.svg" class="peer-checked:rotate-180 my-auto justify-self-end" alt="Arrow svg">
<p class="hidden peer-checked:block text-dark-grayish-blue pt-3 pb-2 col-span-6">
Chat and email support is available 24/7. Phone lines are open during normal business hours.
</p>
<span class="border-light-grayish-blue border-t mt-4 col-span-6"></span>
</section>
</div>
</div>
<div class="attribution mt-5 text-white">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank" class="text-sky-400 hover:text-sky-600">Frontend Mentor</a>.
Coded by <a href="https://sanderdechering.nl" class="text-sky-400 hover:text-sky-600">Sander Dechering</a>.
</div>
</main>
</body>
</html>