From 16673ae810cb8f84b98187370c87d5ee2fff481d Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 20 Apr 2025 03:35:39 +0500 Subject: feat: new main page --- public/index.php | 41 ++++++++++++++++++++++++++++++++- public/static/img/brand/big.webp | Bin 0 -> 202428 bytes public/static/img/brand/mini.webp | Bin 0 -> 93392 bytes public/static/img/counter/0.png | Bin 0 -> 37146 bytes public/static/img/counter/1.png | Bin 0 -> 32791 bytes public/static/img/counter/2.png | Bin 0 -> 37615 bytes public/static/img/counter/3.png | Bin 0 -> 22557 bytes public/static/img/counter/4.png | Bin 0 -> 35197 bytes public/static/img/counter/5.png | Bin 0 -> 20349 bytes public/static/img/counter/6.png | Bin 0 -> 32075 bytes public/static/img/counter/7.png | Bin 0 -> 22028 bytes public/static/img/counter/8.png | Bin 0 -> 34637 bytes public/static/img/counter/9.png | Bin 0 -> 142919 bytes public/static/style.css | 46 ++++++++++++++++++++++++++++++++++++++ src/partials.php | 5 ++++- 15 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 public/static/img/brand/big.webp create mode 100644 public/static/img/brand/mini.webp create mode 100644 public/static/img/counter/0.png create mode 100644 public/static/img/counter/1.png create mode 100644 public/static/img/counter/2.png create mode 100644 public/static/img/counter/3.png create mode 100644 public/static/img/counter/4.png create mode 100644 public/static/img/counter/5.png create mode 100644 public/static/img/counter/6.png create mode 100644 public/static/img/counter/7.png create mode 100644 public/static/img/counter/8.png create mode 100644 public/static/img/counter/9.png diff --git a/public/index.php b/public/index.php index 29daf30..666500e 100644 --- a/public/index.php +++ b/public/index.php @@ -1,7 +1,46 @@ + + alright.party + + + -

vi von ZULUL

+
+
+

<?php echo $_SERVER['HTTP_HOST']; ?>

+ + + +
+ + +
+ +
+ query("SELECT COUNT(*) FROM emotes"); + $count = $results->fetchArray()[0]; + + $db->close(); + + foreach (str_split($count) as $c) { + echo "\"\""; + } + ?> +
+ +

Serving gorillion emotes - Running AlrightTV v0.1

+
+
\ No newline at end of file diff --git a/public/static/img/brand/big.webp b/public/static/img/brand/big.webp new file mode 100644 index 0000000..8886e80 Binary files /dev/null and b/public/static/img/brand/big.webp differ diff --git a/public/static/img/brand/mini.webp b/public/static/img/brand/mini.webp new file mode 100644 index 0000000..1613eba Binary files /dev/null and b/public/static/img/brand/mini.webp differ diff --git a/public/static/img/counter/0.png b/public/static/img/counter/0.png new file mode 100644 index 0000000..929946c Binary files /dev/null and b/public/static/img/counter/0.png differ diff --git a/public/static/img/counter/1.png b/public/static/img/counter/1.png new file mode 100644 index 0000000..f1c151d Binary files /dev/null and b/public/static/img/counter/1.png differ diff --git a/public/static/img/counter/2.png b/public/static/img/counter/2.png new file mode 100644 index 0000000..7a5a2af Binary files /dev/null and b/public/static/img/counter/2.png differ diff --git a/public/static/img/counter/3.png b/public/static/img/counter/3.png new file mode 100644 index 0000000..c7c7598 Binary files /dev/null and b/public/static/img/counter/3.png differ diff --git a/public/static/img/counter/4.png b/public/static/img/counter/4.png new file mode 100644 index 0000000..cd5b8b9 Binary files /dev/null and b/public/static/img/counter/4.png differ diff --git a/public/static/img/counter/5.png b/public/static/img/counter/5.png new file mode 100644 index 0000000..3455958 Binary files /dev/null and b/public/static/img/counter/5.png differ diff --git a/public/static/img/counter/6.png b/public/static/img/counter/6.png new file mode 100644 index 0000000..c7f795d Binary files /dev/null and b/public/static/img/counter/6.png differ diff --git a/public/static/img/counter/7.png b/public/static/img/counter/7.png new file mode 100644 index 0000000..925bb68 Binary files /dev/null and b/public/static/img/counter/7.png differ diff --git a/public/static/img/counter/8.png b/public/static/img/counter/8.png new file mode 100644 index 0000000..7cb611e Binary files /dev/null and b/public/static/img/counter/8.png differ diff --git a/public/static/img/counter/9.png b/public/static/img/counter/9.png new file mode 100644 index 0000000..f8ff704 Binary files /dev/null and b/public/static/img/counter/9.png differ diff --git a/public/static/style.css b/public/static/style.css index 8f4c95b..562e87a 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -3,6 +3,9 @@ --background-color-hover: #e4eed8; --background-color-disabled: #bec6b3; --border-color: #b0b9a5; + + --foreground-color: #7f9c3c; + --foreground-color-hover: #4b5632; } * { @@ -25,6 +28,22 @@ table.vertical td { padding: 2px; } +a { + color: var(--foreground-color); + text-decoration: none; +} + +a:hover { + color: var(--foreground-color-hover); + text-decoration: underline; +} + +input { + padding: 2px; + border-radius: 4px; + border: 1px solid gray; +} + .container { width: 100%; min-height: 100vh; @@ -50,6 +69,25 @@ section.content { flex-direction: row; } +.big-gap { + gap: 32px; +} + +.center { + justify-content: center; + align-items: center; +} + +/** +------------ + COUNTER +------------ +*/ +.counter img:not(:first-child) { + margin-left: 32px; +} + + /** ----------- NAVBAR @@ -60,6 +98,8 @@ section.content { display: flex; flex-direction: row; padding: 4px; + + gap: 16px; } .navbar .links { @@ -68,6 +108,12 @@ section.content { gap: 4px; } +.navbar .brand { + display: flex; + flex-direction: row; + align-items: end; +} + /** ------------- BUTTONS diff --git a/src/partials.php b/src/partials.php index c5170af..97bd1f4 100644 --- a/src/partials.php +++ b/src/partials.php @@ -3,7 +3,10 @@ function html_navigation_bar() { echo '' ?>