aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php103
1 files changed, 73 insertions, 30 deletions
diff --git a/index.php b/index.php
index 1897f36..3813d8b 100644
--- a/index.php
+++ b/index.php
@@ -1,36 +1,79 @@
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; global $Parsedown; ?>
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?>
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>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">
+</head>
+<body>
+ <br><br><br>
-<div id="homepage">
- <div id="hero">
- <br>
- <img src="/assets/img/icon.svg" id="hero-img" alt="">
- <br>
- <br>
- <br>
- <h1>Minteck</h1>
- <h4>Your typical keyboard-addicted pony</h4>
+ <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>
</div>
- <br>
+ <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">
+ <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">
+ <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">
+ <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>
+ </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">
+ <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>
+ </div>
- <div class="container">
- <div class="row">
- <?php foreach (json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/includes/fetcher/projects.json"), true) as $project): if (!$project['archive'] && $project['showcase']): ?>
- <div class="col-lg-4">
- <div class="card stylized-card">
- <div class="card-body">
- <img class="stylized-card-icon" <?php if (!isset($project["icon"])): ?>style="background: hsla(<?= hexdec(substr($project['id'], 0, 2)) ?>, 100%, 50%, 0.1) !important;"<?php endif; ?> src="<?= isset($project["icon"]) ? $project["icon"] . "?width=96" : "/assets/img/letters/" . getLetters($project['name']) . ".png" ?>" alt="">
- <h4 class="card-title"><?= $project["name"] ?></h4>
- <p class="card-text"><?= preg_replace('/[|.?!;](.*)/m', '', strip_tags($Parsedown->line(trim($project["description"])))) ?></p>
- <a href="/projects?<?= $project["id"] ?>" class="btn btn-outline-light">View Project</a>
- <div class="small text-muted" style="margin-top:10px;">Updated <?= timeAgo($project['date']) ?></div>
- </div>
- </div>
- </div>
- <?php endif; endforeach; ?>
- </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>
+ </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>
+ <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>
+ <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>
+ <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>
</div>
-</div>
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?> \ No newline at end of file
+ <div id="footer" class="container">
+ <span id="footer-hover-zone">&hearts; Twi <span id="footer-hover-text">(cutie)</span></span>
+ <a href="https://gitlab.minteck.org/minteck/ember/-/tree/<?= version() ?>" target="_blank" class="footer-link-mini">version <?= version() ?></a> (#<?= build_dom() ?>)
+ </div>
+</body>
+</html>