-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (145 loc) · 7.39 KB
/
index.html
File metadata and controls
161 lines (145 loc) · 7.39 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TaskIt - Manage your work efficiently</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/landing.css">
<link rel="stylesheet" href="assets/css/glass-navbar.css">
<!-- FontAwesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<!-- Glass Navbar -->
<div class="glass-nav-container" id="glassNavbar">
<div class="glass-nav-inner">
<div class="nav-content">
<!-- Left: Logo -->
<div class="nav-left">
<a href="/" class="nav-logo">
<svg width="24" height="24" viewBox="0 0 392.02 324.6" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path fill="#4F46E5"
d="M268.08,0c-27.4,0-51.41,4.43-72.07,13.26C175.36,4.43,151.35,0,123.95,0H0v324.6h123.95c27.37,0,51.38-4.58,72.07-13.7,20.69,9.12,44.7,13.7,72.07,13.7h123.95V0h-123.95ZM324.09,268.36h-47.91c-20.25,0-37.3-4.05-51.18-12.15-12.28-7.17-21.94-17.41-28.99-30.7h0s0,0,0,0c0,0,0,0,0,0h0c-7.05,13.29-16.71,23.53-28.99,30.7-13.87,8.1-30.93,12.15-51.18,12.15h-47.91V56.24h47.91c19.8,0,36.67,4.01,50.61,12.04,12.51,7.2,22.35,17.47,29.55,30.77h0s0,0,0,0c0,0,0,0,0,0h0c7.2-13.3,17.04-23.57,29.55-30.77,13.95-8.02,30.82-12.04,50.61-12.04h47.91v212.13Z">
</path>
</svg>
<span class="brand-name text-xl tracking-tighter" style="font-weight: normal;">TaskIt</span>
</a>
<!-- Mobile Toggle -->
<button class="hamburger-btn lg:hidden" id="menuToggle" aria-label="Toggle Menu">
<i class="fa-solid fa-bars" id="menuIcon"></i>
</button>
</div>
<!-- Center: Menu (Desktop) -->
<nav class="nav-center">
<ul class="nav-menu-list">
<li class="nav-menu-item"><a href="#" style="font-size: 1.2rem;"><b>Home</b></a></li>
</ul>
</nav>
<!-- Right: Buttons -->
<div class="nav-right-desktop" style="display: flex; gap: 1.5rem; align-items: center;">
<a href="login.html" class="nav-link-login" style="font-weight: 600; color: #1f2937;">
Login
</a>
<a href="register.html" class="btn-primary"
style="padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;">
Sign Up
</a>
</div>
</div>
<!-- Mobile Menu Dropdown -->
<div class="mobile-menu-wrapper" id="mobileMenu">
<ul style="list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem;">
<li><a href="#" class="nav-link">Home</a></li>
</ul>
<div style="margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem;">
<a href="login.html" class="btn btn-secondary" style="text-align: center;">Login</a>
<a href="register.html" class="btn btn-primary" style="text-align: center;">Sign Up</a>
</div>
</div>
</div>
</div>
<!-- SVG Filter for Liquid Glass Effect -->
<svg class="hidden-svg">
<defs>
<filter id="container-glass" x="0%" y="0%" width="100%" height="100%" color-interpolation-filters="sRGB">
<feTurbulence type="fractalNoise" baseFrequency="0.05 0.05" numOctaves="1" seed="1"
result="turbulence" />
<feGaussianBlur in="turbulence" stdDeviation="2" result="blurredNoise" />
<feDisplacementMap in="SourceGraphic" in2="blurredNoise" scale="70" xChannelSelector="R"
yChannelSelector="B" result="displaced" />
<feGaussianBlur in="displaced" stdDeviation="4" result="finalBlur" />
<feComposite in="finalBlur" in2="finalBlur" operator="over" />
</filter>
</defs>
</svg>
<!-- Hero Section -->
<div class="hero-wrapper">
<div class="hero-container">
<div class="hero-content">
<div class="hero-badge" style="display: none;">
<i class="fa-solid fa-star"></i> #1 Task Management Tool
</div>
<h1 class="hero-title">
<span class="font-audiowide">Manage</span> your work <span
class="highlight-text"><i>Efficiently.</i></span>
</h1>
<p class="hero-description">
Plan, track, and organize your tasks in one place. Streamline your workflow
and collaborate seamlessly with <span class="brand-name">TaskIt</span>'s intuitive platform designed
for high performers.
</p>
<div class="cta-group">
<a href="register.html" class="btn-cta-primary">
Start for free <i class="fa-solid fa-arrow-right"></i>
</a>
</div>
</div>
<div class="hero-image-wrapper">
<img src="assets/images/index.png" alt="TaskIt Dashboard Preview" class="hero-main-img static-hero">
</div>
</div>
</div>
<script type="importmap">
{
"imports": {
"firebase/app": "https://www.gstatic.com/firebasejs/10.7.1/firebase-app.js",
"firebase/auth": "https://www.gstatic.com/firebasejs/10.7.1/firebase-auth.js"
}
}
</script>
<script type="module" src="assets/js/auth.js"></script>
<script>
// Glass Navbar Logic
document.addEventListener('DOMContentLoaded', () => {
const navbarContainer = document.getElementById('glassNavbar');
const menuToggle = document.getElementById('menuToggle');
const menuIcon = document.getElementById('menuIcon');
const mobileMenu = document.getElementById('mobileMenu');
let isMenuOpen = false;
// Scroll Effect
window.addEventListener('scroll', () => {
if (window.scrollY > 50) {
navbarContainer.classList.add('scrolled');
} else {
navbarContainer.classList.remove('scrolled');
}
});
// Mobile Menu Toggle
menuToggle.addEventListener('click', () => {
isMenuOpen = !isMenuOpen;
if (isMenuOpen) {
navbarContainer.classList.add('menu-active');
menuIcon.classList.remove('fa-bars');
menuIcon.classList.add('fa-xmark');
} else {
navbarContainer.classList.remove('menu-active');
menuIcon.classList.remove('fa-xmark');
menuIcon.classList.add('fa-bars');
}
});
});
</script>
</body>
</html>