Skip to content

Commit

Permalink
added meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
xathon committed Nov 3, 2020
1 parent 2ec07e9 commit 8c4ad50
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 10 deletions.
15 changes: 11 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,26 @@

?>

<html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<link href="css/index.style.css" rel="stylesheet">
<title>GitGud Logocontest</title>
<title>GitGud Logocontest</title>

<meta property="og:title" content="GitGud Logocontest" />
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://logos.elohell.gg/" />
<meta property="og:image" content="https://elohell.gg/media/img/logos/ggs6/GG_V_C_Dark.png">
<meta property="og:description" content="Vote for your favorite logos in the Elo Hell Zotac GitGud Tournament!">
<meta name="theme-color" content="#FF882C">

</head>
<body>

<div class="container d-flex h-100" >
<div class="row align-content-center">
<a target="_blank" rel="noopener noreferrer" href="https://events.elohell.gg/gitgud/info/">
<img src="https://elohell.gg/media/img/logos/ggs6/GG_V_C_Dark.png" style="width: 10em">
<img src="https://elohell.gg/media/img/logos/ggs6/GG_V_C_Dark.png" style="width: 10em" alt="GitGud logo">
</a>
</div>
<div class="row align-self-center w-100">
Expand All @@ -31,7 +38,7 @@
</div>
<div class="fixed-bottom" style="position: absolute;bottom: 3px">
<a href="https://elohell.gg">
<img src="https://elohell.gg/media/img/logos/Elo-Hell-Logo_H-C-Dark.png" style="height: 5em">
<img src="https://elohell.gg/media/img/logos/Elo-Hell-Logo_H-C-Dark.png" style="height: 5em" alt="Elo Hell Esports logo">
</a>
</div>
</div>
Expand Down
14 changes: 11 additions & 3 deletions thanks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,27 @@
session_start();
if (isset($_SESSION['completed'])) $_SESSION['completed'] = [];

echo '<html>
echo '<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
<link href="css/style.css" rel="stylesheet">
<link href="css/thanks.style.css" rel="stylesheet">
<link href="css/normalize.css" rel="stylesheet">
<title>GitGud Logocontest</title>
<meta property="og:title" content="GitGud Logocontest" />
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://logos.elohell.gg/thanks.php" />
<meta property="og:image" content="https://elohell.gg/media/img/logos/ggs6/GG_V_C_Dark.png">
<meta property="og:description" content="Vote for your favorite logos in the Elo Hell Zotac GitGud Tournament!">
<meta name="theme-color" content="#FF882C">
</head>
<body>
<div class="container">
<div class="row align-content-center">
<a target="_blank" rel="noopener noreferrer" href="https://events.elohell.gg/gitgud/info/">
<img src="https://elohell.gg/media/img/logos/ggs6/GG_V_C_Dark.png" style="width: 10em">
<img src="https://elohell.gg/media/img/logos/ggs6/GG_V_C_Dark.png" style="width: 10em" alt="GitGud logo">
</a>
</div>
Expand All @@ -34,7 +42,7 @@
<div class="fixed-bottom" style="position: absolute;bottom: 5px">
<a href="https://elohell.gg">
<img src="https://elohell.gg/media/img/logos/Elo-Hell-Logo_H-C-Dark.png" style="height: 5em">
<img src="https://elohell.gg/media/img/logos/Elo-Hell-Logo_H-C-Dark.png" style="height: 5em" alt="Elo Hell Esports logo">
</a>
</div>
<div class="fixed-bottom" style="position: absolute;bottom: 5px;right: 5px">
Expand Down
15 changes: 12 additions & 3 deletions vote.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

if(sizeof($_SESSION['completed']) > 20) {

echo '<html>
echo '<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
Expand Down Expand Up @@ -110,7 +110,7 @@


if($Img1 == NULL || $Img2 == NULL || $Img1['active'] == 0 || $Img2['active'] == 0) { //Refresh if a number has no associated ID in the database (e.g. a logo has been deleted) or if the logo has been disabled
echo '<html>
echo '<html lang="en">
<head>
<meta charset="UTF-8">
Expand All @@ -125,12 +125,21 @@


echo '
<html>
<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
<link href="css/style.css" rel="stylesheet">
<link href="css/vote.style.css" rel="stylesheet">
<link href="css/normalize.css" rel="stylesheet">
<title>GitGud Logocontest</title>
<meta property="og:title" content="GitGud Logocontest" />
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://logos.elohell.gg/vote.php" />
<meta property="og:image" content="https://elohell.gg/media/img/logos/ggs6/GG_V_C_Dark.png">
<meta property="og:description" content="Vote for your favorite logos in the Elo Hell Zotac GitGud Tournament!">
<meta name="theme-color" content="#FF882C">
</head>
<body>
Expand Down

0 comments on commit 8c4ad50

Please sign in to comment.