112 lines
5.0 KiB
PHP
112 lines
5.0 KiB
PHP
<?php
|
|
// --- Static user data for demonstration ---
|
|
$userName = "Alex Silva";
|
|
$userLevel = "7 Craque";
|
|
$userConfidenceScore = "4.8/5.0";
|
|
|
|
// --- Project settings (don't hardcode) ---
|
|
$projectName = $_SERVER['PROJECT_NAME'] ?? 'Chute Boleiros';
|
|
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'Sua pelada começa aqui.';
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><?= htmlspecialchars($projectName) ?></title>
|
|
<meta name="description" content="<?= htmlspecialchars($projectDescription) ?>">
|
|
|
|
<!-- Bootstrap 5.3 CDN -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
|
|
<!-- Bootstrap Icons CDN -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
|
|
|
<!-- Custom CSS -->
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div class="mobile-frame">
|
|
<!-- ===== FIXED HEADER ===== -->
|
|
<header class="fixed-header fixed-top p-3">
|
|
<div class="d-flex justify-content-between align-items-center">
|
|
<div>
|
|
<h1 class="logo-text mb-0"><?= htmlspecialchars($projectName) ?></h1>
|
|
<p class="slogan-text mb-0"><?= htmlspecialchars($projectDescription) ?></p>
|
|
</div>
|
|
<div class="icon-group d-flex gap-3">
|
|
<i class="bi bi-bell"></i>
|
|
<i class="bi bi-gear"></i>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- ===== MAIN CONTENT ===== -->
|
|
<main class="container-fluid py-3">
|
|
|
|
<!-- --- Profile Block --- -->
|
|
<section class="profile-block p-3 rounded-3 mb-4">
|
|
<div class="d-flex align-items-center">
|
|
<div class="flex-grow-1">
|
|
<h5 class="mb-1"><?= htmlspecialchars($userName) ?></h5>
|
|
<p class="text-muted mb-1">Nível: <?= htmlspecialchars($userLevel) ?></p>
|
|
<p class="mb-0">
|
|
<i class="bi bi-star-fill star-icon"></i>
|
|
<?= htmlspecialchars($userConfidenceScore) ?> Confiança
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- --- "Próximo Jogo" Card --- -->
|
|
<section class="card-group p-3 rounded-3 mb-4">
|
|
<h4 class="neon-text">PRÓXIMO JOGO</h4>
|
|
<p class="text-muted">Você foi convidado para o jogo do 'Amigos do Gole FC'.</p>
|
|
<button class="btn btn-neon w-100 py-2">GERENCIAR PRESENÇA</button>
|
|
</section>
|
|
|
|
<!-- --- "Jogos Abertos" Feed --- -->
|
|
<section>
|
|
<h4 class="mb-3">Jogos Abertos</h4>
|
|
|
|
<!-- Repeating Group Item (Static Example) -->
|
|
<div class="card-group p-3 rounded-3">
|
|
<div class="d-flex justify-content-between align-items-center mb-2">
|
|
<h6 class="mb-0">Só de Leve FC</h6>
|
|
<div>
|
|
<i class="bi bi-star-fill star-icon"></i>
|
|
<i class="bi bi-star-fill star-icon"></i>
|
|
<i class="bi bi-star-fill star-icon"></i>
|
|
<i class="bi bi-star-fill star-icon"></i>
|
|
<i class="bi bi-star-half star-icon"></i>
|
|
</div>
|
|
</div>
|
|
<p class="text-muted small">Local: Arena Central</p>
|
|
<div class="alert alert-warning text-center p-2">
|
|
<strong>Vaga Urgente: Goleiro!</strong>
|
|
</div>
|
|
</div>
|
|
<!-- End RG Item -->
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
<!-- ===== FIXED FOOTER ===== -->
|
|
<footer class="fixed-footer fixed-bottom">
|
|
<nav class="d-flex justify-content-around align-items-center p-2">
|
|
<a href="#" class="text-white"><i class="bi bi-house-door-fill fs-3"></i></a>
|
|
<a href="#" class="text-white"><i class="bi bi-search fs-3"></i></a>
|
|
<a href="#" class="text-white"><i class="bi bi-plus-circle-fill fs-1 text-neon"></i></a> <!-- Floating Action Button style -->
|
|
<a href="#" class="text-white"><i class="bi bi-calendar-event fs-3"></i></a>
|
|
<a href="#" class="text-white"><i class="bi bi-person-fill fs-3"></i></a>
|
|
</nav>
|
|
</footer>
|
|
</div>
|
|
|
|
<!-- Bootstrap JS Bundle -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
|
</body>
|
|
</html>
|