From 3ee4b8e6fd37c7b73992deeb01b9f43e745269f5 Mon Sep 17 00:00:00 2001
From: Indrajith K L
Date: Sun, 20 Nov 2022 19:26:16 +0530
Subject: Updates Big List of Game Development Tools * Adds Cover Image

---
 src/_includes/partials/head.njk |   5 +++++
 src/css/styles.css              |   4 ++++
 src/images/open-source.jpg      | Bin 0 -> 238539 bytes
 src/posts/big-list-game-dev.njk |   7 ++++++-
 4 files changed, 15 insertions(+), 1 deletion(-)
 create mode 100644 src/images/open-source.jpg

(limited to 'src')

diff --git a/src/_includes/partials/head.njk b/src/_includes/partials/head.njk
index cb231d4..4aa8118 100644
--- a/src/_includes/partials/head.njk
+++ b/src/_includes/partials/head.njk
@@ -7,7 +7,12 @@
 {%- else -%}
 <meta name="description" content="Frontend Web Developer, Game Dev Hobbyist, Night Owl, Synthwave & Vaporwave Lover">
 {%- endif -%}
+{%- if cover %}
+<meta name="twitter:card" content="https://indrajith.dev{{cover}}">
+{%- else -%}
 <meta name="twitter:card" content="summary_large_image">
+{%- endif -%}
+
 <meta name="twitter:site" content="@indrajithKLIS">
 <meta name="twitter:creator" content="@indrajithKLIS">
 <meta name="twitter:url" content="https://indrajith.dev{{page.url}}">
diff --git a/src/css/styles.css b/src/css/styles.css
index cd420a7..c61c632 100644
--- a/src/css/styles.css
+++ b/src/css/styles.css
@@ -239,6 +239,10 @@ table td {
 	box-shadow: 2px 6px;
 }
 
+img {
+	max-width: 100%;
+}
+
 .tools-container .tool-name *{
 	font-weight: bold;
 	color: #000000;
diff --git a/src/images/open-source.jpg b/src/images/open-source.jpg
new file mode 100644
index 0000000..8af578c
Binary files /dev/null and b/src/images/open-source.jpg differ
diff --git a/src/posts/big-list-game-dev.njk b/src/posts/big-list-game-dev.njk
index ec418da..7e3579d 100644
--- a/src/posts/big-list-game-dev.njk
+++ b/src/posts/big-list-game-dev.njk
@@ -6,10 +6,15 @@
     date: new Date("27 October 2022"),
     modified: function() {
         return (new Date("20 November 2022").toUTCString())
-    }
+    },
+    cover: "/images/open-source.jpg"
 }
 ---
 
+<p>
+    <img src="/images/open-source.jpg" width="" alt="">
+</p>
+
 <p>Welcome to the big list (eventually it will be) of always updating bucket of <span class="font-bold">Open Source Game Development Tools</span>.
     Here you find not only Game Engines but other open source tools and utilities that will help you
     in developing your dream game/prototypes.
-- 
cgit v1.2.3