-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (148 loc) · 6.7 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Intro section with dropdown navigation</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css" />
<style>
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
</head>
<body>
<header>
<nav class="container-fluid navbar navbar-expand-lg navbar-light bg-white">
<div class="container-fluid">
<a href="#" class="navbar-brand fw-bold ms-xl-3 ms-lg-3 ms-2">snap</a>
<button class="navbar-toggler border-0 outline-0 navbar_toggler_button" data-bs-toggle="offcanvas"
data-bs-target="#myNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div id="myNavbar" class="offcanvas offcanvas-end w-75">
<div class="container">
<div class="offcanvas-header">
<button class="btn-close border-0 outline-0 ms-auto fs-3 offcanvas_close_btn"
data-bs-dismiss="offcanvas"></button>
</div>
<div class="offcanvas-body justify-content-between align-items-center">
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Features</a>
<div class="dropdown-menu border-0">
<a href="#" class="dropdown-item text-secondary">
<img src="./images/icon-todo.svg" class="me-2" alt="to do list icon" />
Todo List
</a>
<a href="#" class="dropdown-item text-secondary">
<img src="./images/icon-calendar.svg" class="me-2" />
Calendar
</a>
<a href="#" class="dropdown-item text-secondary">
<img src="./images/icon-reminders.svg" class="me-2" />
Reminders
</a>
<a href="#" class="dropdown-item text-secondary">
<img src="./images/icon-planning.svg" class="me-2" />
Planning
</a>
</div>
</li>
<li class="nav-item dropdown mx-xl-3 mx-lg-3 mx-0">
<a href="#" class="nav-link dropdown-toggle text-secondary" data-bs-toggle="dropdown">Company</a>
<div class="dropdown-menu border-0">
<a href="#" class="dropdown-item text-secondary">History</a>
<a href="#" class="dropdown-item text-secondary">Our Team</a>
<a href="#" class="dropdown-item text-secondary">Blog</a>
</div>
</li>
<li class="nav-item">
<a href="#" class="nav-link text-secondary"> Careers </a>
</li>
<li class="nav-item ms-xl-3 ms-lg-3 ms-0">
<a href="#" class="nav-link text-secondary"> About </a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item mx-xl-0 mx-lg-0 mx-auto mb-xl-0 mb-lg-0 mb-2">
<a href="#" class="nav-link"> Login </a>
</li>
<li class="nav-item ms-xl-3 ms-lg-3 ms-0">
<a href="#" class="nav-link btn px-xl-3 px-md-3 btn-outline-dark">
Register
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
</header>
<main class="p-xl-5 p-lg-4">
<div class="mt-2 p-xl-5 p-lg-4">
<div class="row flex-row-reverse g-0">
<div class="col-xl-6 col-lg-6 col-12">
<img class="img-fluid d-xl-none d-lg-none d-block mx-md-auto" src="./images/image-hero-mobile.png"
alt="hero image mobile" />
<img class="img-fluid d-xl-block d-lg-block d-none w-75 mx-auto" src="./images/image-hero-desktop.png"
alt="hero image desktop" />
</div>
<div class="col-xl-6 col-lg-6 col-12 d-flex mt-xl-0 mt-lg-0 mt-4">
<div
class="d-flex flex-column justify-content-xl-between justify-content-lg-between justify-content-md-center mx-auto">
<div
class="container d-flex flex-column justify-content-center h-100 text-xl-start text-lg-start text-center pt-0">
<h1 class="fw-bold header mb-4">
Make<br class="d-xl-block d-lg-block d-none" />
remote work
</h1>
<p class="text-secondary fw-bold mb-4">
Get your team in sync, no matter your location.<br class="d-xl-block d-lg-block d-none" />
Streamline processes, create team rituals,<br class="d-xl-block d-lg-block d-none" />
and watch productivity soar.
</p>
<div class="mt-xl-4 mt-lg-4 mb-4">
<button class="btn btn-dark px-4 py-2" style="border-radius: 9px">
Learn more
</button>
</div>
</div>
<div class="container mt-4 mb-xl-0 mb-lg-0 mb-3">
<div class="row">
<div class="col-3">
<img class="img-fluid" src="./images/client-audiophile.svg" alt="audiophile" />
</div>
<div class="col-3">
<img class="img-fluid" src="./images/client-databiz.svg" alt="databiz" />
</div>
<div class="col-3">
<img class="img-fluid" src="./images/client-maker.svg" alt="maker" />
</div>
<div class="col-3">
<img class="img-fluid" src="./images/client-meet.svg" alt="meet" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://www.frontendmentor.io/profile/yellowflash2041">yellowflash2041</a>.
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous"></script>
</body>
</html>