Skip to content

Commit 1f3af37

Browse files
committed
Added header iPhone screenshot and a shadow for the app icon
1 parent ad0b2ff commit 1f3af37

File tree

6 files changed

+62
-9
lines changed

6 files changed

+62
-9
lines changed

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<footer>
2-
<p>Made by <a href="http://emilbaehr.com">Emil Baehr</a> in Copenhagen</p>
2+
<p class="footerText">Made by <a href="http://emilbaehr.com">Emil Baehr</a> in Copenhagen</p>
33
</footer>

_sass/layout.scss

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ body {
3535
padding-right: 15px;
3636
grid-column-gap: 50px;
3737
grid-template-columns: repeat(12, 1fr);
38-
grid-template-rows: 115px 883px 1000px 200px;
38+
grid-template-rows: 115px 960px 1000px 200px;
3939
grid-column-gap: 30px;
4040
grid-template-areas:
4141
"h h h h h h h h h h h h"
@@ -108,6 +108,13 @@ nav > ul li a {
108108
align-content: flex-start;
109109
}
110110

111+
.appIconShadow {
112+
margin: 0px;
113+
padding: 0px;
114+
display: flex;
115+
filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.1)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.1));
116+
}
117+
111118
.appIconLarge {
112119
width: 120px;
113120
height: 120px;
@@ -155,15 +162,39 @@ nav > ul li a {
155162
margin-left: 24px;
156163
}
157164

165+
.appStore > img {
166+
box-shadow: 0px 0px 1px 3px rgba(0, 0, 0, 1), 0px 0px 5px 10px rgba(0, 0, 0, 1);
167+
}
168+
158169
.playStore {
159170
}
160171

172+
.iphonePreview {
173+
background-image: url(/assets/Blue.png);
174+
background-repeat: no-repeat;
175+
margin-top: 68px;
176+
}
177+
178+
.iphoneScreen {
179+
width: 388px;
180+
height: 839px;
181+
-webkit-clip-path: url(#screenMask);
182+
clip-path: url(#screenMask);
183+
margin-left: 22px;
184+
margin-top: 27px;
185+
}
186+
161187
.features {
162188
grid-area: c;
163189
background-color:rgb(255, 208, 0);
164190
}
165191

166192
footer {
167193
grid-area: f;
168-
background-color:rgb(255, 2, 2);
194+
display: flex;
195+
justify-content: center;
196+
}
197+
198+
.footerText {
199+
margin: 0px;
169200
}

assets/Blue.png

29.8 KB
Loading

assets/Screen.svg

Lines changed: 11 additions & 0 deletions
Loading

assets/Screenshot.png

181 KB
Loading

index.html

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,28 @@
1313
{% include header.html %}
1414

1515
<div class="iphonePreview">
16-
</div>
17-
18-
<div class="appInfo">
1916
<svg width="0" height="0">
2017
<defs>
21-
<clipPath id="shape120">
22-
<path id="Background" class="cls-1" d="M6821,495.533v-4.281c0-1.2-.04-2.4-0.04-3.642a57.7,57.7,0,0,0-.68-7.882,26.144,26.144,0,0,0-2.48-7.483,25.115,25.115,0,0,0-11.04-11.044,26.118,26.118,0,0,0-7.49-2.481,47.28,47.28,0,0,0-7.88-.68c-1.2-.04-2.4-0.04-3.64-0.04h-53.5c-1.2,0-2.4.04-3.64,0.04a57.813,57.813,0,0,0-7.88.68,26.323,26.323,0,0,0-7.49,2.481,25.115,25.115,0,0,0-11.04,11.044,26.144,26.144,0,0,0-2.48,7.483,47.313,47.313,0,0,0-.68,7.882c-0.04,1.2-.04,2.4-0.04,3.642v53.5c0,1.2.04,2.4,0.04,3.641a57.7,57.7,0,0,0,.68,7.883,26.137,26.137,0,0,0,2.48,7.482,25.115,25.115,0,0,0,11.04,11.044,26.261,26.261,0,0,0,7.49,2.481,47.28,47.28,0,0,0,7.88.68c1.2,0.04,2.4.04,3.64,0.04h53.5c1.2,0,2.4-.04,3.64-0.04a57.654,57.654,0,0,0,7.88-.68,26.057,26.057,0,0,0,7.49-2.481,25.115,25.115,0,0,0,11.04-11.044,26.137,26.137,0,0,0,2.48-7.482,47.316,47.316,0,0,0,.68-7.883c0.04-1.2.04-2.4,0.04-3.641V495.533h0Z" transform="translate(-6701 -458)"/>
18+
<clipPath id="screenMask">
19+
<path id="Screen" class="cls-1" d="M6490.24,1234.36H6216.28c-2.57,0-10.55-.07-12.07-0.07a87.524,87.524,0,0,1-12-1.03,40.051,40.051,0,0,1-11.4-3.79,38.315,38.315,0,0,1-16.82-16.84,39.948,39.948,0,0,1-3.78-11.42,72.257,72.257,0,0,1-1.04-12.02c-0.06-1.83-.06-5.56-0.06-5.56V452.125h0s0.06-11.391.06-12.086a87.9,87.9,0,0,1,1.04-12.025,39.843,39.843,0,0,1,3.78-11.413,38.283,38.283,0,0,1,16.82-16.847,39.762,39.762,0,0,1,11.4-3.785,71.909,71.909,0,0,1,12-1.037c16.99-.567,36.32-0.061,34.51-0.061,5.02,0,6.5,3.439,6.63,6.962a35.611,35.611,0,0,0,1.2,8.156,21.326,21.326,0,0,0,19.18,15.592c2.28,0.192,6.78.355,6.78,0.355H6433.7s4.5-.059,6.79-0.251a21.348,21.348,0,0,0,19.18-15.591,35.582,35.582,0,0,0,1.19-8.154c0.13-3.523,1.61-6.962,6.64-6.962-1.81,0,17.52-.5,34.5.061a71.923,71.923,0,0,1,12.01,1.038,39.832,39.832,0,0,1,11.4,3.784,38.283,38.283,0,0,1,16.82,16.844,40.153,40.153,0,0,1,3.78,11.413,87.844,87.844,0,0,1,1.03,12.023c0,0.695.06,12.084,0.06,12.084h0V1183.64s0,3.72-.06,5.55a72.366,72.366,0,0,1-1.03,12.03,40.2,40.2,0,0,1-3.78,11.41,38.315,38.315,0,0,1-16.82,16.84,40.155,40.155,0,0,1-11.4,3.79,87.669,87.669,0,0,1-12.01,1.03c-1.52,0-9.5.07-12.07,0.07" transform="translate(-6159.12 -394.656)"/>
2320
</clipPath>
2421
</defs>
2522
</svg>
26-
<img class="appIconLarge" src="/assets/appicon-1024px.png">
23+
<img class="iphoneScreen" src="/assets/Screenshot.png">
24+
</div>
25+
26+
<div class="appInfo">
27+
<div class="appIconShadow">
28+
<svg width="0" height="0">
29+
<defs>
30+
<clipPath id="shape120">
31+
<path id="Background" class="cls-1" d="M6821,495.533v-4.281c0-1.2-.04-2.4-0.04-3.642a57.7,57.7,0,0,0-.68-7.882,26.144,26.144,0,0,0-2.48-7.483,25.115,25.115,0,0,0-11.04-11.044,26.118,26.118,0,0,0-7.49-2.481,47.28,47.28,0,0,0-7.88-.68c-1.2-.04-2.4-0.04-3.64-0.04h-53.5c-1.2,0-2.4.04-3.64,0.04a57.813,57.813,0,0,0-7.88.68,26.323,26.323,0,0,0-7.49,2.481,25.115,25.115,0,0,0-11.04,11.044,26.144,26.144,0,0,0-2.48,7.483,47.313,47.313,0,0,0-.68,7.882c-0.04,1.2-.04,2.4-0.04,3.642v53.5c0,1.2.04,2.4,0.04,3.641a57.7,57.7,0,0,0,.68,7.883,26.137,26.137,0,0,0,2.48,7.482,25.115,25.115,0,0,0,11.04,11.044,26.261,26.261,0,0,0,7.49,2.481,47.28,47.28,0,0,0,7.88.68c1.2,0.04,2.4.04,3.64,0.04h53.5c1.2,0,2.4-.04,3.64-0.04a57.654,57.654,0,0,0,7.88-.68,26.057,26.057,0,0,0,7.49-2.481,25.115,25.115,0,0,0,11.04-11.044,26.137,26.137,0,0,0,2.48-7.482,47.316,47.316,0,0,0,.68-7.883c0.04-1.2.04-2.4,0.04-3.641V495.533h0Z" transform="translate(-6701 -458)" filter="url(#f1)"/>
32+
</clipPath>
33+
</defs>
34+
</svg>
35+
<img class="appIconLarge" src="/assets/appicon-1024px.png">
36+
</div>
37+
2738
<div class="appNamePriceContainer">
2839
<h1 class="appName">
2940
Your App

0 commit comments

Comments
 (0)