Initial commit :)
This commit is contained in:
31
public/index.php
Normal file
31
public/index.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/../vendor/autoload.php';
|
||||
|
||||
use Dotenv\Dotenv;
|
||||
|
||||
$dotenv = Dotenv::createImmutable($_SERVER['DOCUMENT_ROOT'] . '/..');
|
||||
$dotenv->load();
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title><?= $_ENV['SITE_NAME'] ?></title>
|
||||
<link rel="stylesheet" href="/assets/style.css">
|
||||
<meta property="og:title" content="<?= $_ENV['SITE_NAME'] ?>" />
|
||||
<meta property="og:description" content="The cute Discord for transfems" />
|
||||
<meta property="og:url" content="https://tgirl.city" />
|
||||
<meta name="theme-color" content="<?= $_ENV['THEME_COLOR'] ?>" />
|
||||
<meta name="description" content="The cute Discord for transfems" />
|
||||
<meta generator='tgirl.city <?= htmlspecialchars($_ENV['VERSION']) ?>'>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1><?= $_ENV['SITE_NAME'] ?></h1>
|
||||
<p>The discord for transfems</p>
|
||||
<a href="<?= $_ENV['DISCORD_INVITE_LINK'] ?>" class="btn" target="_blank">Join Our Discord!</a>
|
||||
<div class="note" title="Fuck off!">(not a fetish server, no chasers allowed!)</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user