Skip to content

Commit

Permalink
Merge pull request #5 from AlexeyVin273/dev
Browse files Browse the repository at this point in the history
fix(playground): Исправляет пути к svg-изображениям
  • Loading branch information
AlexeyVin273 authored Aug 30, 2023
2 parents 7ce5bdc + 09ce64b commit 06a8b99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/pug/components/blocks/playground.pug
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ mixin playground()
.playground__header
+round-btn({icon: "icon-arrow-back", iconWidth: "11", iconHeight: "19"})
.playground__stats.playground__stars
img(src=`/img/svg/icon-star.svg`, width="48", height="50", alt="")
img(src=`img/svg/icon-star.svg`, width="48", height="50", alt="")
span.playground__stars-number 0/9000
.playground__stats.playground__coins
img(src=`/img/svg/icon-coins.svg`, width="39", height="27", alt="")
img(src=`img/svg/icon-coins.svg`, width="39", height="27", alt="")
span.playground__coins-number 1000000
.playground__main
+slot()
Expand Down
2 changes: 1 addition & 1 deletion source/pug/components/blocks/round-btn.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ mixin round-btn(options)

button.round-btn&attributes(attributes)
if (icon)
img(src=`/img/svg/${icon}.svg`, width=iconWidth, height=iconHeight, alt="")
img(src=`img/svg/${icon}.svg`, width=iconWidth, height=iconHeight, alt="")

0 comments on commit 06a8b99

Please sign in to comment.