continued sidebar
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
import Layout from "../layouts/Layout.astro";
|
||||
import { Icon } from "astro-icon/components";
|
||||
const unsortedDocs = await Astro.glob("./docs/*/index.mdx");
|
||||
const docs = unsortedDocs.sort(
|
||||
(a, b) => +new Date(b.frontmatter.date) - +new Date(a.frontmatter.date)
|
||||
@@ -16,29 +17,18 @@ 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>
|
||||
<div style="text-align: left;" />
|
||||
<a href={doc.url}>
|
||||
<h2>{doc.frontmatter.title}</h2>
|
||||
<h2>
|
||||
{doc.frontmatter.repo} <Icon name="mdi:arrow-forward-circle" />
|
||||
</h2>
|
||||
</a>
|
||||
<p>{doc.frontmatter.subtitle}</p>
|
||||
{doc.frontmatter.has_thumbnail ? (
|
||||
<a href={doc.url}>
|
||||
<img
|
||||
width="100%"
|
||||
src={"/img/docs/thumbnails/" + doc.frontmatter.repo + ".webp"}
|
||||
/>
|
||||
</a>
|
||||
<img
|
||||
width="100%"
|
||||
src={"/img/docs/thumbnails/" + doc.frontmatter.repo + ".webp"}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
))
|
||||
|
@@ -3,7 +3,7 @@ layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Editor Presence
|
||||
---
|
||||
<img width="550px" src="https://raw.githubusercontent.com/vaporvee/discord-sdk-godot/main/project/assets/GodotEditorPresenceBanner.svg" />
|
||||
<img width="80%" src="https://raw.githubusercontent.com/vaporvee/discord-sdk-godot/main/project/assets/GodotEditorPresenceBanner.svg" />
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
@@ -17,4 +17,4 @@ title: Editor Presence
|
||||
Editor Presence also updates a bit slower on client side. Your friends will see what you are doing in the exact second even when its not updated for you directly.
|
||||
***
|
||||
(old image)
|
||||
<img width="500px" src="https://github.com/vaporvee/discord-sdk-godot/assets/80621863/72b85ea7-24f1-4136-b788-92590c165a55" />
|
||||
<img width="50%" src="https://github.com/vaporvee/discord-sdk-godot/assets/80621863/72b85ea7-24f1-4136-b788-92590c165a55" />
|
||||
|
Reference in New Issue
Block a user