diff --git a/apps/remix-ide/src/app/ui/landing-page/landing-page.js b/apps/remix-ide/src/app/ui/landing-page/landing-page.js index 0fdf657bfc..74a86ad83d 100644 --- a/apps/remix-ide/src/app/ui/landing-page/landing-page.js +++ b/apps/remix-ide/src/app/ui/landing-page/landing-page.js @@ -32,12 +32,24 @@ let css = csjs` margin:30px; padding-right: 90px; } + .mediaBadge { + font-size: 2em; + height: 2em; + width: 2em; + } + .logoImg { + height: 10em; + } .hpSections { min-width: 640px; } .remixHomeMedia { - overflow-x: hidden; overflow-y: auto; + overflow-x: hidden; + max-height: 570px; + } + .panels { + box-shadow: 5px 5px 15px 0px; } .labelIt { margin-bottom: 0; @@ -49,9 +61,6 @@ let css = csjs` .importFrom p { margin-right: 10px; } - .logoContainer { - float: left; - } .logoContainer img{ height: 150px; opacity: 0.7; @@ -66,18 +75,14 @@ let css = csjs` width: 120px; height: 70px; } - .block input[type='radio']:checked ~ .media{ - width: auto; - display: block; - transition: .5s ease-in; - } - .media{ - width: 0; - display: none; + .media { overflow: hidden; + width: 400px; transition: .5s ease-out; + z-index: 1000; } - .mediumPanel { + + .mediaMedium { width: 400px; } } @@ -106,7 +111,7 @@ export class LandingPage extends ViewPlugin { this.twitterFrame = yo`
` + this.badgeTwitter = yo`` + this.badgeMedium = yo`` + this.twitterPanel = yo` +
+ ${this.twitterFrame} +
+ ` + this.mediumPanel = yo` +
+
+
+
+
+
+ ` globalRegistry.get('themeModule').api.events.on('themeChanged', (theme) => { console.log("theme is ", theme.quality) this.onThemeChanged(theme.quality) @@ -127,7 +165,7 @@ export class LandingPage extends ViewPlugin { let twitterFrame = yo`
{ let compilerImport = new CompilerImport() @@ -233,7 +283,11 @@ export class LandingPage extends ViewPlugin { const createLargeButton = (imgPath, envID, envText, callback) => { return yo` - @@ -263,107 +317,97 @@ export class LandingPage extends ViewPlugin { query.update({appVersion: '0.7.7'}) document.location.reload() } - const img = yo`` + const img = yo`` // to retrieve medium posts document.body.appendChild(yo``) const container = yo`
-
-
- - - ${this.twitterFrame} -
-
- - -
-
-
+
+
+

File

+

+ + createNewFile()}>New File +

+

+ + + Open Files + + +

+

+ + connectToLocalhost()}>Connect to Localhost +

+

+
+ + + + + + +
+
+
+

Resources

+

+ + Documentation +

+

+ + Gitter channel +

+

+ + Medium Posts +

+

+ + switchToPreviousVersion()}>Old experience +

+
+
+
+
+
+
+ ${this.badgeTwitter} + ${this.badgeMedium} +
+
+ ${this.mediumPanel} + ${this.twitterPanel}