feat: Community guides / books (via awesome-tauri) (#3146)

This commit is contained in:
Fabian-Lars
2025-01-30 16:43:31 +01:00
committed by GitHub
parent c4397bd53a
commit bb5066a6ab
4 changed files with 47 additions and 3 deletions

View File

@@ -25,8 +25,9 @@ const sections = {
'plugins-no-official': 'Plugins',
integrations: 'Integrations',
articles: 'Articles',
guides: 'Guides',
tutorials: 'Tutorials',
guides: 'Guides & Tutorials',
'guides-no-official-no-video': 'Guides & Tutorials',
'guides-no-official-only-video': 'Guides & Tutorials',
templates: 'Templates',
'applications-audio-video': 'Audio & Video',
'applications-chatgpt-clients': 'ChatGPT clients',
@@ -57,6 +58,24 @@ for (const header of categories) {
img = entry.children[2];
if (img && img.src && img.src.includes('official')) continue;
}
if (section.includes('-no-video')) {
let img = entry.children[1];
if (img && img.src && img.src.includes('YouTube')) continue;
img = entry.children[2];
if (img && img.src && img.src.includes('YouTube')) continue;
}
if (section.includes('-only-video')) {
let skip = true;
let img = entry.children[1];
if (img && img.src && img.src.includes('YouTube')) {
skip = false;
}
img = entry.children[2];
if (img && img.src && img.src.includes('YouTube')) {
skip = false;
}
if (skip) continue;
}
cards.push({
href: entry.children[0].href,
name: entry.children[0].textContent,

View File

@@ -6,6 +6,7 @@ sidebar:
---
import { Card, CardGrid, LinkCard } from '@astrojs/starlight/components';
import AwesomeTauri from '@components/AwesomeTauri.astro';
The Learning category is intended to provide end-to-end learning experiences on a Tauri related topic.
@@ -34,3 +35,27 @@ To learn how to write your own splash screen or use a node.js sidecar, check out
<LinkCard title="Splashcreen" href="/learn/splashscreen/" />
<LinkCard title="Node.js as a Sidecar" href="/learn/sidecar-nodejs/" />
</CardGrid>
## More Resources
This section contains learning resources created by the Community that are not hosted on this website.
<LinkCard
title="Have something to share?"
description="Open a pull request to show us your amazing resource."
href="https://github.com/tauri-apps/awesome-tauri/pulls"
/>
### Books
- **HTML, CSS, JavaScript, and Rust for Beginners: A Guide to Application Development with Tauri** by James Alexander Rose
- Paperback on Amazon: https://www.amazon.com/dp/B0DR6KZVVW
- Free PDF version: [direct download](/assets/learn/community/HTML_CSS_JavaScript_and_Rust_for_Beginners_A_Guide_to_Application_Development_with_Tauri.pdf) (PDF 4MB)
### Guides & Tutorials
<AwesomeTauri section="guides-no-official-no-video" />
#### Video Guides
<AwesomeTauri section="guides-no-official-only-video" />