24
1
Fork 0

added download icon

This commit is contained in:
Danny Coates 2019-01-28 15:44:14 -08:00
parent 8794b1d101
commit d159825b27
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
2 changed files with 3 additions and 1 deletions

View File

@ -168,9 +168,10 @@ module.exports = function(state, emit, archive) {
platform() === 'web'
? html`
<a
class="text-blue hover:text-blue-dark focus:text-blue-darker font-medium"
class="flex items-end text-blue hover:text-blue-dark focus:text-blue-darker font-medium"
href="${archive.url}"
>
<img src="${assets.get('download.svg')}" class="mr-1" />
${state.translate('downloadButtonLabel')}
</a>
`

1
assets/download.svg Normal file
View File

@ -0,0 +1 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 3a1 1 0 1 0-2 0v11.586l-4.293-4.293a1 1 0 0 0-1.414 1.414l6 6a1 1 0 0 0 1.414 0l6-6a1 1 0 0 0-1.414-1.414L13 14.586V3zM5 21a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1z" fill="#0A8DFF"></path></svg>

After

Width:  |  Height:  |  Size: 309 B