Skip to content

Commit

Permalink
feat: Community guides / books (via awesome-tauri) (#3146)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars authored Jan 30, 2025
1 parent c4397bd commit bb5066a
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/awesome-tauri
Submodule awesome-tauri updated 1 files
+5 −8 README.md
Binary file not shown.
23 changes: 21 additions & 2 deletions src/components/AwesomeTauri.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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,
Expand Down
25 changes: 25 additions & 0 deletions src/content/docs/learn/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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" />

0 comments on commit bb5066a

Please sign in to comment.