summaryrefslogtreecommitdiff
path: root/lib/partials.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-10-26 04:09:50 +0500
committerilotterytea <iltsu@alright.party>2025-10-26 04:09:50 +0500
commit6a848158b079af271363392c36921c6e623046a3 (patch)
treed5e6345d7d5c929583c7a522a9635b174671c373 /lib/partials.php
parentafcc61d3e035e9343a16abf58eb8bcfc5b563925 (diff)
feat: design (it doesn't look the same as tinyemotes)
Diffstat (limited to 'lib/partials.php')
-rw-r--r--lib/partials.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php
new file mode 100644
index 0000000..d7026ec
--- /dev/null
+++ b/lib/partials.php
@@ -0,0 +1,22 @@
+<?php
+include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/config.php';
+
+function html_header()
+{
+ echo '' ?>
+ <header>
+ <section class="brand">
+ <a href="/">
+ <img src="/static/img/brand/mini.webp" alt="">
+ <h1><?= INSTANCE_NAME ?></h1>
+ </a>
+ <a href="/sounds/">
+ <button>Sounds</button>
+ </a>
+ <a href="/sounds/upload.php">
+ <button>Upload</button>
+ </a>
+ </section>
+ </header>
+ <?php ;
+} \ No newline at end of file