diff --git a/app/views/layouts/_sidebar.html.erb b/app/views/layouts/_sidebar.html.erb index 249df991..29ad1858 100644 --- a/app/views/layouts/_sidebar.html.erb +++ b/app/views/layouts/_sidebar.html.erb @@ -168,15 +168,17 @@ - diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index e13541bc..20c83974 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -5,10 +5,12 @@ GitHub - - Discord - - + <% if ENV['DISCORD_INVITE_URL'].present? %> + + Discord + + + <% end %>

© 2024 Canine, Inc. All rights reserved.

diff --git a/app/views/static/landing_page/_footer.html.erb b/app/views/static/landing_page/_footer.html.erb index eb5ced57..64d4b0bb 100644 --- a/app/views/static/landing_page/_footer.html.erb +++ b/app/views/static/landing_page/_footer.html.erb @@ -7,10 +7,12 @@ GitHub - - Discord - - + <% if ENV['DISCORD_INVITE_URL'].present? %> + + Discord + + + <% end %>

© 2025 Canine, Inc. MIT License.

diff --git a/app/views/static/landing_page/_hero.html.erb b/app/views/static/landing_page/_hero.html.erb index f029bab4..877b52b9 100644 --- a/app/views/static/landing_page/_hero.html.erb +++ b/app/views/static/landing_page/_hero.html.erb @@ -14,12 +14,14 @@
-
-
- <%= link_to "https://discord.gg/68YthskqEz", class: "btn btn-ghost btn-sm lg:btn-md" do %> - Join us on Discord - <% end %> -
+
+ <% if ENV['DISCORD_INVITE_URL'].present? %> +
+ <%= link_to ENV['DISCORD_INVITE_URL'], class: "btn btn-ghost btn-sm lg:btn-md" do %> + Join us on Discord + <% end %> +
+ <% end %> <%= render "static/landing_page/announcement" %> Canine

A Developer-friendly PaaS for your Kubernetes

diff --git a/public/404.html b/public/404.html index 0453bd96..cd9d6070 100644 --- a/public/404.html +++ b/public/404.html @@ -42,14 +42,6 @@
-
diff --git a/public/422.html b/public/422.html index 373a4871..e53d0e4c 100644 --- a/public/422.html +++ b/public/422.html @@ -43,14 +43,6 @@
-
- - - - - Need help? Join our Discord - -
diff --git a/public/500.html b/public/500.html index d0e67f6d..44501ab2 100644 --- a/public/500.html +++ b/public/500.html @@ -43,14 +43,6 @@ -
- - - - - Need help? Join our Discord - -