From 3064cb6615918ab17d51030947d859ad34116ef5 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Tue, 10 Jun 2025 12:18:56 -0500 Subject: [PATCH] Add footer with branding --- app/assets/images/logo-color.svg | 1 + app/assets/stylesheets/layout.css | 4 ++++ app/views/layouts/public.html.erb | 13 +++++++++++-- app/views/public/collections/show.html.erb | 7 +++++++ 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 app/assets/images/logo-color.svg diff --git a/app/assets/images/logo-color.svg b/app/assets/images/logo-color.svg new file mode 100644 index 000000000..32d315b5f --- /dev/null +++ b/app/assets/images/logo-color.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/layout.css b/app/assets/stylesheets/layout.css index adbccc90f..9bf4d4953 100644 --- a/app/assets/stylesheets/layout.css +++ b/app/assets/stylesheets/layout.css @@ -2,6 +2,10 @@ body { display: grid; grid-template-rows: auto 1fr auto 9em; + + &.public { + grid-template-rows: auto 1fr auto; + } } :where(#main) { diff --git a/app/views/layouts/public.html.erb b/app/views/layouts/public.html.erb index 9e0cf272f..37c066687 100644 --- a/app/views/layouts/public.html.erb +++ b/app/views/layouts/public.html.erb @@ -2,9 +2,18 @@ <%= render "layouts/shared/head" %> - + + +
<%= yield %>
+ + - + \ No newline at end of file diff --git a/app/views/public/collections/show.html.erb b/app/views/public/collections/show.html.erb index 7b125948f..acda7eef7 100644 --- a/app/views/public/collections/show.html.erb +++ b/app/views/public/collections/show.html.erb @@ -6,3 +6,10 @@ <%= render "public/collections/show/closed", collection: @collection, page: @closed %> + +<% content_for :footer do %> +
+ <%= image_tag "logo-color.svg", aria: { hidden: true }, size: 30 %> + Made with Fizzy™ +
+<% end %>