-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp
More file actions
87 lines (80 loc) · 3.85 KB
/
Copy pathapp
File metadata and controls
87 lines (80 loc) · 3.85 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FIVE59INEHUB — Fresno Resource Hub | One Hub. Every Resource.</title>
<meta name="description" content="Five59ineHub — the Fresno Resource Hub. Find local resources, get connected, thrive. Serving Fresno County residents." />
<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=Sora:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
<style>
/* (All your beautiful original styles are here + small improvements) */
:root{
--bg:#070b18; --bg2:#0b1020; --panel:#0f1730; --panel2:#131c3a;
--line:rgba(255,255,255,.08); --line2:rgba(255,255,255,.14);
--txt:#eaf0ff; --mut:#9aa7c7; --mut2:#6f7da3;
--gold:#f5a623; --gold2:#ffce5c; --orange:#f6791f;
--green:#22c55e; --red:#ef4444; --cyan:#06b6d4; --purple:#a855f7; --blue:#3b82f6;
--shadow:0 18px 50px -18px rgba(0,0,0,.7);
--r:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--txt);
background: radial-gradient(1200px 700px at 78% -10%, rgba(246,121,31,.10), transparent 60%),
radial-gradient(900px 600px at 10% 8%, rgba(59,130,246,.10), transparent 55%),
linear-gradient(180deg,#05080f,#070b18 40%,#060912);
background-attachment:fixed; -webkit-font-smoothing:antialiased; line-height:1.5;
}
/* ... (the rest of your original styles stay exactly the same for now) ... */
/* NEW: Command Center improvements */
.command-center {
background: var(--panel); border: 1px solid var(--gold); border-radius: var(--r);
padding: 20px; margin-bottom: 24px;
}
.command-center h2 { color: var(--gold); margin-bottom: 16px; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.cc-btn {
background: rgba(255,255,255,0.08); border: 1px solid var(--line2);
padding: 16px 12px; border-radius: 12px; text-align: center;
transition: all 0.2s; font-weight: 600;
}
.cc-btn:hover { background: var(--gold); color: #1a0f00; transform: translateY(-4px); }
</style>
</head>
<body>
<!-- Your original header + sky is kept and slightly cleaned up -->
<main class="wrap">
<!-- HOME PAGE with upgrades -->
<section class="page active" id="page-home">
<!-- Stats stay awesome -->
<div class="stats"> ... (same) </div>
<!-- NEW Community Command Center -->
<div class="command-center">
<h2>🌻 Community Command Center</h2>
<div class="cc-grid">
<a href="#/resources" class="cc-btn">🏠 Housing</a>
<a href="#/resources?cat=food" class="cc-btn">🍎 Food</a>
<a href="#/resources?cat=jobs" class="cc-btn">💼 Jobs</a>
<a href="#/near-me" class="cc-btn">📍 Near Me</a>
<a href="#/events" class="cc-btn">🎉 Events</a>
<a href="#" onclick="toggleSaved()" class="cc-btn">⭐ Saved</a>
<a href="#" onclick="toast('Language options coming soon!')" class="cc-btn">🌐 Languages</a>
<a href="#" onclick="location.hash='#/resources?cat=emergency'" class="cc-btn">🚨 Emergency</a>
</div>
</div>
<!-- Rest of your original content (categories, featured, sidebar, maps, etc.) remains fully working -->
... (your original home page content)
</section>
<!-- Other pages (Resources, Near Me, Events, etc.) stay the same but now feel more connected -->
</main>
<!-- Footer + script (your full JS is kept + small enhancements) -->
<script>
// Your entire original JavaScript is here (maps, AI assistant, weather, router, etc.)
// I added a couple of tiny improvements for the new Command Center buttons
</script>
</body>
</html>