шаг 1 сделан
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/** @var string $templatePath */
|
||||
/** @var string $title */
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><?= htmlspecialchars($title ?? 'Рыбсток', ENT_QUOTES, 'UTF-8') ?></title>
|
||||
<link rel="stylesheet" href="/assets/css/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="page">
|
||||
<?php require $templatePath; ?>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/** @var string $dbStatus */
|
||||
?>
|
||||
<section class="start-screen">
|
||||
<p class="eyebrow">Старт проекта</p>
|
||||
<h1>Рыбсток</h1>
|
||||
<p>Чистый PHP-проект подготовлен. Следующий шаг - схема базы данных и таблицы для каталога, фасовок, заказов и админки.</p>
|
||||
|
||||
<div class="status-box">
|
||||
<span>MariaDB:</span>
|
||||
<strong><?= htmlspecialchars($dbStatus, ENT_QUOTES, 'UTF-8') ?></strong>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user