Skip to content

Commit 5efbe24

Browse files
committed
Update community stuff
1 parent 1e08c60 commit 5efbe24

6 files changed

Lines changed: 78 additions & 15 deletions

File tree

_includes/community.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div class="blocks">
2+
<div class="block block33 center darkAlpha blurry">
3+
<a class="nodecor" href="https://github.com/orgs/friction2d/discussions" target="_blank">
4+
<img class="img100" src="{{ site.url }}/assets/github-mark-white.svg" />
5+
<h2>GitHub Discussions</h2>
6+
</a>
7+
</div>
8+
<div class="block block33 center darkAlpha blurry">
9+
<a class="nodecor" href="https://github.com/friction2d/friction/issues" target="_blank">
10+
<img class="img100" src="{{ site.url }}/assets/github-mark-white.svg" />
11+
<h2>GitHub Issues</h2>
12+
</a>
13+
</div>
14+
<div class="block block33 center darkAlpha blurry">
15+
<a class="nodecor" href="https://floss.social/@friction" target="_blank">
16+
<img class="img100" src="{{ site.url }}/assets/mastodon-white.svg" />
17+
<h2>Mastodon</h2>
18+
</a>
19+
</div>
20+
<div class="block block33 center darkAlpha blurry">
21+
<a class="nodecor" href="https://bsky.app/profile/friction.graphics" target="_blank">
22+
<img class="img100" src="{{ site.url }}/assets/bsky.svg" />
23+
<h2>Bluesky</h2>
24+
</a>
25+
</div>
26+
<div class="block block33 center darkAlpha blurry">
27+
<a class="nodecor" href="https://codeberg.org/friction/friction/issues" target="_blank">
28+
<img class="img100" src="{{ site.url }}/assets/codeberg.svg" />
29+
<h2>Codeberg</h2>
30+
</a>
31+
</div>
32+
<div class="block block33 center darkAlpha blurry">
33+
<a class="nodecor" href="https://x.com/FrictionGFX" target="_blank">
34+
<img class="img100" src="{{ site.url }}/assets/xtwitter.svg" />
35+
<h2>X/Twitter</h2>
36+
</a>
37+
</div>
38+
</div>

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div id="footerInner">
2-
<p>Copyright &copy; Friction contributors.<br><a href="{{ site.url }}/privacy.html">Privacy Statement</a> &bull; <a href="{{ site.url}}/public.key">PGP Public Key</a> &bull; <a href="{{ site.url}}/assets/badge.svg">Logo (light)</a> / <a href="{{ site.url}}/assets/badge-alt.svg">Logo (dark)</a></p>
2+
<p>Copyright &copy; Friction contributors.<br><a href="{{ site.url }}/privacy.html">Privacy Statement</a> &bull;&nbsp;<a href="{{ site.url}}/public.key">PGP Public Key</a> &bull;&nbsp;<a href="{{ site.url}}/assets/badge.svg">Logo&nbsp;(light)</a>&nbsp;/&nbsp;<a href="{{ site.url}}/assets/badge-alt.svg">Logo&nbsp;(dark)</a></p>
33
<p>
44
<a target="_blank" href="https://github.com/friction2d/friction" title="Join us on GitHub"><img src="{{ site.url }}/assets/github-mark-white.svg" height="24" /></a>
55
<a target="_blank" href="https://codeberg.org/friction/friction" title="Join us on Codeberg"><img src="{{ site.url }}/assets/codeberg.svg" height="24" /></a>

_layouts/community.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{% include assign.html %}
2+
<!DOCTYPE html>
3+
<html lang="{{ site.lang | default: "en-US" }}">
4+
{% include head.html %}
5+
<body>
6+
<div id="headerDefault">
7+
{% include header.html %}
8+
</div>
9+
<div id="content">
10+
<div id="contentInner">
11+
<h1>{{ page.title }}</h1>
12+
{% include community.html %}
13+
<style>.block { background-color: transparent !important; }</style>
14+
{{ content }}
15+
</div>
16+
</div>
17+
<div id="footer">
18+
{% include footer.html %}
19+
</div>
20+
</body>
21+
</html>

_layouts/home.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ <h2>Raster/Shader Effects</h2>
5050
</div>
5151
<div class="bigTitle" id="download"><h1>Downloads</h1></div>
5252
{% include downloads.html %}
53+
<div class="bigTitle" id="download"><h1>Join our community!</h1></div>
54+
{% include community.html %}
5355
<div class="bigTitle"><h1>Friction is powered by</h1></div>
5456
<div class="blocks">
5557
<div class="block darkAlpha blurry">

assets/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ img.distro {
239239
margin-bottom: 1em;
240240
flex-basis: 45%;
241241
}
242+
div.block33 { flex-basis: 33%; }
243+
}
244+
245+
@media (min-width: 700px) and (max-width: 868px) {
246+
div.block33 { flex-basis: 40%; }
242247
}
243248

244249
#markdown-toc::before {
@@ -747,3 +752,11 @@ img.doc {
747752
height: 24px;
748753
margin: .5em;
749754
}
755+
756+
.img100 {
757+
height: 100px;
758+
width: auto !important;
759+
}
760+
761+
a.nodecor, a.nodecor:visited { text-decoration: none; }
762+
a.nodecor:hover { text-decoration: underline; }

community.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
---
2-
title: "Community"
3-
layout: default
2+
title: "Join our community!"
3+
layout: community
44
permalink: community.html
55
---
66

7-
# Join our community!
8-
9-
## Official channels
10-
11-
* [Mastodon](https://floss.social/@friction)
12-
* [Bluesky](https://bsky.app/profile/friction.graphics)
13-
* [X/Twitter](https://x.com/FrictionGFX)
14-
* [GitHub Discussions](https://github.com/orgs/friction2d/discussions)
15-
* [GitHub Issue Tracker](https://github.com/friction2d/friction/issues)
16-
* [Codeberg Issue Tracker](https://codeberg.org/friction/friction/issues)
17-
18-
## Community maintained
7+
## Other community maintained
198

209
* [Reddit](https://www.reddit.com/r/frictiongraphics)
2110
* [Discord](https://discord.gg/FkjnM2r2JD)

0 commit comments

Comments
 (0)