added download link to tile

This commit is contained in:
Danny Coates 2019-01-23 15:10:09 -08:00
parent 7bf8bab864
commit dece0969c2
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 56 additions and 41 deletions

View file

@ -1,7 +1,7 @@
const html = require('choo/html');
const Component = require('choo/component');
const Account = require('./account');
const { browserName } = require('../utils');
const { platform } = require('../utils');
class Header extends Component {
constructor(name, state, emit) {
@ -18,7 +18,7 @@ class Header extends Component {
createElement() {
const title =
browserName() === 'android-app'
platform() === 'android'
? html`
<a class="header-logo">
<h1 class="text-2xl text-white md:text-black font-normal">