Skip to content

Commit 76eac7b

Browse files
committed
Added more control over header, colors etc. via config.yml
1 parent 0eed7dd commit 76eac7b

File tree

6 files changed

+61
-35
lines changed

6 files changed

+61
-35
lines changed

_config.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ app_price : 4.99
1010
ios_app_id : 912209541
1111
android_app_id :
1212

13-
# Icon and screenshot
14-
app_icon :
15-
app_video : assets/video.mp4
16-
app_screenshot :
13+
# Icon, screenshot and header image
14+
app_icon : /assets/appicon-1024px.png
15+
app_video : /assets/video.mp4
16+
app_screenshot : /assets/screenshot.png
17+
header_image : /assets/headerimage.png
1718

1819
# Social Links
1920
facebook_username :
@@ -34,8 +35,19 @@ features :
3435
fontawesome_icon_name : adjust
3536

3637
# Theme Settings
37-
accent_color : "#1d63ea"
38-
image_overlay_color : "#363b3d"
38+
accent_color : "#1d63ea"
39+
40+
header_color : "#000000"
41+
header_transparency : 0.1
42+
43+
image_overlay_color : "#363b3d"
44+
image_overlay_transparency : 0.6
45+
46+
feature_icons_foreground_color : "#1d63ea"
47+
feature_icons_background_color : "#e6e6e6"
48+
49+
social_icons_foreground_color : "#666666"
50+
social_icons_background_color : "#e6e6e6"
3951

4052

4153
# Analytics

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<svg width="0" height="0">
66
<defs>
77
<clipPath id="shape">
8-
<path id="Rectangle" class="cls-1" d="M6181.23,233.709v-1.792c0-.5-0.02-1-0.02-1.523a24.257,24.257,0,0,0-.28-3.3,11.207,11.207,0,0,0-1.04-3.132,10.683,10.683,0,0,0-1.95-2.679,10.384,10.384,0,0,0-2.68-1.943,10.806,10.806,0,0,0-3.13-1.038,19.588,19.588,0,0,0-3.3-.285c-0.5-.017-1-0.017-1.52-0.017h-22.39c-0.51,0-1.01.017-1.53,0.017a24.041,24.041,0,0,0-3.3.285,11.009,11.009,0,0,0-3.13,1.038,10.491,10.491,0,0,0-4.62,4.622,10.893,10.893,0,0,0-1.04,3.132,19.2,19.2,0,0,0-.28,3.3c-0.02.5-.02,1-0.02,1.523v22.392c0,0.5.02,1,.02,1.524a24.257,24.257,0,0,0,.28,3.3,10.9,10.9,0,0,0,1.04,3.132,10.491,10.491,0,0,0,4.62,4.622,11.04,11.04,0,0,0,3.13,1.038,19.891,19.891,0,0,0,3.3.285c0.51,0.017,1.01.017,1.53,0.017h22.39c0.5,0,1-.017,1.52-0.017a24.221,24.221,0,0,0,3.3-.285,10.836,10.836,0,0,0,3.13-1.038,10.408,10.408,0,0,0,2.68-1.943,10.683,10.683,0,0,0,1.95-2.679,11.217,11.217,0,0,0,1.04-3.132,20.257,20.257,0,0,0,.28-3.3c0.02-.5.02-1,0.02-1.524v-20.6h0Z" transform="translate(-6131 -218)"/>
8+
<path id="shape" class="cls-1" d="M6181.23,233.709v-1.792c0-.5-0.02-1-0.02-1.523a24.257,24.257,0,0,0-.28-3.3,11.207,11.207,0,0,0-1.04-3.132,10.683,10.683,0,0,0-1.95-2.679,10.384,10.384,0,0,0-2.68-1.943,10.806,10.806,0,0,0-3.13-1.038,19.588,19.588,0,0,0-3.3-.285c-0.5-.017-1-0.017-1.52-0.017h-22.39c-0.51,0-1.01.017-1.53,0.017a24.041,24.041,0,0,0-3.3.285,11.009,11.009,0,0,0-3.13,1.038,10.491,10.491,0,0,0-4.62,4.622,10.893,10.893,0,0,0-1.04,3.132,19.2,19.2,0,0,0-.28,3.3c-0.02.5-.02,1-0.02,1.523v22.392c0,0.5.02,1,.02,1.524a24.257,24.257,0,0,0,.28,3.3,10.9,10.9,0,0,0,1.04,3.132,10.491,10.491,0,0,0,4.62,4.622,11.04,11.04,0,0,0,3.13,1.038,19.891,19.891,0,0,0,3.3.285c0.51,0.017,1.01.017,1.53,0.017h22.39c0.5,0,1-.017,1.52-0.017a24.221,24.221,0,0,0,3.3-.285,10.836,10.836,0,0,0,3.13-1.038,10.408,10.408,0,0,0,2.68-1.943,10.683,10.683,0,0,0,1.95-2.679,11.217,11.217,0,0,0,1.04-3.132,20.257,20.257,0,0,0,.28-3.3c0.02-.5.02-1,0.02-1.524v-20.6h0Z" transform="translate(-6131 -218)"/>
99
</clipPath>
1010
</defs>
1111
</svg>

_sass/base.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ $font: 'Helvetica Neue', sans-serif;
66
$primary-text-color: #000;
77

