mirror of
https://git.suyu.dev/suyu/website.git
synced 2025-12-22 05:36:13 +01:00
Fix invalid release
This commit is contained in:
parent
4f108a602b
commit
70ac650c7e
2 changed files with 9 additions and 8 deletions
|
|
@ -45,10 +45,11 @@
|
||||||
const releases = await response.json();
|
const releases = await response.json();
|
||||||
const latestRelease = releases[0].name;
|
const latestRelease = releases[0].name;
|
||||||
|
|
||||||
|
console.log(latestRelease)
|
||||||
// Release found
|
// Release found
|
||||||
if (latestRelease) {
|
if (latestRelease) {
|
||||||
console.log("Latest release tag:", latestRelease.name);
|
console.log("Latest release tag:", latestRelease);
|
||||||
return latestRelease.name; // Assuming the first result is the latest
|
return latestRelease; // Assuming the first result is the latest
|
||||||
} else {
|
} else {
|
||||||
console.log("No releases found.");
|
console.log("No releases found.");
|
||||||
return null;
|
return null;
|
||||||
|
|
@ -77,7 +78,7 @@
|
||||||
} else {
|
} else {
|
||||||
window.location.href = `https://git.suyu.dev/suyu/suyu/releases/${latestRelease}/`;
|
window.location.href = `https://git.suyu.dev/suyu/suyu/releases/${latestRelease}/`;
|
||||||
}
|
}
|
||||||
}, 3000);
|
}, 30000);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -107,13 +108,13 @@
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
<h1 class="text-24px leading-1.41 md:text-60px md:leading-1.1">
|
<h1 class="text-[24px] leading-[1.41] md:text-[60px] md:leading-[1.1]">
|
||||||
{@html htmlContent}
|
{@html htmlContent}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p class="max-w-[36rem] text-lg leading-relaxed text-[#A6A5A7]">
|
<p class="max-w-[36rem] text-lg leading-relaxed text-[#A6A5A7]">
|
||||||
Your download should start shortly. If it doesn't, click <a
|
Your download should start shortly. If it doesn't, click <a
|
||||||
href="https://gitlab.suyu.dev/suyu/suyu/releases">here</a
|
href="https://gitlab.suyu.dev/suyu/suyu/releases"><u>here</u></a
|
||||||
>.
|
>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -39,11 +39,11 @@
|
||||||
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: What is the purpose of Suyu?</p>
|
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: What is the purpose of Suyu?</p>
|
||||||
<p class= "text-m text-[15px]">A: The purpose of this project is to provide a free, open-source alternative to the now-dead Yuzu emulator. We believe that the community should be able to emulate their Switch device (legally) and be able to enjoy their favorite game titles.</p>
|
<p class= "text-m text-[15px]">A: The purpose of this project is to provide a free, open-source alternative to the now-dead Yuzu emulator. We believe that the community should be able to emulate their Switch device (legally) and be able to enjoy their favorite game titles.</p>
|
||||||
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: How can I contribute to Suyu?</p>
|
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: How can I contribute to Suyu?</p>
|
||||||
<p class= "text-m text-[15px]">A: You can contribute to this project by submitting a pull request on our <a href="https://git.suyu.dev/suyu/suyu">Git</a> page. We are always looking for new contributors to help us improve the project!</p>
|
<p class= "text-m text-[15px]">A: You can contribute to this project by submitting a pull request on our <a href="https://git.suyu.dev/suyu/suyu"><u>Git</u></a> page. We are always looking for new contributors to help us improve the project!</p>
|
||||||
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: Where can I download Suyu?</p>
|
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: Where can I download Suyu?</p>
|
||||||
<p class= "text-m text-[15px]">A: You can download the latest build of Suyu from our <a href="https://git.suyu.dev/suyu/suyu/releases">Git</a>. Please make sure you are using the right URL!</p>
|
<p class= "text-m text-[15px]">A: You can download the latest build of Suyu from our <a href="https://git.suyu.dev/suyu/suyu/releases"><u>Git</u></a>. Please make sure you are using the right URL!</p>
|
||||||
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: What is the current progress for Suyu?</p>
|
<p class="text-[15px] leading-[1.41] md:text-[19px] md:leading-[1.1]">Q: What is the current progress for Suyu?</p>
|
||||||
<p class= "text-m text-[15px]">A: As of 3/20/2024, we have released our first Windows binary 🎉! You can find it <a href="https://git.suyu.dev/suyu/suyu/releases">here</a>. We are always trying to make more and more progress, so please feel free to <a href="https://discord.gg/suyu">join the Discord!</a></p>
|
<p class= "text-m text-[15px]">A: As of 3/20/2024, we have released our first Windows binary 🎉! You can find it <a href="https://git.suyu.dev/suyu/suyu/releases"><u>here</u></a>. We are always trying to make more and more progress, so please feel free to <a href="https://discord.gg/suyu"><u>join the Discord!</u></a></p>
|
||||||
<br />
|
<br />
|
||||||
<div class="leading-[1.41] items-center text-[15px] md:leading-[1.1] flex gap-2 text-gray-600">Email hosting lovingly provided by
|
<div class="leading-[1.41] items-center text-[15px] md:leading-[1.1] flex gap-2 text-gray-600">Email hosting lovingly provided by
|
||||||
<a href="https://tuta.com" target="_blank">
|
<a href="https://tuta.com" target="_blank">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue