100 lines
5.2 KiB
PHP
100 lines
5.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Medipet</title>
|
|
<meta name="description" content="A gamified medication reminder app to make tracking meds fun and easy.">
|
|
<meta name="keywords" content="medication reminder, gamification, health tracker, virtual pet, pill reminder, adherence, medicine schedule, kids medication, elder care, Built with Flatlogic Generator">
|
|
|
|
<meta property="og:title" content="Medipet">
|
|
<meta property="og:description" content="A gamified medication reminder app to make tracking meds fun and easy.">
|
|
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? '', ENT_QUOTES, 'UTF-8'); ?>">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? '', ENT_QUOTES, 'UTF-8'); ?>">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<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=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body>
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="#">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="#20c997" class="d-inline-block align-text-top me-2" viewBox="0 0 16 16">
|
|
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M2 3v1h12V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1m12 2H2v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1z"/>
|
|
<path d="M8 7a.5.5 0 0 1 .5.5V9H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V10H6a.5.5 0 0 1 0-1h1.5V7.5A.5.5 0 0 1 8 7"/>
|
|
</svg>
|
|
Medipet
|
|
</a>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="container py-5">
|
|
<div class="row g-4">
|
|
|
|
<!-- Virtual Pet -->
|
|
<div class="col-lg-5 col-md-6">
|
|
<div class="card h-100">
|
|
<div class="card-body d-flex flex-column justify-content-center align-items-center">
|
|
<h5 class="card-title text-center mb-3">Your Pet: Buddy</h5>
|
|
<div class="pet-container">
|
|
<!-- Simple SVG Dog -->
|
|
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
<g fill="#fd7e14">
|
|
<circle cx="50" cy="70" r="25"/>
|
|
<circle cx="35" cy="45" r="15"/>
|
|
<circle cx="65" cy="45" r="15"/>
|
|
<path d="M 20 55 C 15 65, 15 75, 25 80" fill="none" stroke="#fd7e14" stroke-width="5"/>
|
|
</g>
|
|
<g fill="#343a40">
|
|
<circle cx="42" cy="70" r="3"/>
|
|
<circle cx="58" cy="70" r="3"/>
|
|
<path d="M 45 80 Q 50 85, 55 80" fill="none" stroke="#343a40" stroke-width="2"/>
|
|
</g>
|
|
</svg>
|
|
</div>
|
|
<p class="text-muted text-center mt-3">Buddy is healthy and happy!</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Streak & Meds -->
|
|
<div class="col-lg-7 col-md-6">
|
|
<div class="row g-4">
|
|
<!-- My Streak -->
|
|
<div class="col-12">
|
|
<div class="card">
|
|
<div class="card-body text-center">
|
|
<h5 class="card-title">Current Streak</h5>
|
|
<div class="streak-container">
|
|
<h1>0 <span class="fs-4 text-muted">days</span></h1>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- My Medications -->
|
|
<div class="col-12">
|
|
<div class="card">
|
|
<div class="card-body text-center">
|
|
<h5 class="card-title">My Medications</h5>
|
|
<p class="text-muted">You haven't added any medications yet.</p>
|
|
<a href="add-medication.php" class="btn btn-primary">Add First Medication</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</main>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html> |