Skip to content

Commit bdd229a

Browse files
committed
Added more automatic input via iTunes lookup API
1 parent 6b914ae commit bdd229a

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ app_description : Wherever some that and kiwi that well
77
one aside canny one preparatory up less therefore
88
hello oh amid goodness checked.
99
app_price : 4.99
10-
ios_app_id :
10+
ios_app_id : 718043190
1111
android_app_id :
1212

1313
# Icon, screenshot and header image

_includes/appstoreimages.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717

1818
$(".headerIcon").attr("src", appInfo.artworkUrl512);
1919
$(".appIconLarge").attr("src", appInfo.artworkUrl512);
20-
$(".iphoneScreen").attr("src", appInfo.screenshotUrls[0]);
20+
// $(".iphoneScreen").attr("src", appInfo.screenshotUrls[0]); Uncommented since Apple does not provide iPhone X/XS/XR screenshots in their iTunes lookup API
21+
$(".appName, .headerName").html(appInfo.trackName);
22+
$(".appPrice").html(appInfo.formattedPrice);
23+
$(".appStoreLink").attr("href", appInfo.trackViewUrl);
24+
25+
console.info(appInfo);
2126

2227
}
2328
});

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<footer>
2-
<p class="footerText">Designed and developed by <a href="http://emilbaehr.com">Emil Baehr</a> in Copenhagen</p>
2+
<p class="footerText">Made by <a href="{{ site.your_link }}">{{ site.your_name }}</a> in {{ site.your_city }}</p>
33
<div class="footerIcons">
44

55
{% if site.facebook_username %}

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</svg>
1212
<img class="headerIcon" src="{{ site.app_icon }}">
1313
</div>
14-
<p>{{ site.app_name }}</p>
14+
<p class="headerName">{{ site.app_name }}</p>
1515
</div>
1616
<nav>
1717
<ul>

assets/Screenshot.png

293 KB
Loading

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ <h2 class="appPrice">
5454
</p>
5555
</div>
5656
<div class="downloadButtonsContainer">
57-
<a href="https://"><img class="playStore" src="/assets/playstore.png"></a>
58-
<a href="https://"><img class="appStore" src="/assets/appstore.png"></a>
57+
<a class="playStoreLink" href=""><img class="playStore" src="/assets/playstore.png"></a>
58+
<a class="appStoreLink" href=""><img class="appStore" src="/assets/appstore.png"></a>
5959
</div>
6060
</div>
6161
{% include features.html %}

0 commit comments

Comments
 (0)