Fix icon import
This commit is contained in:
parent
4debce853b
commit
624109beda
@ -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>" }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user