updated header logo
This commit is contained in:
parent
2c27665e39
commit
2c12b614f0
5 changed files with 120 additions and 66 deletions
|
@ -62,7 +62,7 @@ class Account extends Component {
|
|||
return html`
|
||||
<send-account>
|
||||
<button
|
||||
class="p-2 border rounded border-white text-white hover:bg-white hover:text-black md:text-blue-dark md:border-blue-dark md:hover:text-white md:hover:bg-blue-dark"
|
||||
class="p-2 border rounded text-blue-dark border-blue-dark hover:text-white hover:bg-blue-dark"
|
||||
onclick="${e => this.login(e)}"
|
||||
>
|
||||
${translate('signInMenuOption')}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
const html = require('choo/html');
|
||||
const Component = require('choo/component');
|
||||
const Account = require('./account');
|
||||
const assets = require('../../common/assets');
|
||||
const { platform } = require('../utils');
|
||||
|
||||
class Header extends Component {
|
||||
|
@ -20,22 +21,14 @@ class Header extends Component {
|
|||
const title =
|
||||
platform() === 'android'
|
||||
? html`
|
||||
<a class="header-logo">
|
||||
<h1 class="text-3xl text-white md:text-black font-normal">
|
||||
<b>Firefox</b> Send
|
||||
</h1>
|
||||
</a>
|
||||
<a class=""><img src="${assets.get('logo.svg')}"/></a>
|
||||
`
|
||||
: html`
|
||||
<a class="header-logo" href="/">
|
||||
<h1 class="text-3xl text-white md:text-black font-normal">
|
||||
<b>Firefox</b> Send
|
||||
</h1>
|
||||
</a>
|
||||
<a class="" href="/"><img src="${assets.get('logo.svg')}"/></a>
|
||||
`;
|
||||
return html`
|
||||
<header
|
||||
class="relative flex-none flex flex-row items-center justify-between bg-black w-full px-6 h-16 z-20 md:bg-transparent"
|
||||
class="relative flex-none flex flex-row items-center justify-between w-full px-6 h-16 z-20 bg-transparent"
|
||||
>
|
||||
${title} ${this.account.render()}
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue