Эх сурвалжийг харах

Adding menu items to main page

JoostSijm 6 жил өмнө
parent
commit
740739f488

+ 5 - 2
app/static/index.html

@@ -8,6 +8,10 @@
 <body>
     <div class="page">
         <h1>Rival Regions Tutorial</h1>
+        <ul class="menu">
+            <li><a href="/readme">readme</a></li>
+            <li><a href="/changelog">changelog</a></li>
+        </ul>
         <p>In deze tutorial zijn de belangrijkste aspecten van het spel uitgelegd.</p>
         <h2>Downloads</h2>
         <ul>
@@ -17,9 +21,8 @@
         <h2>Repository</h2>
         <ul>
             <li><a href="https://git.craftbroec.nl/cb/rr_tutorial">Tutorial</a></li>
-            <li><a href="https://git.craftbroec.nl/cb/rr/">Websit</a></li>
+            <li><a href="https://git.craftbroec.nl/cb/rr/">Website</a></li>
         </ul>
-        
     </div>
 </body>
 </html>

+ 19 - 0
app/static/style.css

@@ -33,6 +33,25 @@ h1
     font-size: 34pt;
 }
 
+p,
+ul
+{
+    font-family: sans-serif;
+}
+
+.menu
+{
+    list-style-type: none;
+    padding-left: 0;
+    display: flex;
+    justify-content: left;
+}
+
+.menu li
+{
+    padding: 0 5px;
+}
+
 @media (max-width: 560px)
 {
 	.page