~edwardloveall/scribe

037bc7cd0fbe94f5685c5bda96f4f4c7ee541377 — Edward Loveall 4 months ago f7e82ff
Add visible version

This is to be able to track which instances (including the main one)
have which fixes
4 files changed, 14 insertions(+), 1 deletions(-)

M src/app.cr
M src/components/shared/layout_footer.cr
M src/css/app.css
A src/version.cr
M src/app.cr => src/app.cr +1 -0
@@ 3,6 3,7 @@ require "./shards"
# Load the asset manifest
Lucky::AssetHelpers.load_manifest "public/mix-manifest.json"

require "./version"
require "../config/server"
require "../config/**"
require "./app_database"

M src/components/shared/layout_footer.cr => src/components/shared/layout_footer.cr +6 -1
@@ 3,7 3,12 @@ class Shared::LayoutFooter < BaseComponent
    section do
      footer do
        para do
          a "Source code", href: "https://sr.ht/~edwardloveall/scribe"
          span do
            a "Source code", href: "https://sr.ht/~edwardloveall/scribe"
          end
          span do
            text "Version: #{Scribe::VERSION}"
          end
        end
      end
    end

M src/css/app.css => src/css/app.css +4 -0
@@ 30,3 30,7 @@ figure iframe {
    background: rgba(221, 221, 221, 0.3);
  }
}

footer p span {
  margin-right: 1em;
}

A src/version.cr => src/version.cr +3 -0
@@ 0,0 1,3 @@
module Scribe
  VERSION = "2022-01-04"
end