diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 155 |
1 files changed, 112 insertions, 43 deletions
@@ -1,84 +1,153 @@ <?php +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php"; +global $conepone; +global $domainMode; + ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> - <title>Minteck.org</title> + <title><?= $conepone ? "Cloudburst System" : "Minteck.org" ?></title> <meta name="viewport" content="width=device-width, initial-scale=1"> - <link rel="stylesheet" href="/css/fonts.css"> - <link rel="stylesheet" href="/css/common.css"> - <link rel="stylesheet" href="/css/container.css"> + <link rel="stylesheet" href="/assets/common/css/fonts.css"> + <link rel="stylesheet" href="/assets/common/css/common.css"> + <link rel="stylesheet" href="/assets/common/css/container.css"> + <link rel="apple-touch-icon" sizes="180x180" href="/assets/<?= $conepone ? "conep.one" : "minteck.org" ?>/apple-touch-icon.png"> + <link rel="shortcut icon" type="image/x-icon" href="/assets/<?= $conepone ? "conep.one" : "minteck.org" ?>/favicon.ico"> + <link rel="icon" type="image/png" sizes="32x32" href="/assets/<?= $conepone ? "conep.one" : "minteck.org" ?>/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/assets/<?= $conepone ? "conep.one" : "minteck.org" ?>/favicon-16x16.png"> + <link rel="manifest" href="/assets/<?= $conepone ? "conep.one" : "minteck.org" ?>/manifest.json"> + <link rel="mask-icon" href="/assets/<?= $conepone ? "conep.one" : "minteck.org" ?>/safari-pinned-tab.svg" color="#a56510"> + <meta name="msapplication-TileColor" content="<?= json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/assets/" . ($conepone ? "conep.one" : "minteck.org") . "/manifest.json"), true)['theme_color'] ?>"> + <meta name="theme-color" content="<?= json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/assets/" . ($conepone ? "conep.one" : "minteck.org") . "/manifest.json"), true)['theme_color'] ?>"> </head> <body> + <div id="debug"> + Domain Mode: <?= $conepone ? "conep.one" : "minteck.org" ?> + <?php if (version() === "trunk"): ?> + <br>Local unstaged version, not for production. + <?php endif; ?> + </div> + <a rel="me" href="https://equestria.social/@<?= $conepone ? "cloudburstsys" : "minteck" ?>" style="display:none"></a> <br><br><br> <div class="container" id="intro"> - <img alt="" id="intro-avatar" src="/avatar.png"> - <h1 id="intro-title">Minteck</h1> - <p id="intro-ref"><a href="https://github.com/Sollace/Unicopia" target="_blank" id="intro-ref-link">The pony powers mod to power in your pony pony pony</a></p> + <img alt="" id="intro-avatar" src="/assets/<?= $conepone ? "conep.one" : "minteck.org" ?>/avatar.png"> + <h1 id="intro-title"><?= $conepone ? "Cloudburst System" : "Minteck" ?></h1> + <p id="intro-ref"> + <?php if ($conepone): ?> + Plural system of 10 ponies! + <?php else: ?> + <a href="https://github.com/Sollace/Unicopia" target="_blank" id="intro-ref-link">The pony powers mod to power in your pony pony pony</a> + <?php endif; ?> + </p> </div> <div id="social" class="container"> - <a href="https://twitter.com/MinteckPony" target="_blank" id="social-twitter" class="social-item"> - <img id="social-twitter-icon" class="social-item-icon" alt="" src="/social/twitter.png"> + <a href="https://twitter.com/<?= $conepone ? "leahpone" : "MinteckPony" ?>" target="_blank" id="social-twitter" class="social-item"> + <img id="social-twitter-icon" class="social-item-icon" alt="" src="/assets/common/social/twitter.png"> <div id="social-twitter-text" class="social-item-text">Twitter</div> </a> - <a href="https://matrix.to/#/@moonshine:equestria.horse" target="_blank" id="social-matrix" class="social-item"> - <img id="social-matrix-icon" class="social-item-icon" alt="" src="/social/matrix.png"> + <a href="https://matrix.to/#/@<?= $conepone ? "cloudburst" : "moonshine" ?>:equestria.horse" target="_blank" id="social-matrix" class="social-item"> + <img id="social-matrix-icon" class="social-item-icon" alt="" src="/assets/common/social/matrix.png"> <div id="social-matrix-text" class="social-item-text">Matrix</div> </a> - <a href="https://reddit.com/user/Minteck" target="_blank" id="social-reddit" class="social-item"> - <img id="social-reddit-icon" class="social-item-icon" alt="" src="/social/reddit.png"> + <a href="https://reddit.com/user/<?= $conepone ? "Cloudburst_Sys" : "Minteck" ?>" target="_blank" id="social-reddit" class="social-item"> + <img id="social-reddit-icon" class="social-item-icon" alt="" src="/assets/common/social/reddit.png"> <div id="social-reddit-text" class="social-item-text">Reddit</div> </a> - <a href="https://www.youtube.com/channel/UCfjxe9cs-ovoP1rBVwdMq0Q" target="_blank" id="social-youtube" class="social-item"> - <img id="social-youtube-icon" class="social-item-icon" alt="" src="/social/youtube.png"> - <div id="social-youtube-text" class="social-item-text">YouTube</div> + <?php if ($conepone): ?> + <a href="https://tumblr.conep.one" target="_blank" id="social-tumblr" class="social-item"> + <img id="social-tumblr-icon" class="social-item-icon" alt="" src="/assets/common/social/tumblr.png"> + <div id="social-tumblr-text" class="social-item-text">Tumblr</div> </a> - <a href="https://equestria.social/@minteck" target="_blank" id="social-mastodon" class="social-item"> - <img id="social-mastodon-icon" class="social-item-icon" alt="" src="/social/mastodon.png"> + <?php else: ?> + <a href="https://www.youtube.com/channel/UCfjxe9cs-ovoP1rBVwdMq0Q" target="_blank" id="social-youtube" class="social-item"> + <img id="social-youtube-icon" class="social-item-icon" alt="" src="/assets/common/social/youtube.png"> + <div id="social-youtube-text" class="social-item-text">YouTube</div> + </a> + <?php endif; ?> + <a href="https://equestria.social/@<?= $conepone ? "cloudburstsys" : "minteck" ?>" target="_blank" id="social-mastodon" class="social-item"> + <img id="social-mastodon-icon" class="social-item-icon" alt="" src="/assets/common/social/mastodon.png"> <div id="social-mastodon-text" class="social-item-text">Mastodon</div> </a> - <a href="" target="_blank" id="social-discord" class="social-item"> - <img id="social-discord-icon" class="social-item-icon" alt="" src="/social/discord.png"> - <div id="social-discord-text" class="social-item-text">Discord</div> + <a href="https://github.com/<?= $conepone ? "CloudburstSys" : "minteck" ?>" target="_blank" id="social-github" class="social-item"> + <img id="social-github-icon" class="social-item-icon" alt="" src="/assets/common/social/github.png"> + <div id="social-github-text" class="social-item-text">GitHub</div> </a> </div> - <div id="social-mobile" class="container"> - <a href="https://twitter.com/MinteckPony" target="_blank" id="social-mobile-twitter" class="social-mobile-item"> - <img id="social-mobile-twitter-icon" class="social-mobile-item-icon" alt="" src="/social/twitter.png"> - <div id="social-mobile-twitter-text" class="social-mobile-item-text">Twitter</div> - </a> - <a href="https://matrix.to/#/@moonshine:equestria.horse" target="_blank" id="social-mobile-matrix" class="social-mobile-item"> - <img id="social-mobile-matrix-icon" class="social-mobile-item-icon" alt="" src="/social/matrix.png"> - <div id="social-mobile-matrix-text" class="social-mobile-item-text">Matrix</div> + <div id="social-mobile-outer" class="container"> + <div id="social-mobile"> + <a href="https://twitter.com/<?= $conepone ? "leahpone" : "MinteckPony" ?>" target="_blank" id="social-mobile-twitter" class="social-mobile-item"> + <img id="social-mobile-twitter-icon" class="social-mobile-item-icon" alt="" src="/assets/common/social/twitter.png"> + <div id="social-mobile-twitter-text" class="social-mobile-item-text">Twitter</div> + </a> + <a href="https://matrix.to/#/@<?= $conepone ? "cloudburst" : "moonshine" ?>:equestria.horse" target="_blank" id="social-mobile-matrix" class="social-mobile-item"> + <img id="social-mobile-matrix-icon" class="social-mobile-item-icon" alt="" src="/assets/common/social/matrix.png"> + <div id="social-mobile-matrix-text" class="social-mobile-item-text">Matrix</div> + </a> + <a href="https://reddit.com/user/<?= $conepone ? "Cloudburst_Sys" : "Minteck" ?>" target="_blank" id="social-mobile-reddit" class="social-mobile-item"> + <img id="social-mobile-reddit-icon" class="social-mobile-item-icon" alt="" src="/assets/common/social/reddit.png"> + <div id="social-mobile-reddit-text" class="social-mobile-item-text">Reddit</div> + </a> + <?php if ($conepone): ?> + <a href="https://tumblr.conep.one" target="_blank" id="social-mobile-tumblr" class="social-mobile-item"> + <img id="social-mobile-tumblr-icon" class="social-mobile-item-icon" alt="" src="/assets/common/social/tumblr.png"> + <div id="social-mobile-tumblr-text" class="social-mobile-item-text">Tumblr</div> + </a> + <?php else: ?> + <a href="https://www.youtube.com/channel/UCfjxe9cs-ovoP1rBVwdMq0Q" target="_blank" id="social-mobile-youtube" class="social-mobile-item"> + <img id="social-mobile-youtube-icon" class="social-mobile-item-icon" alt="" src="/assets/common/social/youtube.png"> + <div id="social-mobile-youtube-text" class="social-mobile-item-text">YouTube</div> + </a> + <?php endif; ?> + <a href="https://equestria.social/@<?= $conepone ? "cloudburstsys" : "minteck" ?>" target="_blank" id="social-mobile-mastodon" class="social-mobile-item"> + <img id="social-mobile-mastodon-icon" class="social-mobile-item-icon" alt="" src="/assets/common/social/mastodon.png"> + <div id="social-mobile-mastodon-text" class="social-mobile-item-text">Mastodon</div> + </a> + <a href="https://github.com/<?= $conepone ? "CloudburstSys" : "minteck" ?>" target="_blank" id="social-mobile-github" class="social-mobile-item"> + <img id="social-mobile-github-icon" class="social-mobile-item-icon" alt="" src="/assets/common/social/github.png"> + <div id="social-mobile-github-text" class="social-mobile-item-text">GitHub</div> + </a> + + <hr> + </div> + </div> + + <div id="links" class="container"> + <a class="social-mobile-item" id="link-1"> + <img class="link-icon" id="link-1-icon" alt="" src="/assets/common/social/link.png"> + <span class="link-text" id="link-1-text">Link 1</span> </a> - <a href="https://reddit.com/user/Minteck" target="_blank" id="social-mobile-reddit" class="social-mobile-item"> - <img id="social-mobile-reddit-icon" class="social-mobile-item-icon" alt="" src="/social/reddit.png"> - <div id="social-mobile-reddit-text" class="social-mobile-item-text">Reddit</div> + <a class="social-mobile-item" id="link-2"> + <img class="link-icon" id="link-2-icon" alt="" src="/assets/common/social/link.png"> + <span class="link-text" id="link-2-text">Link 2</span> </a> - <a href="https://www.youtube.com/channel/UCfjxe9cs-ovoP1rBVwdMq0Q" target="_blank" id="social-mobile-youtube" class="social-mobile-item"> - <img id="social-mobile-youtube-icon" class="social-mobile-item-icon" alt="" src="/social/youtube.png"> - <div id="social-mobile-youtube-text" class="social-mobile-item-text">YouTube</div> + <a class="social-mobile-item" id="link-3"> + <img class="link-icon" id="link-3-icon" alt="" src="/assets/common/social/link.png"> + <span class="link-text" id="link-3-text">Link 3</span> </a> - <a href="https://equestria.social/@minteck" target="_blank" id="social-mobile-mastodon" class="social-mobile-item"> - <img id="social-mobile-mastodon-icon" class="social-mobile-item-icon" alt="" src="/social/mastodon.png"> - <div id="social-mobile-mastodon-text" class="social-mobile-item-text">Mastodon</div> + <a class="social-mobile-item" id="link-4"> + <img class="link-icon" id="link-4-icon" alt="" src="/assets/common/social/link.png"> + <span class="link-text" id="link-4-text">Link 4</span> </a> - <a href="" target="_blank" id="social-mobile-discord" class="social-mobile-item"> - <img id="social-mobile-discord-icon" class="social-mobile-item-icon" alt="" src="/social/discord.png"> - <div id="social-mobile-discord-text" class="social-mobile-item-text">Discord</div> + <a class="social-mobile-item" id="link-5"> + <img class="link-icon" id="link-5-icon" alt="" src="/assets/common/social/link.png"> + <span class="link-text" id="link-5-text">Link 5</span> </a> </div> <div id="footer" class="container"> - <a href="https://gitlab.minteck.org/minteck/ember/-/tree/<?= version() ?>" target="_blank" id="footer-version">version <?= version() ?></a> (#<?= build_dom() ?>) · - <span id="footer-hover-zone">♥ Twi <span id="footer-hover-text">(cutie)</span></span> + <a href="https://gitlab.minteck.org/minteck/ember/-/tree/<?= version() ?>" target="_blank" id="footer-version">version <?= version() ?></a> (#<?= build_dom() ?>) + <?php if (!$conepone): ?> + · <span id="footer-hover-zone">♥ Twi <span id="footer-hover-text">(cutie)</span></span> + <?php endif; ?> + <br><br> </div> </body> </html> |