-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
143 lines (130 loc) · 4.32 KB
/
Copy pathindex.html
File metadata and controls
143 lines (130 loc) · 4.32 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1,
maximum-scale=5"
/>
<link rel="icon" href="assests/image/devchallenges.png" />
<link rel="stylesheet" href="assests/css/style.css" />
<link
rel="shortcut icon"
type="image/x-icon"
href="https://devchallenges.io/"
/>
<title>Devchallenges</title>
<script src="tailwind.config.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,700,0,0"
/>
<script>
tailwind.config = {
theme: {
extend: {
screens: {
smx: { max: "768px" },
},
},
},
};
</script>
</head>
<body
class="h-screen px-3 flex flex-col lg:justify-between max-w-screen-2xl mx-auto lg:px-20"
>
<header class="mt-4">
<div class="flex justify-between">
<div class="border-2 border-white p-2">
<h1 class="uppercase font-extralight text-sm select-none">
<a href="#" target="_blank" rel="noopener noreferrer"
>This Interior</a
>
</h1>
</div>
<nav
class="md:flex md:items-center smx:fixed smx:w-full smx:h-full smx:bg-[#181719] z-10 left-full duration-500"
id="nav-menu"
>
<ul
class="smx:absolute md:flex md:gap-20 text-lg flex justify-center smx:flex-col items-center gap-8 smx:top-2/4 smx:left-2/4 smx:-translate-x-2/4 smx:-translate-y-2/4"
>
<li>
<a href="#" class="active">Home</a>
</li>
<li><a href="#">Collection</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
<span
class="material-symbols-outlined hidden smx:block absolute right-5 top-1 cursor-pointer md-38 select-none"
id="nav-close"
>
close
</span>
</nav>
<span
class="material-symbols-outlined md-38 md:hidden cursor-pointer select-none"
id="nav-toggle"
>
menu
</span>
</div>
</header>
<main>
<section class="lg:flex md:justify-between md:items-center">
<article class="my-9">
<h2 class="text-4xl font-medium lg:text-5xl">Modern interior</h2>
<p class="text-sm font-normal my-6 lg:text-2xl lg:my-12">
A full-Service residential & <br />
commercial interior design and<br />
staging company offering<br />
professional organizing &<br />
eco-services.
</p>
<button class="inline-flex gap-3 items-center m-0">
<p class="font-bold text-sm md:text-lgwww">Read more</p>
<span class="material-symbols-outlined"> trending_flat </span>
</button>
</article>
<div class="relative">
<img
src="assests/image/photo1.png"
alt="interior design"
class="w-auto md:max-w-3xl"
/>
<div
class="user-card absolute bg-[#181719] -translate-y-1/3 right-6 px-5 pb-6 pr-24 lg:-translate-y-1/2"
>
<div class="flex py-3 gap-4">
<img
src="assests/image/photo2.png"
alt="user profile"
class="w-9 rounded-full h-9 lg:w-14 lg:h-14"
/>
<div class="flex flex-col justify-center">
<h4 class="text-xs md:text-sm">Aliza Webber</h4>
<span class="text-xs text-gray-500 md:text-sm"
>Interior designer</span
>
</div>
</div>
<h3 class="text-lg font-bold lora md:text-2xl">
Designed in 2020 by
</h3>
<h4 class="text-lg font-bold lora md:text-2xl">Aliza Webber</h4>
</div>
</div>
</section>
</main>
<footer
class="absolute bottom-0 left-2/4 -translate-x-2/4 text-center lg:relative text-[#A9A9A9] font-bold"
>
created by Cecemaru - devChallenges.io
</footer>
<script src="assests/js/app.js"></script>
</body>
</html>