From cd4cadf23fd4d18cc5dc85d7654cd4173e076eb4 Mon Sep 17 00:00:00 2001 From: bd_ Date: Sun, 29 Sep 2024 12:40:28 -0700 Subject: [PATCH] docs: add discord link --- docs~/src/css/custom.css | 20 ++++++++++++++++++++ docs~/src/pages/index.tsx | 29 ++++++++++++++++++----------- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/docs~/src/css/custom.css b/docs~/src/css/custom.css index c7fa3eb1..4ce92276 100644 --- a/docs~/src/css/custom.css +++ b/docs~/src/css/custom.css @@ -64,4 +64,24 @@ img { aspect-ratio: auto; height: auto; +} + +.discordLink { + display: block; + height: 2em; + object-fit: cover; + padding: 0.1em; +} + +img.button { + /*aspect-ratio: auto;*/ + + height: 100%; + object-fit: cover; + padding: 0; + margin: 0; +} + +.button-group + .button-group { + margin-top: 1em; } \ No newline at end of file diff --git a/docs~/src/pages/index.tsx b/docs~/src/pages/index.tsx index 50dd02de..88796298 100644 --- a/docs~/src/pages/index.tsx +++ b/docs~/src/pages/index.tsx @@ -29,7 +29,7 @@ function HomepageHeader() {

Drag-and-Drop Avatar Assembly

-
+
Tutorials
+
+ + Discord + +
); } export default function Home(): JSX.Element { - const {siteConfig} = useDocusaurusContext(); - return ( - - -
- -
-
+ const {siteConfig} = useDocusaurusContext(); + return ( + + +
+ +
+
); }