mirror of
https://github.com/sigmasternchen/mobmash.click
synced 2025-03-14 23:59:01 +00:00
feat: Add SEO info
This commit is contained in:
parent
e5244db6b0
commit
41f9c93b8c
3 changed files with 7 additions and 3 deletions
|
@ -16,7 +16,8 @@ function renderChoice(): void {
|
|||
if ($ajax) {
|
||||
include __DIR__ . "/../view/fragments/mobSelection.php";
|
||||
} else {
|
||||
$title = "MobMash";
|
||||
$title = "MobMash - Vote";
|
||||
$description = "Which Minecraft mob is the best? Vote for your favorite mob. MobMash uses a chess rating algorithm to calculate a definitive ranking.";
|
||||
$content = function() use ($left, $right, $csrfToken) {
|
||||
include __DIR__ . "/../view/pages/mobSelection.php";
|
||||
};
|
||||
|
|
|
@ -26,6 +26,7 @@ if (isset($_GET["ajax"])) {
|
|||
require __DIR__ . '/../../view/fragments/mobList.php';
|
||||
} else {
|
||||
$title = "MobMash - Results";
|
||||
$description = "Which Minecraft mob is the best? Let's take a look at how people votes. These are the results.";
|
||||
$content = function () use ($mobs, $trends) {
|
||||
require __DIR__ . '/../../view/pages/results.php';
|
||||
};
|
||||
|
|
|
@ -13,13 +13,15 @@
|
|||
?>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><?= $title ?? ""; ?></title>
|
||||
<title><?= $title ?? "" ?></title>
|
||||
<meta name="description" content="<?= $description ?? "" ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="/styles/main.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/styles/fonts.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/styles/emoji.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/fontawesome/css/font-awesome.css" />
|
||||
<script type="application/javascript" src="/js/bundle.js"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<nav data-hx-boost="true">
|
||||
|
|
Loading…
Reference in a new issue