32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>Gym Bro 😈 (демо)</title>
|
|
<link rel="stylesheet" href="styles/main.css">
|
|
<link rel="stylesheet" href="styles/components.css">
|
|
<link rel="stylesheet" href="styles/workout.css">
|
|
<link rel="stylesheet" href="styles/modal.css">
|
|
<link rel="stylesheet" href="styles/settings.css">
|
|
</head>
|
|
<body>
|
|
<header id="app-header"></header>
|
|
<main id="app" class="container"></main>
|
|
<div id="modal-container"></div>
|
|
<script>
|
|
// Локальный тест: API указывает на локальный бэкенд (иначе относительный /api упрётся в статику)
|
|
localStorage.setItem('gym_api_base', 'http://127.0.0.1:8000');
|
|
</script>
|
|
<script src="demo-seed.js"></script>
|
|
<script>
|
|
// Демо-датасет v4 (прогрессия жима, пиратка штанги, суперсет, дропсет): пересев при смене версии
|
|
if (localStorage.getItem('gym_demo_seed') !== 'v4') {
|
|
localStorage.setItem('gym_tracker_v7_guest', JSON.stringify(window.GYM_DEMO_SEED));
|
|
localStorage.setItem('gym_demo_seed', 'v4');
|
|
}
|
|
</script>
|
|
<script type="module" src="js/app.js"></script>
|
|
</body>
|
|
</html>
|