Skip to content

armgit / BUI

Public Imported from GitHub
0

Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI

discord link

Preetham Pemmasani3771bd49b7c2
diff --git a/README.md b/README.md
index fc9dad6..06c2b2d 100644
--- a/README.md
+++ b/README.md
@@ -20,8 +20,9 @@ People spent decades building and optimizing Blender's GUI. It's battery and mem
[![Wheels](https://github.com/ppmpreetham/BUI/actions/workflows/wheels.yml/badge.svg)](https://github.com/ppmpreetham/BUI/actions/workflows/wheels.yml)
[![License: GPL-2.0-or-later](https://img.shields.io/badge/license-GPL--2.0--or--later-blue)](#43-license-and-credits)
![Platforms](https://img.shields.io/badge/platforms-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey)
+[![Discord](https://img.shields.io/badge/chat-Discord-5865F2?logo=discord&logoColor=white)](https://discord.gg/MWXZfdyM3D)
-**Website and full documentation: [bui.preetham.top](https://bui.preetham.top)**
+**Website and full documentation: [bui.preetham.top](https://bui.preetham.top)** · **Chat: [Discord](https://discord.gg/MWXZfdyM3D)**
<img src="https://raw.githubusercontent.com/ppmpreetham/BUI/main/docs/images/components.png" width="330" alt="BUI's Blender components: panels, number sliders, vector fields, checkboxes and a color swatch">
<img src="https://raw.githubusercontent.com/ppmpreetham/BUI/main/docs/images/tkinter_items.png" width="300" alt="An unmodified tkinter program running on BUI">
diff --git a/website/src/components/site/Footer.astro b/website/src/components/site/Footer.astro
index 1e622fb..05798e7 100644
--- a/website/src/components/site/Footer.astro
+++ b/website/src/components/site/Footer.astro
@@ -30,6 +30,7 @@ const groups = [
["Changelog", `${site.blobBase}CHANGELOG.md`],
["Contributing", `${site.blobBase}CONTRIBUTING.md`],
["Report an issue", `${site.repo}/issues`],
+ ["Discord", site.discord],
],
},
] as const;
diff --git a/website/src/components/site/Header.astro b/website/src/components/site/Header.astro
index 5377ecb..0cb4cef 100644
--- a/website/src/components/site/Header.astro
+++ b/website/src/components/site/Header.astro
@@ -1,6 +1,6 @@
---
// The top bar: product-level areas (Docs, Tutorials, Benchmarks, Roadmap), search, theme
-// and GitHub. The pages themselves live in the docs sidebar, not here.
+// and the GitHub and Discord links. The pages themselves live in the docs sidebar, not here.
import Logo from "./Logo.astro";
import Icon from "./Icon.astro";
import ThemeToggle from "./ThemeToggle.astro";
@@ -61,6 +61,13 @@ const { menuTarget = "site-menu", current = "" } = Astro.props;
<ThemeToggle />
+ <a
+ href={site.discord}
+ class="inline-flex size-10 items-center justify-center text-muted transition-[background-color,color] duration-150 ease-out hover:bg-foreground/6 hover:text-foreground"
+ aria-label="BUI on Discord"
+ >
+ <Icon name="discord-logo" size={19} />
+ </a>
<a
href={site.repo}
class="inline-flex size-10 items-center justify-center text-muted transition-[background-color,color] duration-150 ease-out hover:bg-foreground/6 hover:text-foreground"
@@ -86,6 +93,11 @@ const { menuTarget = "site-menu", current = "" } = Astro.props;
<Icon name="github-logo" size={18} /> GitHub
</a>
</li>
+ <li>
+ <a href={site.discord} class="flex min-h-12 items-center gap-2 px-3 text-base hover:bg-foreground/6">
+ <Icon name="discord-logo" size={18} /> Discord
+ </a>
+ </li>
</ul>
<div class="hatch h-10 border-b border-border" aria-hidden="true" />
</nav>
diff --git a/website/src/config/site.ts b/website/src/config/site.ts
index 7142f2d..c77e251 100644
--- a/website/src/config/site.ts
+++ b/website/src/config/site.ts
@@ -13,5 +13,6 @@ export const site = {
pypi: "https://pypi.org/project/blenderui/",
npm: "https://www.npmjs.com/package/@blender-ui/react",
crates: "https://crates.io/crates/blenderui",
+ discord: "https://discord.gg/MWXZfdyM3D",
license: "GPL-2.0-or-later",
} as const;