Fix icon import

This commit is contained in:
Matt Soucy 2023-01-13 20:24:33 -05:00
parent 4debce853b
commit 624109beda

View File

@ -40,13 +40,13 @@ Squib::Deck.new(cards: 18) do
text layout: :title, str: data.name
svg layout: :art, data: MUSIC
svg layout: :art, data: Icons::MUSIC
rect layout: :description
text layout: :description, str: data.effect.zip(data.blurb).map { |e, b|
"#{e}#{b ? "\n<i>#{b}</i>" : nil}"
} do |embed|
embed.svg key: '{a}', width: 32, height: 32, data: AUDIENCE
embed.svg key: '{a}', width: 32, height: 32, data: Icons::AUDIENCE
end
text layout: :type, markup: true, str: data.volume.map { |v| "<b><i>#{v} (#{VOLUMES[v]})</i></b>" }