Skip to content

Commit

Permalink
added appstore and playstore actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuraghavb committed May 9, 2022
1 parent 8990b41 commit d87cd3a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 5 deletions.
1 change: 1 addition & 0 deletions assets/icons/appstore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/playstore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion components/Action.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div
class="p-3 shrink-0 rounded-l"
:style="{
backgroundColor: `${
background: `${
name == 'secondaryActions' ? item.color : buttonBg
}`,
}"
Expand Down
2 changes: 1 addition & 1 deletion components/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
:href="getHref(item)"
target="_blank"
rel="noopener noreferrer"
:style="{ backgroundColor: item.color }"
:style="{ background: item.color }"
:aria-label="item.name"
>
<div class="icon" v-html="getSVG(item)"></div>
Expand Down
23 changes: 20 additions & 3 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@
duration-200
focus:outline-none
"
:style="{ backgroundColor: action.color }"
:style="{ background: action.color }"
:title="
action.name.substr(0, 1).toUpperCase() + action.name.slice(1)
"
Expand Down Expand Up @@ -1652,10 +1652,27 @@ export default {
name: 'Siilo',
icon: 'siilo',
href: 'https://app.siilo.com/qr/',
placeholder: 'userid',
placeholder: 'userID',
value: null,
color: '#17233b',
label: 'Siilo userid',
label: 'Siilo userID',
},
{
name: 'App Store',
icon: 'appstore',
placeholder: 'Developer/App URL',
value: null,
color: 'linear-gradient(#5fc9f8, #147efb)',
label: 'App Store Developer/App URL',
},
{
name: 'Play Store',
icon: 'playstore',
placeholder: 'Developer/App URL',
value: null,
color: '#fff',
light: 1,
label: 'Play Store Developer/App URL',
},
],
},
Expand Down

0 comments on commit d87cd3a

Please sign in to comment.