Dashboard Temp Share Shortlinks Frames API

HTMLify

index.html
Views: 62 | Author: karbonsites
 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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Health Monitor - Dashboard</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">
</head>
<body>
    <header class="header">
        <div class="container header-content">
            <h1 class="logo">HealthPulse</h1>
            <nav>
                <a href="index.html" class="nav-link active">Dashboard</a>
                <a href="profile.html" class="nav-link">Profile</a>
                <a href="tips.html" class="nav-link">Tips & Products</a>
                <a href="admin.html" class="nav-link admin-link">Admin</a>
            </nav>
        </div>
    </header>

    <main class="container main-content">
        <section id="dashboard" class="card fade-in">
            <h2 class="section-title">Daily Check-in & Overview</h2>
            
            <div class="daily-checkin">
                <h3>How are you feeling today?</h3>
                <div class="mood-selector">
                    <button class="mood-btn" data-mood="energetic">Energetic</button>
                    <button class="mood-btn" data-mood="neutral">Neutral</button>
                    <button class="mood-btn" data-mood="tired">Tired</button>
                    <button class="mood-btn" data-mood="stressed">Stressed</button>
                </div>
                <textarea id="dailyNotes" placeholder="Any specific notes about your day? (Optional)"></textarea>
                <button id="submitCheckin" class="cta-button">Log My Day</button>
                <p id="checkinMessage" class="message"></p>
            </div>

            <div class="health-summary">
                <h3>Your Health Snapshot</h3>
                <div class="summary-grid">
                    <div class="summary-item bg-blue-light">
                        <h4>Weekly Compliance</h4>
                        <p class="stat" id="complianceRate">85%</p>
                    </div>
                    <div class="summary-item bg-green-light">
                        <h4>Last Mood Log</h4>
                        <p class="stat" id="lastMood">Energetic</p>
                    </div>
                    <div class="summary-item bg-yellow-light">
                        <h4>Next Tip Due</h4>
                        <p class="stat" id="nextTip">2 hours</p>
                    </div>
                </div>
            </div>
        </section>

        <section id="recommendations" class="card fade-in-delay">
            <h2 class="section-title">Latest Recommendations</h2>
            <div id="recList" class="recommendation-list">
                <!-- Recommendation items will be injected here -->
            </div>
        </section>
    </main>

    <footer class="footer">
        <p>&copy; 2024 HealthPulse. Designed for Mobile First.</p>
    </footer>

    <script src="script.js"></script>

  <a href="https://karbonsites.space/home" target="_blank" id="karbon-promo-banner">
      <span></span>
      <div>Built with <b>Karbon Sites</b></div>
  </a>
</body>
</html>