Various improvements and fixes (#309)

* Remove roadmap header
* Add hostname to poweredby url
* Fix oauth button click style
* Fix mailer astuto logo
* Fix asset urls in public html files
This commit is contained in:
Riccardo Graziosi
2024-03-14 23:04:34 +01:00
committed by GitHub
parent 336adb9bfd
commit 1cdbbc91e8
12 changed files with 12 additions and 48 deletions

View File

@@ -274,9 +274,9 @@ body {
height: 38px;
&:hover {
background-color: white;
color: var(--astuto-black);
&:hover, &:active, &:focus {
background-color: white !important;
color: var(--astuto-black) !important;
}
.oauthProviderText {

View File

@@ -3,7 +3,7 @@ import I18n from 'i18n-js';
const PoweredByLink = () => (
<div className="poweredBy">
<a href="http://astuto.io/?utm_campaign=poweredby" target="_blank">
<a href={`http://astuto.io/?utm_campaign=poweredby&utm_source=${window.location.hostname}`} target="_blank">
{ I18n.t('common.powered_by') } Astuto
</a>
</div>

View File

@@ -6,7 +6,7 @@
<body>
<div style="margin: 16px auto; text-align: center;">
<a href="<%= add_subdomain_to(method(:root_url)) %>">
<%= image_tag('logo.png', alt: 'Astuto Logo', size: 64) %>
<%= image_tag('https://raw.githubusercontent.com/astuto/astuto-assets/main/logo-64.png', alt: 'Astuto Logo', size: 64) %>
</a>
</div>
<div style="max-width: 580px; margin: 0 auto; border: 1px solid rgba(0, 0, 0, 0.125); border-radius: 0.25rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),0 2px 4px -1px rgba(0, 0, 0, 0.03); padding: 24px; font-family: system-ui, sans-serif; font-size: 18px;">

View File

@@ -1,5 +1,3 @@
<h2><%= t('roadmap.title') %></h2>
<%=
react_component(
'Roadmap',