remove label and add logo

pull/1/head
yann300 5 years ago
parent 26b1f8d979
commit d2344b6300
  1. BIN
      assets/img/hexagon-remix-greengrey-texture.png
  2. 17
      src/app/ui/landing-page/landing-page.js

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 KiB

@ -26,20 +26,16 @@ let css = csjs`
.thisJumboton { .thisJumboton {
padding: 2.5rem 0rem; padding: 2.5rem 0rem;
margin-bottom: 4rem; margin-bottom: 4rem;
display: flex;
align-items: center;
} }
.hpLogoContainer { .hpLogoContainer {
margin:30px; margin:30px;
padding-right: 90px; padding-right: 90px;
} }
.jumboBtnContainer { .jumboBtnContainer {
float: left;
padding-top: 15px;
display: flex;
white-space: nowrap;
} }
.headlineContainer { .headlineContainer {
float: left;
padding-top: 17px;
margin: 0 50px 0 70px; margin: 0 50px 0 70px;
} }
.hpSections { .hpSections {
@ -57,11 +53,11 @@ let css = csjs`
margin-right: 10px; margin-right: 10px;
} }
.logoContainer { .logoContainer {
margin-top: 7px;
float: left; float: left;
} }
.logoContainer img{ .logoContainer img{
height: 65px; height: 150px;
opacity: 0.5;
} }
.enviroments { .enviroments {
display: flex; display: flex;
@ -91,7 +87,7 @@ export class LandingPage extends ViewPlugin {
} }
render () { render () {
let load = function (service, item, examples, info) { let load = (service, item, examples, info) => {
let compilerImport = new CompilerImport() let compilerImport = new CompilerImport()
let fileProviders = globalRegistry.get('fileproviders').api let fileProviders = globalRegistry.get('fileproviders').api
const msg = yo` const msg = yo`
@ -180,11 +176,12 @@ export class LandingPage extends ViewPlugin {
query.update({appVersion: '0.7.7'}) query.update({appVersion: '0.7.7'})
document.location.reload() document.location.reload()
} }
const img = yo`<img src="assets/img/hexagon-remix-greengrey-texture.png"></img>`
let container = yo`<div class="${css.homeContainer} bg-light"> let container = yo`<div class="${css.homeContainer} bg-light">
<div> <div>
<div class="alert alert-info clearfix ${css.thisJumboton}"> <div class="alert alert-info clearfix ${css.thisJumboton}">
<div class="${css.headlineContainer}"> <div class="${css.headlineContainer}">
<h2 class="">The new layout has arrived</h2> <div class="${css.logoContainer}">${img}</div>
</div> </div>
<div class="${css.jumboBtnContainer} px-5"> <div class="${css.jumboBtnContainer} px-5">
<button class="btn btn-primary btn-lg mx-3" href="#" onclick=${() => learnMore()} role="button">Learn more</button> <button class="btn btn-primary btn-lg mx-3" href="#" onclick=${() => learnMore()} role="button">Learn more</button>

Loading…
Cancel
Save