Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
f6b756bd
Unverified
Commit
f6b756bd
authored
Sep 26, 2019
by
yann300
Committed by
GitHub
Sep 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2371 from ethereum/logo_homepage
Use Logo in the homepage
parents
89c9cf28
d2344b63
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
hexagon-remix-greengrey-texture.png
assets/img/hexagon-remix-greengrey-texture.png
+0
-0
landing-page.js
src/app/ui/landing-page/landing-page.js
+8
-11
No files found.
assets/img/hexagon-remix-greengrey-texture.png
0 → 100644
View file @
f6b756bd
423 KB
src/app/ui/landing-page/landing-page.js
View file @
f6b756bd
...
@@ -26,20 +26,16 @@ let css = csjs`
...
@@ -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`
...
@@ -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 {
...
@@ -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
`
...
@@ -111,7 +107,7 @@ export class LandingPage extends ViewPlugin {
...
@@ -111,7 +107,7 @@ export class LandingPage extends ViewPlugin {
modalDialogCustom
.
alert
(
error
)
modalDialogCustom
.
alert
(
error
)
}
else
{
}
else
{
fileProviders
[
'browser'
].
addReadOnly
(
type
+
'/'
+
cleanUrl
,
content
,
url
)
fileProviders
[
'browser'
].
addReadOnly
(
type
+
'/'
+
cleanUrl
,
content
,
url
)
globalRegistry
.
get
(
'verticalicon'
).
api
.
select
(
'fileExplorers'
)
this
.
verticalIcons
.
select
(
'fileExplorers'
)
}
}
}
}
)
)
...
@@ -180,11 +176,12 @@ export class LandingPage extends ViewPlugin {
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment