add Mattermost

This commit is contained in:
Amolith 2019-01-18 14:45:58 -05:00
parent bd11d8772a
commit 86c9d6165c
Signed by: Amolith
GPG Key ID: 51FD40936DB0065B
3 changed files with 137 additions and 0 deletions

BIN
assets/pages/mattermost.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:serif="http://www.serif.com/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1000"
height="1000"
viewBox="0 0 264.58333 264.58334"
version="1.1"
id="svg8"
inkscape:version="0.92.2 2405546, 2018-03-11"
sodipodi:docname="mattermost.svg"
inkscape:export-filename="/home/amolith/repos/nixnet/assets/pages/mattermost.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs2">
<symbol
id="shield-alt">
<title
id="shield-alt-title">Alternate Shield</title>
<path
style="stroke-width:0.26458332"
inkscape:connector-curvature="0"
d="m 131.23333,33.866667 c 0,58.547529 -35.965868,91.187323 -58.615524,100.623153 a 12.7,12.7 0 0 1 -9.76921,0 C 34.526802,122.69073 4.2333333,86.383019 4.2333333,33.866667 A 12.7,12.7 0 0 1 12.04886,22.143508 l 50.8,-21.16666633 a 12.7,12.7 0 0 1 9.769211,0 L 123.41807,22.143508 a 12.7,12.7 0 0 1 7.81526,11.723159 z m -63.499997,84.220313 0.01746,0.009 C 92.551515,105.74285 113.39063,76.739485 114.26904,36.676012 L 67.733333,17.286023 Z"
id="path26851" />
</symbol>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="498.57143"
inkscape:cy="455.71429"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:object-paths="true"
inkscape:snap-intersection-paths="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-midpoints="true"
inkscape:window-width="1336"
inkscape:window-height="698"
inkscape:window-x="15"
inkscape:window-y="35"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-32.41665)">
<rect
style="opacity:1;fill:#323232;fill-opacity:1;stroke:none;stroke-width:4.23333311;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect99612"
width="264.58334"
height="264.58334"
x="-5.0862632e-06"
y="32.416645" />
<path
id="Shape-2"
serif:id="Shape 2"
d="m 172.15813,109.90246 0.71398,14.37689 c 11.67388,12.87612 16.28176,31.11155 10.47059,48.24991 -8.67448,25.58396 -37.27825,39.03271 -63.88816,30.0389 -26.609918,-8.99381 -41.149618,-37.02475 -32.475148,-62.6085 5.83052,-17.19559 20.664108,-28.9088 37.844338,-32.01045 l 9.28201,-10.949799 c -28.95929,-0.78256 -56.280878,17.164239 -66.056198,45.994999 -12.01088,35.42365 7.01447,73.86164 42.494498,85.85339 35.48002,11.99196 73.97903,-7.00353 85.98971,-42.42718 9.75996,-28.78469 -0.97337,-59.55944 -24.37562,-76.51816 z m -16.63138,42.42171 -0.49141,-20.09843 -0.39423,-11.56491 -0.26696,-10.01935 c 0,0 0.0557,-4.83128 -0.11318,-5.96663 -0.0355,-0.23898 -0.11086,-0.43335 -0.20027,-0.60291 -0.0111,-0.024 -0.0219,-0.0478 -0.0341,-0.0711 -0.0126,-0.0215 -0.0252,-0.0417 -0.0385,-0.0621 -0.18575,-0.31892 -0.47753,-0.57809 -0.85472,-0.70557 -0.38623,-0.13043 -0.78572,-0.0984 -1.13261,0.0513 -0.007,0.003 -0.0143,0.005 -0.0215,0.008 -0.0413,0.0185 -0.0806,0.0395 -0.12012,0.0614 -0.16451,0.0797 -0.33175,0.18344 -0.4952,0.34185 -0.82506,0.79918 -3.72012,4.67098 -3.72012,4.67098 l -6.30764,7.79703 -7.34937,8.94774 -12.61842,15.66748 c 0,0 -5.79035,7.21516 -4.5109,16.09642 1.27945,8.88147 7.89296,13.20808 13.02338,14.94214 5.13043,1.73405 13.01623,2.30793 19.43599,-3.9711 6.41976,-6.27903 6.20981,-15.52233 6.20981,-15.52233 z"
style="clip-rule:evenodd;fill:#fdfdfd;fill-opacity:1;fill-rule:evenodd;stroke-width:0.21036671;stroke-linejoin:round;stroke-miterlimit:1.41420996"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

42
mattermost.md Normal file
View File

@ -0,0 +1,42 @@
---
layout: page
title: NixedChat
subtitle: "An open source and self-hosted chat application"
description: "A list of communities and a NixNet-styled theme for Mattermost"
cover: /assets/pages/mattermost.png
---
## Communities
- [NixNet](https://matter.nixnet.xyz/signup_user_complete/?id=n5qbfgiuaidmtmppetgj45zxuh)
- [LenoirLUG](https://matter.nixnet.xyz/signup_user_complete/?id=rrko34wdzjfo5ykc49d1kkikeo)
- [Linux Audio](https://matter.nixnet.xyz/signup_user_complete/?id=5ob84if1w3bx3n5phhsbjm3ohh)
## Theme
I've created a theme for Mattermost that uses the same colour scheme as the NixNet website. Copy and paste the code below into the application's theme settings under `Custom`.
```
{
"sidebarBg":"#242424",
"sidebarText":"#ffffff",
"sidebarUnreadText":"#ffffff",
"sidebarTextHoverBg":"#525252",
"sidebarTextActiveBorder":"#2b6863",
"sidebarTextActiveColor":"#ffffff",
"sidebarHeaderBg":"#242424",
"sidebarHeaderTextColor":"#ffffff",
"onlineIndicator":"#2b6863",
"awayIndicator":"#68652b",
"dndIndicator":"#682b2b",
"mentionBj":"#573c3c",
"mentionColor":"#ffffff",
"centerChannelBg":
"#333333",
"centerChannelColor":"#ffffff",
"newMessageSeparator":"#2b6863",
"linkColor":"#5a76c7",
"buttonBg":"#5a76c7",
"buttonColor":"#ffffff",
"errorTextColor":"#654040",
"mentionHighlightBg":"#426350",
"mentionHighlightLink":"#2b6863",
"codeTheme":"monokai",
"mentionBg":"#573c3c"
}
```