diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-06 16:03:44 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-06 16:03:44 +0500 |
| commit | 880776528c0acf361ee06b8a5ec6c4071c329d7f (patch) | |
| tree | c28600a0d369860ac1f0849b1fac7c04723ec4b1 /lib/partials.php | |
initial commit
Diffstat (limited to 'lib/partials.php')
| -rw-r--r-- | lib/partials.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php new file mode 100644 index 0000000..493b469 --- /dev/null +++ b/lib/partials.php @@ -0,0 +1,16 @@ +<?php +include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/config.php'; + +function render_header() +{ + echo '' ?> + <header> + <div class="banner"> + <h1><?= INSTANCE_NAME ?></h1> + </div> + <div class="links"> + <a href="/">Home</a> + </div> + </header> + <?php ; +}
\ No newline at end of file |
