diff options
| author | moderndevslulw <moderndevslulw@alright.party> | 2025-07-04 18:15:17 +0500 |
|---|---|---|
| committer | moderndevslulw <moderndevslulw@alright.party> | 2025-07-04 18:15:17 +0500 |
| commit | 3efe04aa1a50a9b3227eb3b060ce73e16ea3334b (patch) | |
| tree | 96a5159fe4e2b598bc571c339349adafb83cc36d /lib/partials.php | |
| parent | 0ea64157c85156c4a3404fd11c6fb687f5eb613d (diff) | |
feat: header and footer
Diffstat (limited to 'lib/partials.php')
| -rw-r--r-- | lib/partials.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php new file mode 100644 index 0000000..8dcc915 --- /dev/null +++ b/lib/partials.php @@ -0,0 +1,31 @@ +<?php +function html_navigation_bar() +{ + echo '' ?> + <header class="gap-32"> + <section class="row"> + <a href="/"> + <h1><img src="/static/img/brand/big.webp" alt="The Tinybot Project"></h1> + </a> + </section> + <section class="row gap-16"> + <a href="/">home</a> + </section> + </header> + <?php ; +} + +function html_big_footer() +{ + echo '' ?> + <footer class="big"> + <div class="w-50 column gap-8"> + <section class="row gap-8 align-center"> + <img src="/static/img/brand/icon.webp" alt=""> + <h1>The Tinybot Project</h1> + </section> + <p>Maintained by someone</p> + </div> + </footer> + <?php ; +}
\ No newline at end of file |
