Skip to content

Commit

Permalink
Simplify/clarify the "Made with ♥️" msg in footer
Browse files Browse the repository at this point in the history
To support new/changing tailwind classes being added to en.yml, we must
add the path to tailwind.config.js.
  • Loading branch information
Paul DobbinSchmaltz committed Oct 25, 2024
1 parent 4513c66 commit 9a049cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions app/views/application/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
<small class="text-center text-gray-500 dark:text-neutral-400 lg:order-1">
&copy; <%= Date.today.year %> Minesweeper Alliance
<span class="font-sans text-gray-400 dark:text-neutral-500 mx-1">&mdash;</span>
Made with <span class="opacity-80"><%= Icon.heart %></span>,
on Earth,
by the <%= t("footer.maker").sample %>
Made with <span class="opacity-80"><%= Icon.heart %></span>
by the <%= t("footer.maker_html").sample %>
</small>
</div>
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ en:
chords: Chords are groups of cells that are automatically revealed by clicking on a previously revealed cell (number) for which the corresponding number of surrounding cells have been flagged.

footer:
maker:
maker_html:
- alliance.
- mines!
- <span class="line-through decoration-1">alliance</span> mines!
1 change: 1 addition & 0 deletions config/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
"./app/helpers/**/*.rb",
"./app/javascript/**/*.js",
"./app/views/**/*.{erb,html,rb}",
"./config/locales/*.yml",
],
theme: {
extend: {
Expand Down

0 comments on commit 9a049cb

Please sign in to comment.