add background logo to front page

pull/1/head
yann300 6 years ago
parent ce92a10b32
commit 0ccf1eeab6
  1. 10
      src/app/ui/landing-page/landing-page.js

@ -15,8 +15,12 @@ var css = csjs`
border : 2px solid black; border : 2px solid black;
width : 400px; width : 400px;
padding : 50px; padding : 50px;
font-family : "Lucida Console", Monaco, monospace font-family : "Lucida Console", Monaco, monospace;
} }
.logo {
position: absolute;
opacity: 0.3;
}
` `
class LandingPage { class LandingPage {
@ -27,7 +31,7 @@ class LandingPage {
render () { render () {
var totalLook = yo` var totalLook = yo`
<div class="${css.container}"> <div class="${css.container}">
<h1> Remix </h1> <img src="icon.png" class="${css.logo}" />
</div> </div>
` `
for (var i = 0; i < this.sections.length; i++) { for (var i = 0; i < this.sections.length; i++) {

Loading…
Cancel
Save