-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
181 lines (167 loc) · 8.46 KB
/
Copy pathindex.html
File metadata and controls
181 lines (167 loc) · 8.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>agapay</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
<link rel="icon" type="image/png" href="pingu.png">
</head>
<body>
<nav class="navbar">
<div class="logo"><a href="#">agapay</a></div>
<ul class="nav-links">
<li><a href="app.html">Chat</a></li>
<li><a href="about.html">About</a></li>
</ul>
<div id="auth-section">
<button class="btn btn-primary" onclick="handleSignInClick()">Sign
In</button>
</div>
<button class="nav-toggle" onclick="toggleMobileMenu()">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<line x1="4" y1="12" x2="20" y2="12"></line>
<line x1="4" y1="6" x2="20" y2="6"></line>
<line x1="4" y1="18" x2="20" y2="18"></line>
</svg>
</button>
</nav>
<main>
<div class="banner">
<div class="banner-content">
<h1>agapay</h1>
<p>
Find cheap health and emergency services in your area.
<br>
Enter your ZIP code to begin:
</p>
<div class="search-container">
<form class="search-form" onsubmit="handleSearch(event)">
<!-- <div class="input-group">
<label for="keyword">What are you looking for today?</label>
<input type="text" id="keyword" placeholder="Enter a need or keyword...">
</div>
<div class="divider"></div> -->
<div class="input-group">
<!-- <label for="location">Where?</label> -->
<input type="text" id="location" placeholder="ZIP code" pattern="\d{5}" maxlength="5"
title="Please enter a valid 5-digit ZIP code"
oninput="this.value = this.value.replace(/[^0-9]/g, '').slice(0, 5)">
</div>
<button type="submit" class="btn btn-search" aria-label="Search">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</button>
</form>
</div>
</div>
</div>
<section class="info-section">
<div class="info-container">
<div class="info-card">
<div class="info-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M22 12h-4l-3 9L9 3l-3 9H2" />
</svg>
</div>
<h3>Fast Assistance</h3>
<p>Quickly locate the nearest health facilities and emergency services.</p>
</div>
<div class="info-card">
<div class="info-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10" />
<path d="M12 8v4" />
<path d="M12 16h.01" />
</svg>
</div>
<h3>Reliable Info</h3>
<p>Information sourced from verified endpoints to ensure your safety.</p>
</div>
<div class="info-card">
<div class="info-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" />
</svg>
</div>
<h3>Affordable Care</h3>
<p>Find options that suit your budget without compromising on quality.</p>
</div>
</div>
</section>
<!-- Login Popup Modal -->
<div id="login-modal" class="modal" style="display: none;">
<div class="modal-content">
<span class="close-btn" onclick="closeModal()">×</span>
<h2>Sign In</h2>
<p>Create or log into an account to securely access local services.</p>
<!-- Step Indicators -->
<div class="step-indicators">
<div class="step-indicator active" id="step1-indicator">
<span class="step-number">1</span>
<span class="step-label">Email & Password</span>
</div>
<div class="step-indicator" id="step2-indicator">
<span class="step-number">2</span>
<span class="step-label">Full Name</span>
</div>
</div>
<!-- Step 1: Email and Password -->
<form class="login-form" id="step1-form" onsubmit="event.preventDefault(); handleStep1();">
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" placeholder="you@example.com" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" placeholder="••••••••" required>
</div>
<div class="turnstile-container">
<div class="cf-turnstile" data-sitekey="0x4AAAAAACnnZimyKFulhPjw"></div>
</div>
<button type="submit" class="btn btn-primary"
style="width: 100%; margin-top: 0.5rem;">Continue</button>
</form>
<!-- Step 2: Full Name (only shown if step 1 fails) -->
<form class="login-form" id="step2-form" style="display: none;"
onsubmit="event.preventDefault(); handleStep2();">
<div class="form-group">
<label for="full-name">Full Name</label>
<input type="text" id="full-name" placeholder="John Doe" required>
</div>
<div class="turnstile-container">
<div class="cf-turnstile" data-sitekey="0x4AAAAAACnnZimyKFulhPjw"></div>
</div>
<button type="submit" class="btn btn-primary" style="width: 100%; margin-top: 0.5rem;">Create
Account</button>
<button type="button" class="btn btn-secondary" style="width: 100%; margin-top: 0.5rem;"
onclick="goBackToStep1();">Back</button>
</form>
</div>
</div>
</main>
<footer class="footer">
<div class="footer-content">
<div class="footer-logo">pinguverse</div>
<div class="footer-links">
<a href="#">Privacy Policy</a>
<a href="#">Terms of Service</a>
<a href="#">Contact Us</a>
</div>
<p class="copyright">© 2026 Pinguverse. All rights reserved.</p>
</div>
</footer>
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<script src="index.js"></script>
</body>
</html>