diff options
Diffstat (limited to 'includes/header.php')
-rw-r--r-- | includes/header.php | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/includes/header.php b/includes/header.php index ff56535..ea8fb50 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,10 +1,5 @@ <?php -if ($_SERVER['REMOTE_ADDR'] !== "86.196.89.109") { - header("Location: https://minteck-projects.alwaysdata.net"); - die(); -} - $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); function l($en, $fr) { @@ -35,7 +30,8 @@ function l($en, $fr) { ?><?= l("Minteck's space", "L'espace de Minteck") ?></title> </head> <body style="background-size: cover;background-position: center;background-repeat: no-repeat;background-attachment: fixed;"> - <nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light"> + <div style="height:24px;background:orange;position:fixed;color:black;text-align:center;z-index:999;top:0;left:0;right:0;">Private beta of Minteck's space. Please report all bugs, issues or design details at <a href="mailto:nekostarfan@gmail.com">nekostarfan@gmail.com</a> or <a href="https://jetbrains.minteck.ro.lt:1024/youtrack/issues/MSS" target="_blank">on Minteck's YouTrack instance</a></div> + <nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light" style="margin-top:24px;"> <div class="container-fluid"> <a class="navbar-brand" href="/"><img src="/logo.svg" alt="" width="36px"> <span style="vertical-align: middle;"><?= l("Minteck's space", "L'espace de Minteck") ?></span></a> <button class="navbar-toggler" style="filter:invert(1);" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> @@ -51,20 +47,25 @@ function l($en, $fr) { </a> <ul class="dropdown-menu" aria-labelledby="navbarDropdown"> <li><a class="dropdown-item" href="/furry"><?= l("Furry fandom", "Fandom furry") ?></a></li> - <li><hr class="dropdown-divider"></li> - <li><a class="dropdown-item" href="/creations/dev"><?= l("Development", "Programmation") ?></a></li> - <li><a class="dropdown-item" href="/creations/video"><?= l("Multimedia", "Audiovisuel") ?></a></li> - <li><hr class="dropdown-divider"></li> + <li><a class="dropdown-item" href="/creations"><?= l("My Projects", "Mes projets") ?></a></li> <li><a class="dropdown-item" href="/archive"><?= l("Software Archive", "Archive des logiciels") ?></a></li> </ul> </li> <li class="nav-item"><a class="nav-link" href="/about"><?= l("About me", "À propos de moi") ?></a></li> - <li class="nav-item"><a class="nav-link" href="/social"><?= l("Contact and friends", "Contact et amis") ?></a></li> + <li class="nav-item"><a class="nav-link" href="/contact"><?= l("Contact me", "Me contacter") ?></a></li> </ul> - <!-- <form class="d-flex"> - <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search"> - <button class="btn btn-outline-success" type="submit">Search</button> - </form> --> + + <div class="dropdown"> + <button id="apps_outer" class="dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false"><?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/static/apps.svg"); ?></button> + <ul class="dropdown-menu" style="position:fixed;top:48px;left:initial;right:10px;" aria-labelledby="apps_outer"> + <li><a href="https://github.com/Minteck" class="dropdown-item"><img alt="" src="/static/apps/github.png" class="app-icon"> <span class="app-title">GitHub</span></a></li> + <li><a href="https://kartik.hopto.org/online" class="dropdown-item"><img alt="" src="/static/apps/kartik.png" class="app-icon"> <span class="app-title">Kartik Online</span></a></li> + <li><a href="/" class="dropdown-item"><span class="app-title"><img alt="" src="/logo.svg" class="app-icon"> Minteck's Space</span></a></li> + <li><a href="https://unchainedtech.minteck.ro.lt" class="dropdown-item"><span class="app-title"><img alt="" src="/static/apps/unchainedtech.png" class="app-icon"> UnchainedTech</span></a></li> + <li><a href="https://jetbrains.minteck.ro.lt/hub" class="dropdown-item"><img alt="" src="/static/apps/hub.svg" class="app-icon"> <span class="app-title">Minteck's Hub</span></a></li> + <li><a href="https://jetbrains.minteck.ro.lt/youtrack" class="dropdown-item"><img alt="" src="/static/apps/youtrack.svg" class="app-icon"> <span class="app-title">YouTrack</span></a></li> + </ul> + </div> </div> </div> </nav> |