diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-04 16:56:12 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-04 16:56:12 +0200 |
commit | 896fa7c96856142f844d958b049d5432f511641c (patch) | |
tree | d8bbbe327939ade9bd13276c6b4c6105adf95323 /_site/includes/modules/mobile.php | |
parent | 7df2fb3f5ee0ac5bd89e127c86ad0c2d6de126d1 (diff) | |
download | unchainedtech-896fa7c96856142f844d958b049d5432f511641c.tar.gz unchainedtech-896fa7c96856142f844d958b049d5432f511641c.tar.bz2 unchainedtech-896fa7c96856142f844d958b049d5432f511641c.zip |
v2.0
Diffstat (limited to '_site/includes/modules/mobile.php')
-rw-r--r-- | _site/includes/modules/mobile.php | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/_site/includes/modules/mobile.php b/_site/includes/modules/mobile.php new file mode 100644 index 0000000..967925e --- /dev/null +++ b/_site/includes/modules/mobile.php @@ -0,0 +1,38 @@ +<nav class="navbar navbar-expand-sm bg-dark navbar-dark" id="navbar-mobile" style="display:none;">
+ <a class="navbar-brand" href="/">UnchainedTech</a>
+
+ <ul class="navbar-nav" style="text-align: center;display: grid;grid-template-columns: 1fr 1fr;">
+ <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" style="text-align: center;">
+ <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>
+</nav>
\ No newline at end of file |