blob: a9e8c7cdb35e359a0780f9146b265f92631a5817 (
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
39
40
41
42
43
44
45
46
47
48
|
<nav id="navbar">
<section>
<column-left>
<button-repo>
<button-anchor>
<a title="Go to Website Repository" href="/git/">
<?php echo icon('git-commit'); ?>
<span>Repo</span>
</a>
</button-anchor>
</button-repo>
<?php require views('components', 'theme.toggle'); ?>
</column-left>
<column-middle>
<?php
$route = '/'; $label = 'Home'; $icon = 'home'; require views('components', 'navigator.link');
$route = '/posts/'; $label = 'Posts'; $icon = 'feather'; require views('components', 'navigator.link');
$route = '/projects/'; $label = 'Projects'; $icon = 'package'; require views('components', 'navigator.link');
$route = '/about/'; $label = 'Profile'; $icon = 'file-text'; require views('components', 'navigator.link');
$route = '/contact/'; $label = 'Contact'; $icon = 'mail'; require views('components', 'navigator.link');
?>
<?php
$links = true;
$id = 'navigation';
$icon = icon('arrow-down-circle');
$label = <<<insert
$icon
<span>More</span>
insert;
require views('components', 'context.menu');
?>
</column-middle>
<column-right>
<button-anchor>
<a title="Coffee" href ="https://ko-fi.com/thedroneely">
<?php echo icon('coffee'); ?>
<span>Coffee</span>
</a>
</button-anchor>
</column-right>
</section>
</nav>
|