diff options
Diffstat (limited to 'lib/partials.php')
| -rw-r--r-- | lib/partials.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php index 489acae..c35fe43 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -28,6 +28,32 @@ function html_big_navbar() <?php ; } +function html_mini_navbar() +{ + echo '' ?> + <section class="row align-center gap-8 navbar"> + <a href="/" class="row gap-8 align-bottom" style="text-decoration:none;color:inherit;"> + <img src="/static/img/brand/mini.webp" alt=""> + <h2><?= INSTANCE_NAME ?></h2> + </a> + + <div class="row gap-8 align-bottom" style="height: 100%"> + <a href="/"> + <button>Home</button> + </a> + <?php if (FILE_CATALOG_RANDOM): ?> + <a href="/?random"> + <button>I'm Feeling Lucky</button> + </a> + <?php endif; ?> + <a href="/uploaders.php"> + <button>Uploaders</button> + </a> + </div> + </section> + <?php ; +} + function html_footer() { $files = glob(FILE_UPLOAD_DIRECTORY . "/*.*"); |
