target blank, image resize and repo lin moved

This commit is contained in:
2024-02-06 00:21:43 +01:00
parent a9cf294ec4
commit 36fed98627
4 changed files with 19 additions and 13 deletions

View File

@@ -4,7 +4,8 @@ import "../styles/footer.scss";
---
<footer>
&copy vaporvee 2021-{year} 🞄 <a href="https://github.com/vaporvee/web"
>Sourcecode</a
>
&copy vaporvee 2021-{year} 🞄 <a
href="https://github.com/vaporvee/web"
target="_blank">Sourcecode</a
>
</footer>

View File

@@ -24,13 +24,13 @@ const docs = unsortedDocs
}
</div>
<div class="content">
<h1 style="text-align: center;">{frontmatter.title}</h1>
<a href={"https://github.com/vaporvee/" + frontmatter.repo}
<a href={"https://github.com/vaporvee/" + frontmatter.repo} target="_blank"
><img
src="/github-mark.svg"
style="margin-bottom: -10px; margin-right:3px;"
/>Respository</a
><br />
<h1 style="text-align: center;">{frontmatter.title}</h1>
<br />
<hr style="width: 100%; margin: 2vh;" />
<br />

View File

@@ -16,17 +16,22 @@ const docs = unsortedDocs.sort(
{
docs.map((doc) => (
<div class="second-content">
<div style="text-align: left;">
<a
href={"https://github.com/vaporvee/" + doc.frontmatter.repo}
target="_blank"
>
<img
src="/github-mark.svg"
style="margin-bottom: -10px; margin-right:3px;"
/>
Respository
</a>
</div>
<a href={doc.url}>
<h2>{doc.frontmatter.title}</h2>
</a>
<p>{doc.frontmatter.subtitle}</p>
<a href={"https://github.com/vaporvee/" + doc.frontmatter.repo}>
<img
src="/github-mark.svg"
style="margin-bottom: -10px; margin-right:3px;"
/>
<p>Respository</p>
</a>
{doc.frontmatter.has_thumbnail ? (
<a href={doc.url}>
<img

View File

@@ -74,7 +74,7 @@ func _ready():
**Then it will look similar to this:**
<img width="30%" src="https://raw.githubusercontent.com/vaporvee/discord-sdk-godot/main/project/assets/ActivityPreview.svg" />
<img width="400px" src="https://raw.githubusercontent.com/vaporvee/discord-sdk-godot/main/project/assets/ActivityPreview.svg" />
[**Try a built demo**](https://github.com/vaporvee/discord-sdk-godot/releases/latest/download/Demo-Export.zip)<br /><br />