aboutsummaryrefslogtreecommitdiff
path: root/_site/includes/modules/desktop.php
diff options
context:
space:
mode:
Diffstat (limited to '_site/includes/modules/desktop.php')
-rw-r--r--_site/includes/modules/desktop.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/_site/includes/modules/desktop.php b/_site/includes/modules/desktop.php
new file mode 100644
index 0000000..9f93735
--- /dev/null
+++ b/_site/includes/modules/desktop.php
@@ -0,0 +1,40 @@
+<nav class="navbar navbar-expand-sm bg-dark navbar-dark" id="navbar-primary">
+ <div class="container">
+ <a class="navbar-brand" id="easteregg" href="/">♥ (Un)<?= $egg ?>Tech</a>
+
+ <ul class="navbar-nav" style="float:right;">
+ <li class="nav-item">
+ <a class="nav-link" href="/articles">Articles</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="/latest">Latest</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="/random">Random</a>
+ </li>
+ <?php if ($admin): ?>
+ <li class="nav-item">
+ <a class="nav-link nav-admin" href="/admin">Administration</a>
+ </li>
+ <?php endif; ?>
+
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="#" id="apps_outer" data-toggle="dropdown">
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" class="glyph_f10"><path d="M1 19h4v-4H1zm7 0h4v-4H8zm7 0h4v-4h-4zM1 12h4V8H1zm7 0h4V8H8zm7 0h4V8h-4zM1 5h4V1H1zm7 0h4V1H8zm7-4v4h4V1z" id="apps_path"></path></svg>
+ </a>
+ <div class="dropdown-menu" id="apps" style="position:fixed;top:48px;left:0;right:0;pointer-events: none;">
+ <div class="dropdown-menu-outer container" style="pointer-events: none;">
+ <div class="dropdown-menu-inner" style="pointer-events: fill;max-width:max-content;margin-left:auto;">
+ <a href="https://github.com/Minteck" class="dropdown-item"><img alt="" src="/apps/github.png" class="app-icon"> <span class="app-title">GitHub</span></a>
+ <a href="https://kartik.hopto.org/online" class="dropdown-item"><img alt="" src="/apps/kartik.png" class="app-icon"> <span class="app-title">Kartik Online</span></a>
+ <a href="https://minteck.ro.lt" class="dropdown-item"><span class="app-title"><img alt="" src="/apps/minteck.svg" class="app-icon"> Minteck's Space</span></a>
+ <a href="https://unchainedtech.minteck.ro.lt" class="dropdown-item"><span class="app-title"><img alt="" src="/apps/unchainedtech.png" class="app-icon"> UnchainedTech</span></a>
+ <a href="https://jetbrains.minteck.ro.lt/hub" class="dropdown-item"><img alt="" src="/apps/hub.svg" class="app-icon"> <span class="app-title">Minteck's Hub</span></a>
+ <a href="https://jetbrains.minteck.ro.lt/youtrack" class="dropdown-item"><img alt="" src="/apps/youtrack.svg" class="app-icon"> <span class="app-title">YouTrack</span></a>
+ </div>
+ </div>
+ </div>
+ </li>
+ </ul>
+ </div>
+</nav> \ No newline at end of file