Use `small_build?()` where applicable

pull/3559/head
Adam Rutkowski 3 years ago
parent cffb747b73
commit 06fe9cbc4d

@ -68,7 +68,7 @@ defmodule PlausibleWeb.Live.RegisterForm do
~H"""
<div class="mx-auto mt-6 text-center dark:text-gray-300">
<h1 class="text-3xl font-black">
<%= if not full_build?() or @live_action == :register_from_invitation_form do %>
<%= if small_build?() or @live_action == :register_from_invitation_form do %>
Register your Plausible Analytics account
<% else %>
Register your 30-day free trial
@ -162,7 +162,7 @@ defmodule PlausibleWeb.Live.RegisterForm do
<% end %>
<% submit_text =
if not full_build?() or @invitation do
if small_build?() or @invitation do
"Create my account →"
else
"Start my free trial →"

@ -11,7 +11,7 @@
You might have used an email address that's not registered in our database. Please verify the email address associated with your Plausible account and attempt the password reset once more.
</div>
<div class="mt-2 text-sm text-gray-600 dark:text-gray-400 leading-tight">
<span :if={not full_build?()}>
<span :if={small_build?()}>
Certain that you're using the correct email address but still aren't receiving the password reset email? Please check your spam folder or ask on our <a
href="https://github.com/plausible/analytics/discussions"
class="text-indigo-500"

@ -12,7 +12,7 @@
<% end %>
Solely funded by our subscribers.<br />
</p>
<%= if not full_build?() do %>
<%= if small_build?() do %>
<div class="mt-4">
<a
href="https://github.com/sponsors/plausible"

@ -47,7 +47,7 @@
<.styled_link new_tab href="https://plausible.io/contact">Contact us</.styled_link>
and we will help you with your setup
</span>
<span :if={not full_build?()}>
<span :if={small_build?()}>
Still not working? Ask on our
<.styled_link new_tab href="https://github.com/plausible/analytics/discussions">
community-supported forum

Loading…
Cancel
Save