Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Add a Sponsors section to the README and the home page (#971)

Nguyen Xuan An9b1d42b2b3d0
diff --git a/README.md b/README.md
index 48a54671..9b320f65 100644
--- a/README.md
+++ b/README.md
@@ -270,6 +270,13 @@ Read [CONTRIBUTING.md](https://github.com/codepawl/67.js/blob/main/CONTRIBUTING.
Coding agents start with [AGENTS.md](https://github.com/codepawl/67.js/blob/main/AGENTS.md), and `npm run preflight` runs the pull request checks locally.
Questions, ideas and what you made go in [Discussions](https://github.com/codepawl/67.js/discussions). Bug reports: [SUPPORT.md](https://github.com/codepawl/67.js/blob/main/SUPPORT.md).
+## Sponsors
+
+67js is free and MIT licensed. [Sponsors](https://github.com/sponsors/codepawl) pay for GPU time, test hardware and the hours that go into it.
+Company sponsors get their logo here from $100 a month.
+
+[![Sponsor CodePawl](https://img.shields.io/badge/Sponsor-CodePawl-EA4AAA?style=for-the-badge&logo=githubsponsors&logoColor=white)](https://github.com/sponsors/codepawl)
+
## Credits
- [gl-matrix](https://github.com/toji/gl-matrix) supplies the matrix math.
diff --git a/changes/971.md b/changes/971.md
new file mode 100644
index 00000000..80a9df1d
--- /dev/null
+++ b/changes/971.md
@@ -0,0 +1 @@
+- The README and the home page have a Sponsors section that links to GitHub Sponsors (#971)
diff --git a/index.html b/index.html
index f04303e1..7f3b704b 100644
--- a/index.html
+++ b/index.html
@@ -247,10 +247,18 @@ renderer.render({ eye: [58, 31, 84], target: [-8, 3, -18] });</code></pre>
<a href="/changelog.md" data-icon="package">Changelog</a>
</div>
</section>
+
+ <section id="sponsors" class="documentation-links sponsors" aria-labelledby="sponsors-title">
+ <h2 id="sponsors-title">Sponsors</h2>
+ <p>67js is free and MIT licensed. Sponsors pay for GPU time, test hardware and the hours that go into it. Company sponsors get their logo here from $100 a month.</p>
+ <div class="doc-links">
+ <a href="https://github.com/sponsors/codepawl" data-icon="heart">Sponsor on GitHub</a>
+ </div>
+ </section>
</main>
<footer class="site-footer" aria-label="Site footer">
<p><a class="brand" href="/" aria-label="67js home">67js</a> by <a href="https://codepawl.com">CodePawl</a></p>
- <nav class="footer-links" aria-label="Project links"><a href="https://github.com/codepawl/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a><a href="https://www.npmjs.com/package/@codepawlhq/67js"><span class="package-logo package-logo-npm" aria-hidden="true"></span>npm</a><a data-release-commit href="https://github.com/codepawl/67.js">Release commit</a><a href="/changelog.html">Changelog</a><a href="/license.txt">MIT license</a><a href="/logo.svg" download>Logo SVG</a></nav>
+ <nav class="footer-links" aria-label="Project links"><a href="https://github.com/codepawl/67.js"><span class="package-logo package-logo-github" aria-hidden="true"></span>GitHub</a><a href="https://www.npmjs.com/package/@codepawlhq/67js"><span class="package-logo package-logo-npm" aria-hidden="true"></span>npm</a><a data-release-commit href="https://github.com/codepawl/67.js">Release commit</a><a href="/changelog.html">Changelog</a><a href="/license.txt">MIT license</a><a href="/logo.svg" download>Logo SVG</a><a href="https://github.com/sponsors/codepawl">Sponsor</a></nav>
</footer>
<script type="module" src="/src/home.js"></script>
<script type="module" src="/src/hero-lab/hero-loop.js"></script>
diff --git a/src/brand.js b/src/brand.js
index 49005540..fe86577a 100644
--- a/src/brand.js
+++ b/src/brand.js
@@ -22,6 +22,7 @@ const paths = {
package:'M3 7 12 2l9 5v10l-9 5-9-5V7Zm0 0 9 5 9-5M12 12v10M7.5 4.5l9 5v4',
history:'M3 12a9 9 0 1 0 2.6-6.4L3 8M3 3v5h5M12 7v5l3.5 2',
motion:'M4 12c3-8 5 8 8 0s5 8 8 0',
+ heart:'M12 20s-7-4.4-9-9a4.8 4.8 0 0 1 9-3 4.8 4.8 0 0 1 9 3c-2 4.6-9 9-9 9Z',
github:'M9 19c-4 1-4-2-6-2m12 5v-4a3.5 3.5 0 0 0-1-2.7c3.3-.4 6.7-1.6 6.7-7.3a5.7 5.7 0 0 0-1.5-4 5.3 5.3 0 0 0-.1-4S18 0 15 2a14 14 0 0 0-7 0C5 0 3.9 0 3.9 0a5.3 5.3 0 0 0-.1 4 5.7 5.7 0 0 0-1.5 4c0 5.7 3.4 6.9 6.7 7.3A3.5 3.5 0 0 0 8 18v4',
};
const labels = { Examples:'cube', Showcase:'cube', Docs: 'book', Changelog:'history', Documentation:'book', 'Getting started':'book', Downloads:'download', 'Package source':'code', Object:'cube', Nature:'leaf', Film:'film', Motion:'motion', Animation:'film', 'Save PNG':'image', 'Export GLB':'download' };