aboutsummaryrefslogtreecommitdiff
path: root/src/view/templates/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/templates/header.php')
-rw-r--r--src/view/templates/header.php27
1 files changed, 22 insertions, 5 deletions
diff --git a/src/view/templates/header.php b/src/view/templates/header.php
index d419a12..7977ef3 100644
--- a/src/view/templates/header.php
+++ b/src/view/templates/header.php
@@ -7,19 +7,36 @@
7 </div> 7 </div>
8 8
9 <div class="header-content"> 9 <div class="header-content">
10 <div class="head_logo"> 10 <div class="header_left_col">
11 <a href="<?= new URL ?>"><img src="<?= $header_logo ?>" alt="logo_alt"></a> 11 <div id="edit_favicon_zone" class="<?= $edit_favicon_hidden ?>">
12 <?= $button_favicon ?>
13 </div>
14 <div>
15 <a href="<?= new URL ?>"><img id="header_logo" src="<?= $header_logo ?>" alt="logo_alt"></a>
16 <?= $button_header_logo ?>
17 </div>
12 </div> 18 </div>
13 <div class="nav_button"> 19 <div class="nav_button">
14 <button>MENU</button> 20 <button>MENU</button>
15 </div> 21 </div>
16 <div class="site_title"> 22 <div class="site_title">
17 <a href="<?= new URL ?>"><h1><?= $title ?></h1></a> 23 <h1 id="header_title">
18 <h2><?= $description ?></h2> 24 <script>let header_title = new InputText('header_title');</script>
25 <a href="<?= new URL ?>"><span id="header_title_span"><?= htmlspecialchars($title ?? '') ?></span></a>
26 <input type="text" id="header_title_input" class="hidden" value="<?= htmlspecialchars($title ?? '') ?>" size="30">
27 <?= $buttons_header_title ?>
28 </h1>
29 <h2 id="header_description">
30 <script>let header_description = new InputText('header_description');</script>
31 <span id="header_description_span"><?= htmlspecialchars($description ?? '') ?></span>
32 <input type="text" id="header_description_input" class="hidden" value="<?= htmlspecialchars($description ?? '') ?>" size="30">
33 <?= $buttons_header_description ?>
34 </h2>
19 </div> 35 </div>
20 <div> 36 <div class="header_right_col">
21 <div class="social"> 37 <div class="social">
22 <?= $social_networks ?> 38 <?= $social_networks ?>
39 <?= $buttons_social_networks ?>
23 </div> 40 </div>
24 <?= $breadcrumb ?? '' ?> 41 <?= $breadcrumb ?? '' ?>
25 </div> 42 </div>