- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
286 lines (248 loc) · 7.36 KB
/
index.html
File metadata and controls
286 lines (248 loc) · 7.36 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>⚡ ProjectPilotAI</title>
<style>
/* ====== GLOBAL ====== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
color: #fff;
overflow-x: hidden;
background: radial-gradient(circle at 20% 30%, #0a1a3f, #020611);
position: relative;
scroll-behavior: smooth;
}
/* ====== ANIMATED BACKGROUND ====== */
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 200%;
height: 200%;
background: linear-gradient(120deg, #001f3f, #4a90ff, #0a0f2a, #001f3f);
background-size: 300% 300%;
z-index: -1;
filter: blur(120px);
animation: moveGradient 20s ease infinite;
}
@keyframes moveGradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* ====== NAVBAR ====== */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 40px;
background: rgba(10, 25, 47, 0.7);
backdrop-filter: blur(10px);
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .logo {
font-size: 1.3rem;
font-weight: bold;
color: #4a90ff;
}
.navbar ul {
list-style: none;
display: flex;
gap: 20px;
}
.navbar ul li a {
color: #ccc;
text-decoration: none;
padding: 8px 14px;
border-radius: 6px;
transition: all 0.3s ease;
}
.navbar ul li a:hover {
background: rgba(74, 144, 255, 0.2);
color: #fff;
}
.navbar ul li a.active {
color: #fff;
background: rgba(74, 144, 255, 0.3);
box-shadow: 0 0 12px rgba(74, 144, 255, 0.6);
animation: shimmer 2s infinite alternate;
}
@keyframes shimmer {
0% { box-shadow: 0 0 12px rgba(74, 144, 255, 0.6); }
100% { box-shadow: 0 0 24px rgba(74, 144, 255, 1); }
}
.toggle {
display: none;
}
/* ====== SECTIONS ====== */
section {
min-height: 100vh;
padding: 120px 40px 60px;
text-align: center;
position: relative;
z-index: 1;
}
h2 {
font-size: 2.2rem;
margin-bottom: 20px;
}
p {
max-width: 800px;
margin: 0 auto;
font-size: 1.1rem;
line-height: 1.6;
}
/* ====== FADE ANIMATION ====== */
.fade-section {
opacity: 0;
transform: translateY(50px);
transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-section.visible {
opacity: 1;
transform: translateY(0);
}
/* ====== VIDEO SECTION ====== */
.video-wrapper {
max-width: 900px;
margin: 40px auto;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 0 30px rgba(74, 144, 255, 0.4);
border: 1px solid rgba(74, 144, 255, 0.2);
transition: box-shadow 1s ease-in-out;
}
.fade-section.visible .video-wrapper {
box-shadow: 0 0 60px rgba(74, 144, 255, 0.8);
}
.video-wrapper video {
width: 100%;
height: auto;
display: block;
}
/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
.navbar ul {
display: none;
flex-direction: column;
background: rgba(10, 25, 47, 0.95);
position: absolute;
top: 60px;
right: 0;
width: 200px;
border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar ul.show {
display: flex;
}
.toggle {
display: block;
cursor: pointer;
font-size: 1.6rem;
color: #4a90ff;
}
}
</style>
</head>
<body>
<!-- ====== NAVBAR ====== -->
<nav class="navbar">
<div class="logo">⚡ ProjectPilotAI</div>
<span class="toggle" onclick="toggleMenu()">☰</span>
<ul id="nav-links">
<li><a href="#features">Features</a></li>
<li><a href="#demo-video">Demo</a></li>
<li><a href="#team">Team</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<!-- ====== SECTIONS ====== -->
<section id="features">
<h2>🚀 ProjectPilotAI Features</h2>
<p>Smart code analysis, automated documentation, real-time project diagnostics, and AI-powered insights — built to supercharge your workflow.</p>
</section>
<section id="demo-video" class="fade-section">
<h2>🎬 ProjectPilotAI Video Showcase</h2>
<div class="video-wrapper">
<video controls autoplay muted loop playsinline>
<source src="https://github.com/user-attachments/assets/29b83d6b-2f1b-4da4-b5a2-2d5eec6c215e" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</section>
<section id="team" class="fade-section">
<h2>👥 Meet the Team</h2>
<p>The creators of ProjectPilotAI — developers, dreamers, and designers combining logic with intuition to build the next generation of developer intelligence.</p>
</section>
<section id="contact" class="fade-section">
<h2>📩 Get in Touch</h2>
<p>Have ideas or collaborations in mind? Reach us at <a href="#" style="color:#4a90ff;">contact@projectpilot.ai</a></p>
</section>
<!-- ====== JAVASCRIPT ====== -->
<script>
// Navbar toggle (mobile)
function toggleMenu() {
document.getElementById('nav-links').classList.toggle('show');
}
// Fade-in reveal on scroll
function revealOnScroll() {
const sections = document.querySelectorAll('.fade-section');
const triggerBottom = window.innerHeight * 0.85;
sections.forEach(section => {
const sectionTop = section.getBoundingClientRect().top;
if (sectionTop < triggerBottom) section.classList.add('visible');
});
}
window.addEventListener('scroll', revealOnScroll);
window.addEventListener('load', revealOnScroll);
// Smooth scroll offset
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
const offsetTop = target.offsetTop - 60;
window.scrollTo({
top: offsetTop,
behavior: 'smooth'
});
}
});
});
// Active navbar highlighting
const sections = document.querySelectorAll('section[id]');
const navLinks = document.querySelectorAll('.navbar ul li a');
function activateNavLink() {
let scrollPos = window.scrollY + 100;
sections.forEach(section => {
const sectionTop = section.offsetTop;
const sectionHeight = section.offsetHeight;
const sectionId = section.getAttribute('id');
if (scrollPos >= sectionTop && scrollPos < sectionTop + sectionHeight) {
navLinks.forEach(link => {
link.classList.remove('active');
if (link.getAttribute('href').includes(sectionId)) {
link.classList.add('active');
}
});
}
});
}
window.addEventListener('scroll', activateNavLink);
window.addEventListener('load', activateNavLink);
</script>
</body>
</html>