diff --git a/.env.example b/.env.example index 05ffb51..15321d4 100644 --- a/.env.example +++ b/.env.example @@ -2,6 +2,7 @@ DISABLE_S3=false AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_S3_BUCKET= +AWS_CONTRIBUTION_URL= MYSQL_USER= MYSQL_PASSWORD= diff --git a/assets/img/icons/save.svg b/assets/img/icons/save.svg new file mode 100644 index 0000000..5f80973 --- /dev/null +++ b/assets/img/icons/save.svg @@ -0,0 +1 @@ + diff --git a/assets/styles/components/_icon.scss b/assets/styles/components/_icon.scss index 18d19f4..178b89e 100644 --- a/assets/styles/components/_icon.scss +++ b/assets/styles/components/_icon.scss @@ -27,6 +27,10 @@ &-link { background-image: url('../img/icons/link.svg'); } + + &-save { + background-image: url('../img/icons/save.svg'); + } } .contribution-hash { diff --git a/nuxt.config.js b/nuxt.config.js index 26c81f7..4fcfd88 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -125,6 +125,7 @@ module.exports = { host: '0.0.0.0' // default: localhost }, env: { - hashtag: process.env.TWITTER_HASHTAG + hashtag: process.env.TWITTER_HASHTAG, + downloadUrl: process.env.AWS_CONTRIBUTION_URL } } diff --git a/pages/index.vue b/pages/index.vue index ec90823..b54ece0 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -66,6 +66,12 @@ + + + + + +