Merge branch 'main' of brn.systems:Adleraci/adlerka.top

This commit is contained in:
Bruno Rybársky 2024-01-18 11:49:54 +01:00
commit 7ae7b03ec3
4 changed files with 43 additions and 10 deletions

@ -31,6 +31,8 @@ nav {
-moz-box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2); -moz-box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2);
box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2); box-shadow: 0 20px 28px 0 rgba(0,0,0,0.2);
height: 75px !important; height: 75px !important;
position: relative;
z-index: 500;
} }
ul { ul {
@ -154,7 +156,9 @@ header hr {
overflow: hidden; overflow: hidden;
max-height: 0; max-height: 0;
border: 0 solid transparent; border: 0 solid transparent;
transition: max-height 0.1s ease, border 0.1s ease; transition: max-height 0.3s ease, border 0.325s ease;
position: relative;
z-index: 999;
} }
.navsite_item:hover .navpage_list { .navsite_item:hover .navpage_list {
@ -193,4 +197,14 @@ header ul li {
.feature-list { .feature-list {
margin: auto; margin: auto;
width: fit-content; width: fit-content;
display: block;
}
.feature-list-ul {
margin: auto;
}
.feature-list-ul ul {
margin-top: 5px;
margin-left: 20px;
} }

@ -17,7 +17,12 @@ function generateNavigation()
$site_name = "misc"; $site_name = "misc";
$site_dir = $routerConfig["default_site"]; $site_dir = $routerConfig["default_site"];
} }
if ($site_name == "smp") {
$site_name = "SMP";
} else{
$site_name = ucfirst($site_name); $site_name = ucfirst($site_name);
}
$site_location = $routerConfig["protocol"] . $site_dir . "." . $routerRequest["domain"] . "." . $routerRequest["tld"] . "/" . $routerConfig["default_page"]; $site_location = $routerConfig["protocol"] . $site_dir . "." . $routerRequest["domain"] . "." . $routerRequest["tld"] . "/" . $routerConfig["default_page"];

@ -1,20 +1,34 @@
<header> <header>
<h1 class="title">Vitaj na oficiálnej AdlerkaSMP stránke</h1> <h1 class="title">Vitaj na oficiálnej AdlerkaSMP stránke</h1>
<p>Najlepší Minecraft™ server na Adlerke</p> <p>Najlepší <a href="https://minecraft.net" style="text-decoration: underline; color: #fff;" target="_blank">Minecraft®</a> server na Adlerke</p>
<hr> <hr>
<wrapper class="feature-list"> <wrapper class="feature-list">
<p>Čo u nás môžeš nájsť?</p> <h2>Čo môžeš očakávať od AdlerkaSMP:</h2>
<ul>
<li>Vlastné pluginy</li> <ul class="feature-list-ul">
<li>
<strong>Vlastné pluginy:</strong>
<ul> <ul>
<li>Plugin 1</li> <li>Plugin 1</li>
<li>Plugin 2</li> <li>Plugin 2</li>
</ul> </ul>
<li>Kvalitné pluginy</li> </li>
<li>
<strong>Kvalitné pluginy:</strong>
<ul> <ul>
<li>Oraxen</li> <li>Oraxen</li>
<li>ModelManager</li> <li>ModelManager</li>
</ul> </ul>
</li>
<li>
<strong>Super admini:</strong>
<ul>
<li>Robíme celý server..</li>
<li>Vďaka nám je AdlerkaSMP<br>bezpečné miesto.</li>
</ul>
</li>
</ul> </ul>
</wrapper> </wrapper>
</header> </header>

@ -1,7 +1,7 @@
<form method="post"> <form method="post">
<label for="login_email">Email:</label><br> <label for="login_email"><i class="fa-regular fa-envelope"></i> Email:</label><br>
<input id="login_email" type="email" name="email"><br> <input id="login_email" type="email" name="email"><br>
<label for="login_password">Password</label><br> <label for="login_password"><i class="ri-lock-fill"></i> Password:</label><br>
<input id="login_password" type="password" name="password"><br> <input id="login_password" type="password" name="password"><br>
<input type="submit"> <input type="submit">
</form> </form>