Skip to content

Commit

Permalink
keep it on
Browse files Browse the repository at this point in the history
  • Loading branch information
progapandist committed Jun 9, 2024
1 parent 6dd4ad7 commit 86004c6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/assets/builds/application.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions app/views/works/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"
class="
info-box draggable-box p-3 bg-black bg-opacity-50 text-white font-mono max-w-md
text-left filter backdrop-blur-sm
text-left filter backdrop-blur-sm text-sm
"
style="position: absolute; top: 4rem; left: 4rem; width: 800px; height: auto;"
>
Expand All @@ -40,10 +40,14 @@
</p>
<div class="h-12">
</div>
<p><%= @work.height %>

<% if @work.dimensions.present? %>
<p><%= @work.height %>
<%= @work.width %>
<%= @work.depth %>
cm</p>
cm
</p>
<% end %>
<p>©️ Andy Barnow, Marina Naperstak</p>
</div>
3 changes: 1 addition & 2 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def go_seed
say "Done enriching #{pp slug_name} with #{pp info}", :green
else
work.update!(
description: infos.flat_map(&:values).find { |rec| rec[:slug] == slug_name }.presence ||
"A #{slug_name.humanize} model.",
description: infos.flat_map(&:values).find { |rec| rec[:slug] == slug_name }.presence || "",
title: slug.humanize,
location: DEFAULT_CITY,
year: DEFAULT_YEAR
Expand Down

0 comments on commit 86004c6

Please sign in to comment.