blob: 75e1746d14b87a343f8af1e67cb1816528b47170 (
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
|
<context-menu-container>
<more-button>
<input hidden type="checkbox" id="context-menu-<?php echo $id ?? null ?>"/>
<label for="context-menu-<?php echo $id ?? 'none' ?>"><?php echo $label ?? null ?></label>
<context-menu list right>
<context-menu-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 = '/abstracts/'; $label = 'Abstracts'; 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');
include views('components', 'theme.toggle');
}
?>
</context-menu-content>
</context-menu>
</more-button>
</context-menu-container>
<?php $id = $label = $content = $links = null; ?>
|