Skip to content

Commit

Permalink
Prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
misike12 committed Oct 12, 2024
1 parent 4f6f7b5 commit 830963f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions download.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: Download Page
---

# Downloads

<br>

<script setup>
import { useToast } from "vue-toastification";
import { ref } from "vue";

// Get toast interface
const toast = useToast();

const myMethod = () => {
// Since you returned `toast` from setup(), you can access it now
toast("Microsoft Store successfully opened!", {
timeout: 4000,
pauseOnFocusLoss: false,
draggablePercent: 0.6,
showCloseButtonOnHover: true,
closeButton: "button"
});
};
</script>

<div class="linkcard">
<a href="ms-windows-store://pdp/?ProductId=9NBLGGH2JHXJ" @click="myMethod">
<p class="description"><b>Download Minecraft for Windows</b><br><span>Click here to download!</span></p>
<div class="logo">
<img alt="Logo" width="70px" height="70px" src="/assets/images/minecraft-launcher.webp" class="no-viewerjs"/>
</div>
<p class="small-gray-text">🛈 Auto Detected</p>
</a>

</div>

<style>
.linkcard {
position: relative;
}

.small-gray-text {
position: absolute;
bottom: -21px;
left: 5px;
font-size: 0.6em;
color: gray;
}
</style>

0 comments on commit 830963f

Please sign in to comment.