Skip to content

Commit

Permalink
app store links
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzapanther committed Sep 12, 2023
1 parent b481e69 commit 43423ba
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ function showContent() {
showContent();
</script>

<div class="app-buttons" style="text-align: center; display: none;">
<a href="https://apps.apple.com/us/app/wildwood-assembly/id6465793721" target="_blank">
<img src="/img/apple-store.png" alt="Download on the App Store" style="height: 40px;">
</a>
&nbsp;&nbsp;
<a href="https://play.google.com/store/apps/details?id=com.wildwoodag.church&pli=1" target="_blank">
<img src="/img/google-store.png" alt="Get it on Google Play" style="height: 40px;">
</a>
</div>

## Community Concert - Sat Sept 30th

<img alt="Community Concert" src="/img/Community-Concert.jpg" style="width: 100%;">
Expand Down
18 changes: 18 additions & 0 deletions layouts/partials/footer/custom.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<div class="app-buttons" style="text-align: center; display: none;">
<a href="https://apps.apple.com/us/app/wildwood-assembly/id6465793721" target="_blank">
<img src="/img/apple-store.png" alt="Download on the App Store" style="height: 40px;">
</a>
&nbsp;&nbsp;
<a href="https://play.google.com/store/apps/details?id=com.wildwoodag.church&pli=1" target="_blank">
<img src="/img/google-store.png" alt="Get it on Google Play" style="height: 40px;">
</a>
<br><br>
</div>
<script>
function move_social() {
let temp = document.querySelector(".social-menu");
Expand All @@ -11,4 +21,12 @@
window.addEventListener("load", (event) => {
move_social();
});

if (window.Capacitor) {

} else {
document.querySelectorAll(".app-buttons").forEach((e) => {
e.style.display = 'block';
});
}
</script>
Binary file added static/img/apple-store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/google-store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 43423ba

Please sign in to comment.