Prechádzať zdrojové kódy

Add card to projects page.

Lee Morgan 4 rokov pred
rodič
commit
6ad20d7add
3 zmenil súbory, kde vykonal 7 pridanie a 6 odobranie
  1. 1 0
      routes.js
  2. BIN
      views/images/covid.jpeg
  3. 6 6
      views/main/index.html

+ 1 - 0
routes.js

@@ -35,6 +35,7 @@ module.exports = function(app){
     app.get("/images/blacklist", (req, res)=>{res.sendFile(`${views}/images/blacklist.png`)});
     app.get("/images/bitchute", (req, res)=>{res.sendFile(`${views}/images/bitchute.png`)});
     app.get("/images/rumble", (req, res)=>{res.sendFile(`${views}/images/rumble.png`)});
+    app.get("/images/covid", (req, res)=>{res.sendFile(`${views}/images/covid.jpeg`)});
 
     //SUDOKU
     app.get("/sudoku", visit, (req, res)=>{res.sendFile(`${views}/sudoku/index.html`)});

BIN
views/images/covid.jpeg


+ 6 - 6
views/main/index.html

@@ -194,12 +194,6 @@
                     <p>A simple web application to help people to budget their money in a simple and approachable manner.</p>
                 </a>
 
-                <a class="card" href="markket.xyz">
-                    <h2>Local Markets</h2>
-                    <img src="/images/market" alt="Market">
-                    <p>A website for people to find farmers markets and vendors of local products in their area.</p>
-                </a>
-
                 <a class="card" href="/sudoku">
                     <h2>Sudoku Solver</h2>
                     <img src="/images/sudoku" alt="Sudoku">
@@ -217,6 +211,12 @@
                     <img src="/images/blacklist" alt="Blacklist.aero logo">
                     <p>A site to enable airports to blacklist and check on the status of those who use their services.</p>
                 </a>
+
+                <a class="card" href="/covid">
+                    <h2>Covid-19 Data</h2>
+                    <img src="/images/covid" alt="Covid-19">
+                    <p>View live data about Covid-19</p>
+                </a>
             </div>
 
             <div id="blog" style="display:none;">