Skip to content

Commit

Permalink
Closes #3465
Browse files Browse the repository at this point in the history
  • Loading branch information
xiam committed Feb 10, 2016
1 parent 6ce21ec commit bf7dc97
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 7 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ docker-genassets: require-npm
APP="$$LANTERN_UI/app" && \
DIST="$$LANTERN_UI/dist" && \
echo 'var LANTERN_BUILD_REVISION = "$(GIT_REVISION_SHORTCODE)";' > $$APP/js/revision.js && \
git update-index --assume-unchanged $$APP/js/revision.js && \
if [[ ! -d $$DIST ]]; then \
UPDATE_DIST=true; \
fi && \
Expand Down
24 changes: 19 additions & 5 deletions src/github.com/getlantern/lantern-ui/app/_css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -7983,6 +7983,7 @@ body.giveMode #npending {
#mobile-ad {
width: 627px;
height: 473px;

border: 1px solid #000;
text-align: center;

Expand All @@ -7996,11 +7997,6 @@ body.giveMode #npending {
margin: 0px;
}

#mobile-ad-image {
width: 625px;
height: 312px;
}

#mobile-ad #get-the-app-via-email {
width: 109px;
height: 16.8px;
Expand Down Expand Up @@ -8130,3 +8126,21 @@ input.fail::-moz-placeholder {
input.fail:-ms-input-placeholder {
color: red;
}

@media (max-width: 750px) {
#mobile-ad {
width: 502px;
height: 423px;
}
p.download-link b {
display: block;
}
}

@media (max-width: 600px) {
#mobile-ad {
top: 170px;
width: 376px;
height: 363px;
}
}
85 changes: 85 additions & 0 deletions src/github.com/getlantern/lantern-ui/app/img/ui-header-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="message">
<a href="https://getlantern.org" target="_blank">
<img id="logo" src="/img/ui-header-logo.png"></a><br/><span ng-show="!backendIsGone || wsConnected">{{ 'WELCOME_TO_LANTERN_BLOCKED_SITES' | translate }}</span>
<img id="logo" src="/img/ui-header-logo.svg"></a><br/><span ng-show="!backendIsGone || wsConnected">{{ 'WELCOME_TO_LANTERN_BLOCKED_SITES' | translate }}</span>
</div>

<div id="mobile-ad" ng-show="showMobileAd">
<img ng-src="/img/mobile-ad/{{ 'LANG_ID' | translate }}/main.png" id="mobile-add-image" />
<img ng-src="/img/mobile-ad/{{ 'LANG_ID' | translate }}/main.png" id="mobile-ad-image" />
<img ng-src="/img/mobile-ad/{{ 'LANG_ID' | translate }}/get-the-app-text.svg" id="get-the-app-via-email" />
<form ng-submit="sendMobileAppLink()">
<div class="mail-input-wrapper">
Expand Down

0 comments on commit bf7dc97

Please sign in to comment.