Skip to content

Commit 984f499

Browse files
Move SVGs to img folder and update paths
1 parent 4af5e5c commit 984f499

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/pages/welcome.astro

+4-4
Original file line numberDiff line numberDiff line change
@@ -407,17 +407,17 @@ changeLanguage('en')
407407

408408
switch (result) {
409409
case SuccessParam.SUCCESS:
410-
heroLogo.src = 'success.svg'
410+
heroLogo.src = '/img/success.svg'
411411
heroInfo.textContent = CLOSE_TAB_MESSAGE
412412
heroHeading.textContent = 'Your wallet was successfully connected to the extension.'
413413
break
414414
case SuccessParam.REJECTED:
415-
heroLogo.src = 'warning.svg'
415+
heroLogo.src = '/img/warning.svg'
416416
heroInfo.textContent = CLOSE_TAB_MESSAGE
417417
heroHeading.textContent = 'Your request was successfully rejected.'
418418
break
419419
case SuccessParam.ERROR:
420-
heroLogo.src = 'error.svg'
420+
heroLogo.src = '/img/error.svg'
421421
heroInfo.textContent = CLOSE_TAB_MESSAGE
422422
heroHeading.textContent = 'Something went wrong. Please try again.'
423423
if (errorCode in ERROR_MESSAGES) {
@@ -427,7 +427,7 @@ changeLanguage('en')
427427
}
428428
break
429429
case SuccessParam.INVALID:
430-
heroLogo.src = 'error.svg'
430+
heroLogo.src = '/img/error.svg'
431431
heroInfo.textContent = CLOSE_TAB_MESSAGE
432432
heroHeading.textContent = 'Something went wrong with your request. Please try reconnecting your wallet.'
433433
break

0 commit comments

Comments
 (0)