Add clickable logo
authorSzeraax <6242511+Szeraax@users.noreply.github.com>
Tue, 13 Apr 2021 05:11:50 +0000 (23:11 -0600)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 14 Apr 2021 18:59:18 +0000 (20:59 +0200)
data/templates/allgames.tpl.php
data/templates/discover.tpl.php
data/templates/game.tpl.php

index ded0ebd153f1b285794c324189f68b9345e1d855..0b838162dd0663378300ab5c80dd51d69d97ba3b 100644 (file)
@@ -12,7 +12,7 @@
  <body class="allgames">
   <header>
    <h1>List of all OUYA games</h1>
-   <img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="50"/>
+   <a href="./"><img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="50"/></a>
   </header>
 
   <table id="allouyagames" class="display">
index cd078ddb5a25a03b77c5424df5efb399ebb4e711..d233207e079b63ef12ed8771e7e6a5fda9a0320b 100644 (file)
@@ -10,7 +10,7 @@
  <body class="discover">
   <header>
    <h1><?= htmlspecialchars($json->title); ?></h1>
-   <img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="50"/>
+   <a href="./"><img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="50"/></a>
   </header>
 
   <?php foreach ($sections as $section): ?>
index 4ffe25e97fa93d364c82bd53268f8c598d57b55c..c5e8a868fb62a46dee56fa43ed4bfbb42e8df7ed 100644 (file)
@@ -13,7 +13,7 @@
  </head>
  <body class="game">
   <header>
-   <img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="50"/>
+   <a href="../discover/"><img class="ouyalogo" src="../ouya-logo.grey.svg" alt="OUYA logo" width="50"/></a>
   </header>
   <section class="text">
    <h1><?= htmlspecialchars($json->title); ?></h1>