From 8405513337c58af6f060b306b33d9b357a737900 Mon Sep 17 00:00:00 2001
From: shibao
Date: Thu, 24 Feb 2022 20:42:27 -0500
Subject: [PATCH] add link to changelog
---
CHANGELOG.md | 3 +++
lib/cannery_web/live/home_live.ex | 12 ++++++++----
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e0cdc456..738acbce 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# v0.3.1
+- Add link to changelog from version number
+
# v0.3.0
- Fix ammo type counts not showing when count is 0
- Add prompt to create first container before first ammo group
diff --git a/lib/cannery_web/live/home_live.ex b/lib/cannery_web/live/home_live.ex
index 6972233f..5f3a3484 100644
--- a/lib/cannery_web/live/home_live.ex
+++ b/lib/cannery_web/live/home_live.ex
@@ -127,11 +127,15 @@ defmodule CanneryWeb.HomeLive do
-
+
Version:
-
- 0.3.0
-
+ <%= link class: "flex flex-row justify-center items-center space-x-2 hover:underline",
+ to: "https://gitea.bubbletea.dev/shibao/cannery/src/branch/stable/CHANGELOG.md",
+ target: "_blank",
+ rel: "noopener noreferrer" do %>
+ 0.3.0
+
+ <% end %>