88
html {
9-
font-size: 62.5%;
9+
font-size: 62.5%;
10+
font-family: $font;
1011
}
1112

1213
body {
13-
font-size: 2rem;
14+
font-size: 2rem;
1415
}
1516

1617
h1 {
@@ -35,6 +36,13 @@ body {
3536
-moz-osx-font-smoothing: grayscale;
3637
}
3738

39+
a:link,
40+
a:hover,
41+
a:visited,
42+
a:active {
43+
color: $accent-color;
44+
}
45+
3846
// Shadows
3947
$drop-shadow: drop-shadow(0px 5px 10px rgba(#000, 0.1)) drop-shadow(0px 1px 1px rgba(#000, 0.2));
4048

_sass/layout.scss

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
body {
2-
box-sizing: border-box;
3-
font-family: $font;
4-
}
5-
6-
.imageWrapper {
7-
width: 100%;
1+
.imageWrapper { // Sets the background image in the header area
82
height: 768px;
93
background:
104
linear-gradient(
11-
rgba($image-overlay-color, 0.6),
12-
rgba($image-overlay-color, 0.6)
5+
rgba($image-overlay-color, $image-overlay-transparency),
6+
rgba($image-overlay-color, $image-overlay-transparency)
137
),
148

15-
url("/assets/headerimage.png");
9+
url($header-image);
1610

1711
background-repeat: no-repeat;
1812
background-size: auto 200%;
@@ -21,12 +15,11 @@ body {
2115
}
2216

2317
.headerBackground {
24-
width: 100%;
2518
height: 115px;
26-
background-color: rgba(#000, 0.1);
19+
background-color: rgba($header-color, $header-transparency);
2720
}
2821

29-
.container {
22+
.container { // Set up the container for the site content
3023
display: grid;
3124
margin: auto;
3225
max-width: $content-width;
@@ -79,7 +72,6 @@ nav {
7972
nav > ul {
8073
display: flex;
8174
list-style-type: none;
82-
padding: 0px;
8375
}
8476

8577
nav > ul li {
@@ -113,23 +105,25 @@ nav > ul li a {
113105
height: 120px;
114106
-webkit-clip-path: url(#shape120);
115107
clip-path: url(#shape120);
108+
margin-right: 30px;
116109
}
117110

118111
.appNamePriceContainer {
119-
padding-left: 30px;
112+
height: 120px;
120113
flex: 0 1 auto;
121-
align-items: flex-start;
114+
align-items: flex-center;
115+
align-content: center;
122116
}
123117

124118
.appName {
125-
margin-top: -5px;
126119
color: #fff;
120+
margin-top: -4px;
127121
}
128122

129123
.appPrice {
130124
color: #fff;
131-
margin-top: 8px;
132125
font-weight: normal;
126+
padding-top: 8px;
133127
}
134128

135129
.appDescriptionContainer {
@@ -151,7 +145,6 @@ nav > ul li a {
151145

152146
.playStore {
153147
margin-right: 25px;
154-
margin-bottom: 25px;
155148
}
156149

157150
.iphonePreview {
@@ -212,19 +205,19 @@ nav > ul li a {
212205
}
213206

214207
.iconBack {
215-
color: rgba(#000000, 0.1);
208+
color: $feature-icons-background-color;
216209
}
217210

218211
.iconTop {
219-
color: $accent-color;
212+
color: $feature-icons-foreground-color;
220213
}
221214

222215
.socialIconBack {
223-
color: rgba(#000000, 0.1);
216+
color: $social-icons-background-color;
224217
}
225218

226219
.socialIconTop {
227-
color:rgba(#000, 0.6);
220+
color: $social-icons-foreground-color;
228221
}
229222

230223

css/main.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@
22
# Front matter comment to ensure Jekyll properly reads file.
33
---
44

5+
$header-image: '{{ site.header_image }}';
6+
57
$accent-color: {{ site.accent_color }};
8+
9+
$header_color: {{ site.header_color }};
10+
$header_transparency: {{ site.header_transparency }};
11+
612
$image-overlay-color: {{ site.image_overlay_color }};
13+
$image-overlay-transparency: {{ site.image_overlay_transparency }};
14+
15+
$feature-icons-foreground-color: {{ site.feature_icons_foreground_color }};
16+
$feature-icons-background-color: {{ site.feature_icons_background_color }};
17+
18+
$social-icons-foreground-color: {{ site.social_icons_foreground_color }};
19+
$social-icons-background-color: {{ site.social_icons_background_color }};
720

821
@import
922
"base",

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<svg width="0" height="0">
1616
<defs>
1717
<clipPath id="screenMask">
18-
<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)"/>
18+
<path id="shape" 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)"/>
1919
</clipPath>
2020
</defs>
2121
</svg>
@@ -26,15 +26,15 @@
2626
</video>
2727
</div>
2828
{% else %}
29-
<img class="iphoneScreen" src="/assets/Screenshot.png">
29+
<img class="iphoneScreen" src="site.app_screenshot">
3030
{% endif %}
3131
</div>
3232
<div class="appInfo">
3333
<div class="appIconShadow">
3434
<svg width="0" height="0">
3535
<defs>
3636
<clipPath id="shape120">
37-
<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)"/>
37+
<path id="shape" 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)"/>
3838
</clipPath>
3939
</defs>
4040
</svg>

0 commit comments

Comments
 (0)