Skip to content

Commit

Permalink
fix(playground): Исправляет пути к svg-изображениями
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyVin273 committed Aug 30, 2023
1 parent dda5e46 commit 09ce64b
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 09ce64b

Please sign in to comment.