diff options
| -rwxr-xr-x | favicon.ico | bin | 0 -> 174 bytes | |||
| -rw-r--r-- | index.php | 40 | ||||
| -rwxr-xr-x | static/img/brand/big.webp | bin | 0 -> 1962 bytes | |||
| -rwxr-xr-x | static/img/promo/1.webp | bin | 0 -> 14308 bytes |
4 files changed, 39 insertions, 1 deletions
diff --git a/favicon.ico b/favicon.ico Binary files differnew file mode 100755 index 0000000..f6317a9 --- /dev/null +++ b/favicon.ico @@ -1,12 +1,50 @@ +<?php +include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/partials.php'; +include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/utils.php'; +include_once $_SERVER['DOCUMENT_ROOT'] . '/lib/config.php'; + +$user = $_SESSION['user'] ?: null; +?> <!DOCTYPE html> <html> <head> <title>id system</title> + <link rel="stylesheet" href="/static/style.css"> </head> <body> - <h1>hello, world</h1> + <main> + <?php html_navbar(); ?> + + <?php if (isset($user)): ?> + <h1>Hey, <?= $user['username'] ?></h1> + <?php else: ?> + <div class="row gap-16"> + <section class="column gap-16 grow"> + <h1>Your key to ilotterytea's software</h1> + <p> + The ilt.su identification system gives you an access + to all software developed by ilotterytea & alright.party. + </p> + <p> + All your data is under one house. It sounds very unsecure, but + we don't store anything except your username and hashed password. + <p> + It's completely anonymous. + </p> + <div> + <a href="/register.php"> + <button class="fancy">Register an account today!</button> + </a> + </div> + </section> + <section class="column align-center justify-center"> + <img src="/static/img/promo/1.webp" alt="" width="384"> + </section> + </div> + <?php endif; ?> + </main> </body> </html>
\ No newline at end of file diff --git a/static/img/brand/big.webp b/static/img/brand/big.webp Binary files differnew file mode 100755 index 0000000..657918f --- /dev/null +++ b/static/img/brand/big.webp diff --git a/static/img/promo/1.webp b/static/img/promo/1.webp Binary files differnew file mode 100755 index 0000000..083765c --- /dev/null +++ b/static/img/promo/1.webp |
