blob: 59f66102a28d96a53c6eb50e10f8db42fbcbe807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<div class="dropdown <?php echo $type ?? null ?>">
<input
class="is-hidden dropdown-input"
type="checkbox"
id="dropdown-menu__<?php echo $id ?? null ?>"
/>
<label class="dropdown-label" for="dropdown-menu__<?php echo $id ?? 'none' ?>">
<?php echo $label ?? null ?>
</label>
<div class="dropdown-menu">
<div class="dropdown-content">
<?php
echo $content ?? null;
if ($links ?? null === true) {
$route = '/'; $label = 'Home'; include views('components', 'navigator.link.dropdown');
$route = '/posts/'; $label = 'Posts'; include views('components', 'navigator.link.dropdown');
$route = '/projects/'; $label = 'Projects'; include views('components', 'navigator.link.dropdown');
$route = '/about/'; $label = 'Profile'; include views('components', 'navigator.link.dropdown');
$route = '/contact/'; $label = 'Contact'; include views('components', 'navigator.link.dropdown');
$route = '/git/'; $label = 'Repository'; include views('components', 'navigator.link.dropdown');
$route = 'https://ko-fi.com/thedroneely'; $label = 'Coffee'; include views('components', 'navigator.link.dropdown');
$formClass = 'theme-toggle';
$iconClass = 'is-hidden';
$buttonClass ='navbar-item button theme-toggle-button is-text has-text-left';
include views('components', 'theme.toggle');
}
?>
</div>
</div>
</div>
<?php $type = $id = $label = $content = $links = null; ?>
|