-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (48 loc) · 2.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Usman Malik : Backend developer</title>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>
<link href="https://unpkg.com/tailwindcss@^2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<nav class="bg-white shadow-lg">
<div x-data="{ isOpen: false }" class="container mx-auto px-4">
<div class="flex justify-between items-center py-4">
<div>
<a href="#" class="text-xl font-bold text-gray-800">Usman Malik</a>
</div>
<div class="lg:hidden">
<button @click="isOpen = !isOpen" type="button" class="block text-gray-700 hover:text-gray-900 focus:text-gray-900 focus:outline-none">
<svg class="h-6 w-6 fill-current" viewBox="0 0 24 24">
<path d="M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" />
</svg>
</button>
</div>
<div class="absolute top-16 inset-x-0 bg-white z-10 lg:static lg:flex lg:justify-end lg:items-center lg:bg-transparent" :class="{ 'block': isOpen, 'hidden': !isOpen }">
<ul class="text-gray-700 lg:flex lg:items-center">
<li class="block ml-5 lg:inline-block lg:mt-0 lg:ml-6"><a href="#about" class="hover:text-gray-900">Home</a></li>
<li class="block ml-5 lg:inline-block lg:mt-0 lg:ml-6"><a href="#about" class="hover:text-gray-900">Resume</a></li>
<li class="block ml-5 lg:inline-block lg:mt-0 lg:ml-6"><a href="#photography" class="hover:text-gray-900">Photography</a></li>
<li class="block ml-5 lg:inline-block lg:mt-0 lg:ml-6"><a href="#contact" class="hover:text-gray-900">Contact</a></li>
</ul>
</div>
</div>
</div>
</nav>
<section class="relative h-screen w-full">
<div class="bg-cover bg-center bg-opacity-50 absolute inset-0 z-0 hidden lg:block" style="background-image:url('images/large.jpg')"></div>
<div class="bg-cover bg-center bg-opacity-50 absolute inset-0 z-0 block lg:hidden" style="background-image:url('images/small.jpg')"></div>
<div class="absolute inset-0 bg-gray-900 opacity-50 z-0"></div>
<div class="flex items-center justify-center h-full">
<div class="container mx-auto px-4 text-center z-10">
<h1 class="text-4xl font-bold text-white mt-0">I am Usman Ahmed Malik</h1>
<p class="text-lg mt-2 text-white">I'm a Back End Developer based in Amsterdam, The Netherlands.</p>
<p class="text-sm mt-2 text-white">Occasionally I also like going some photography.</p>
</div>
</div>
</section>
</body>
</html>