Skip to content

Commit

Permalink
Update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
justalever committed Apr 29, 2023
1 parent e26110d commit 344a40d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/views/railsui/admin/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="flex-1 lg:mb-0 mb-3">
<%= heading text: "Configuration", id: "configuration", tag: "h1", class: "lg:text-4xl text-2xl text-slate-800 font-bold dark:text-white mb-2" %>
<div class="prose dark:prose-invert max-w-full">
<p>Read the documentation to learn more about Rails UI including what it does and what it does not do.</p>
<p>Configure your Rails UI install. Choose a CSS framework and theme, then go kick ass.</p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/views/railsui/admin/fields/_app_preferences.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%= render "railsui/admin/field_layout" do %>
<%= content_for :explainer, flush: true do %>
<%= heading text: "Application preferences", id: "application_preferences", tag: "h3", class: "font-semibold text-xl mb-3" %>
<p class="text-slate-700 lg:text-sm text-base dark:text-slate-300">Set your application name and choose your preferred CSS framework.</p>
<p class="text-slate-700 lg:text-sm text-base dark:text-slate-300">Set your application name, support email, and choose your preferred CSS framework.</p>
<% end %>

<div class="p-6 rounded-lg bg-white border border-slate-200 shadow-sm dark:bg-slate-800 dark:border-slate-700">
Expand Down
12 changes: 6 additions & 6 deletions app/views/railsui/admin/fields/_theme_setup.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
<ul class="grid grid-cols-1 lg:grid-cols-2 max-w-3xl gap-3">
<% themes.each do |theme| %>
<li>
<label for="configuration_theme_<%= theme.first %>" class="bg-white rounded-lg p-4 block border border-slate-200 focus:ring-4 focus:ring-slate-100 transition duration-300 dark:bg-slate-700 dark:border-slate-600 <%= unavailable_theme?(theme) ? "relative pointer-events-none opacity-70" : "hover:shadow-xl" %>" data-configuration-target="theme">
<label for="configuration_theme_<%= theme.first %>" class="bg-white rounded-lg p-4 block border border-slate-200 focus:ring-4 focus:ring-slate-100 transition duration-300 dark:bg-slate-700 dark:border-slate-600 <%= unavailable_theme?(theme) ? "relative" : "hover:shadow-xl" %>" data-configuration-target="theme">
<%= image_tag "#{f}-#{theme.first}-thumbnail.jpg", alt: "#{theme.last.humanize} theme", class: "border border-slate-200 rounded dark:border-slate-400" %>
<% if unavailable_theme?(theme) %>
<div class="px-4 mt-4 flex items-center justify-center rounded italic text-amber-800">
Coming soon
Coming soon. &nbsp;<span data-controller="tooltip" data-tooltip-content-value="Become an early supporter to help me work faster on this. The more I can make the more time I can devote here as opposed to other projects."><%= link_to "Become a supporter", "https://railsui.com/pricing", target: :_blank, class: "underline" %></span>
</div>
<% else %>
<div class="px-4 mt-4 flex justify-center">
<input
<div class="px-4 mt-4 flex justify-center">
<input
type="radio"
id="configuration_theme_<%= theme.first %>"
value="<%= theme.first %>"
name="configuration[theme]"
class="w-6 h-6 dark:bg-slate-500 dark:border-slate-600 text-indigo-600"
>
<span class="ml-2"><%= theme.last.humanize %></span>
</div>
<span class="ml-2"><%= theme.last.humanize %></span>
</div>
<% end %>
</label>

Expand Down

0 comments on commit 344a40d

Please sign in to comment.