Skip to content
This repository was archived by the owner on Feb 20, 2020. It is now read-only.

Commit d4f86c2

Browse files
committed
redesign landing page
1 parent 98675ed commit d4f86c2

File tree

6 files changed

+78
-25
lines changed

6 files changed

+78
-25
lines changed

app/assets/img/phone_new.svg

Lines changed: 19 additions & 0 deletions
Loading

app/assets/img/smartphone.svg

Lines changed: 0 additions & 21 deletions
This file was deleted.

app/components/landing-page/landing-page.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33

44
<div class="landing-page__top-content" layout="row" layout-align="space-around center">
55
<div class="landing-page__mobile-preview">
6-
<img src="./img/smartphone.svg" class="landing-page__smartphone-img" alt="" />
6+
<object class="landing-page__smartphone-img" type="image/svg+xml" data="/img/phone_new.svg"></object>
77
</div>
88

99
<div class="landing-page__form-container" layout="column" layout-align="center center">
10-
<h2 class="landing-page__form-header">Crowdsource and fund projects together</h2>
10+
<img class="landing-page__logo" ng-src="/img/color_logo.svg" alt=""/>
11+
12+
<h2 class="landing-page__form-header">Crowdsource and fund projects</h2>
13+
14+
<h3 class="landing-page__form-subheader">Activate <span class="landing-page__form-subheader-faded">hidden</span> talent</h3>
1115

1216
<form novalidate name="emailForm" class="landing-page__form" ng-submit="emailForm.$valid && startGroup()">
1317
<div class="landing-page__input-container">

app/components/landing-page/landing-page.scss

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,33 @@
3030

3131
// form
3232

33+
.landing-page__logo {
34+
max-width: 300px;
35+
margin-bottom: 15px;
36+
}
37+
3338
.landing-page__form-header {
3439
font-weight: 300;
3540
font-size: 34px;
3641
text-align: center;
3742
margin-top: 0;
43+
margin-bottom: 15px;
44+
}
45+
46+
.landing-page__form-subheader {
47+
color: #68696B;
48+
font-weight: 400;
49+
font-size: 24px;
50+
margin: 0;
51+
margin-bottom: 15px;
52+
}
53+
54+
.landing-page__form-subheader-faded {
55+
color: #AEB0B3;
3856
}
3957

4058
.landing-page__form-container {
41-
width: 350px;
59+
width: 475px;
4260
}
4361

4462
.landing-page__form {
@@ -64,6 +82,7 @@
6482
font-weight: 400;
6583
text-align: center;
6684
width: 220px;
85+
margin-bottom: 5px;
6786
}
6887

6988
.landing-page__email-field:focus {
@@ -122,10 +141,24 @@
122141

123142
// mobile
124143

125-
@media (max-width: 720px) {
144+
@media (max-width: 900px) {
126145
.landing-page__mobile-preview {
127146
display: none;
128147
}
148+
149+
.landing-page-toolbar__logo-link {
150+
display: none;
151+
}
152+
153+
.landing-page-toolbar__logo-link-buffer {
154+
display: none;
155+
}
156+
}
157+
158+
@media (min-width: 900px) {
159+
.landing-page__logo {
160+
display: none;
161+
}
129162
}
130163

131164
@media (max-height: 420px) {

app/directives/landing-page-toolbar/landing-page-toolbar.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<div class="landing-page-toolbar" layout="row" layout-align="end center">
2+
<a href="/" class="landing-page-toolbar__logo-link">
3+
<img class="landing-page-toolbar__logo" ng-src="/img/color_logo.svg" alt=""/>
4+
</a>
5+
6+
<span class="landing-page-toolbar__logo-link-buffer" flex></span>
7+
28
<div class="landing-page-toolbar__header-btns">
39
<md-button ng-if="false" class="landing-page-toolbar__header-btn" ng-click="redirectToAboutPage()">About</md-button>
410
<md-button class="landing-page-toolbar__header-btn" ng-click="redirectToResourcesPage()">Resources</md-button>

app/directives/landing-page-toolbar/landing-page-toolbar.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@
88
padding-right: 20px;
99
}
1010

11+
.landing-page-toolbar__logo {
12+
width: 150px;
13+
margin-left: 25px;
14+
height: 35px;
15+
}
16+
17+
.landing-page-toolbar__logo-link {
18+
&:focus {
19+
outline: none;
20+
}
21+
}
22+
1123
.landing-page-toolbar__header-btn {
1224
font-size: 15px;
1325
font-weight: 400;

0 commit comments

Comments
 (0)