Skip to content

Commit 3ec0fdf

Browse files
committed
Trying more stuff
1 parent 47e9ffa commit 3ec0fdf

File tree

6 files changed

+65
-70
lines changed

6 files changed

+65
-70
lines changed

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ your_link : https://emilbaehr.com
2020
your_city : Copenhagen # Tell people where you're from.
2121

2222
# Icon, screenshot and header image
23-
app_icon : # ../../assets/appicon-1024px.png # Automatically populates if not set and if iOS app ID is set. Otherwise enter path to icon file manually.
24-
app_video : # ../../assets/video.mp4 # Uncomment and replace with path to app preview video. Optimal resolutions: 1242x2688 or 1125x2436.
25-
app_screenshot : assets/screenshot.png # Replace with alternateive image path. Does not automatically populate since Apple does not provide iPhone X/XS/XR screenshots in their iTunes lookup API.
26-
header_image : ../../assets/headerimage.png # Replace with alternative image path.
23+
app_icon : # ../assets/appicon-1024px.png # Automatically populates if not set and if iOS app ID is set. Otherwise enter path to icon file manually.
24+
app_video : # ../assets/video.mp4 # Uncomment and replace with path to app preview video. Optimal resolutions: 1242x2688 or 1125x2436.
25+
app_screenshot : ../assets/screenshot.png # Replace with alternateive image path. Does not automatically populate since Apple does not provide iPhone X/XS/XR screenshots in their iTunes lookup API.
26+
header_image : ../assets/headerimage.png # Replace with alternative image path.
2727
device_color : black # Set to blue, black, yellow, coral or white
2828

2929
# Social Links # Enter usernames and email address. If set, they will be presented as links in the footer.

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
{% endif %}
2020

2121
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
22-
<link rel="stylesheet" href="themes/default/main.css">
22+
<link rel="stylesheet" href="main.css">
2323
</head>

_layouts/default.html

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,64 @@
22
<html lang="en-us">
33

44
{% include head.html %}
5-
<body>
6-
7-
{{ content }}
85

6+
<body>
7+
<div class="imageWrapper">
8+
<div class="headerBackground">
9+
<div class="container">
10+
{% include header.html %}
11+
<div class="iphonePreview">
12+
<svg width="0" height="0">
13+
<defs>
14+
<clipPath id="screenMask">
15+
<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)"/>
16+
</clipPath>
17+
</defs>
18+
</svg>
19+
{% if site.app_video %}
20+
<div class="videoContainer">
21+
<video autoplay="autoplay" controls="controls">
22+
<source src="{{ site.app_video }}" type="video/mp4">
23+
</video>
24+
</div>
25+
{% else %}
26+
<img class="iphoneScreen" src="{{ site.app_screenshot }}">
27+
{% endif %}
28+
</div>
29+
<div class="appInfo">
30+
<div class="appIconShadow">
31+
<svg width="0" height="0">
32+
<defs>
33+
<clipPath id="shape120">
34+
<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)"/>
35+
</clipPath>
36+
</defs>
37+
</svg>
38+
<img class="appIconLarge" src="{{ site.app_icon }}">
39+
</div>
40+
<div class="appNamePriceContainer">
41+
<h1 class="appName">
42+
{{ site.app_name }}
43+
</h1>
44+
<h2 class="appPrice">
45+
{{ site.app_price }}
46+
</h2>
47+
</div>
48+
<div class="appDescriptionContainer">
49+
<p class ="appDescription">
50+
{{ site.app_description }}
51+
</p>
52+
</div>
53+
<div class="downloadButtonsContainer">
54+
<a class="playStoreLink" href=""><img class="playStore" src="../assets/playstore.png"></a>
55+
<a class="appStoreLink" href=""><img class="appStore" src="../assets/appstore.png"></a>
56+
</div>
57+
</div>
58+
{% include features.html %}
59+
{% include footer.html %}
60+
{% include appstoreimages.html %}
61+
</div>
62+
</div>
63+
</div>
964
</body>
1065
</html>

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
22
layout: default
3-
---
4-
5-
{% include_relative themes/default/index.html %}
3+
---

themes/default/main.scss renamed to main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44

55
$header-image: "{{ site.header_image }}";
6-
$device-color: "../../assets/{{ site.device_color }}.png";
6+
$device-color: "../assets/{{ site.device_color }}.png";
77
$primary-text-color: {{ site.primary_text_color }};
88
$secondary-text-color: {{ site.secondary_text_color }};
99

themes/default/index.html

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

0 commit comments

Comments
 (0)