Browse Source

docs: update community section and links

- Updated Discord link in the app configuration to the new invite.
- Changed version display in AppHeader to 'v5'.
- Added new community navigation section with links to Discord and resources.
- Updated description in the Awesome Resources page for clarity.
alvarosabu 3 days ago
parent
commit
590f899881

+ 1 - 1
docs/app/app.config.ts

@@ -59,7 +59,7 @@ const newLocal = {
       'aria-label': 'TresJS Website',
     }, {
       'icon': 'i-simple-icons-discord',
-      'to': 'https://discord.gg/Q6ncbJdQ',
+      'to': 'https://discord.gg/WTpvaxr5',
       'target': '_blank',
       'aria-label': 'TresJS on Discord',
     }, {

+ 1 - 1
docs/app/components/AppHeader.vue

@@ -65,7 +65,7 @@ const version = useRuntimeConfig().public.pkgVersion
         variant="subtle"
         size="sm"
       >
-        {{ version }}
+        v5
       </UBadge>
     </template>
 

+ 1 - 0
docs/content/5.community/.navigation.yml

@@ -0,0 +1 @@
+title: Community

+ 13 - 0
docs/content/5.community/1.index.md

@@ -0,0 +1,13 @@
+---
+title: Community
+description: Find answers and support from the community.
+---
+
+::card-group
+  ::card{icon="i-logos-discord-icon" title="Discord community" to="https://discord.gg/WTpvaxr5" spotlight}
+  Chat with the community and get help
+  ::
+  ::card{icon="i-lucide-video" title="Resources" to="/community/awesome-resources" spotlight}
+  A curated list of interesting TresJS community resources
+  ::
+::

+ 1 - 1
docs/content/5.community/awesome-resources.md

@@ -1,6 +1,6 @@
 ---
 title: Awesome Resources
-description: A curated list of interesting TresJS community projects.
+description: A curated list of interesting TresJS community resources.
 ---
 
 ![](/tres-post-processing-banner.png)