Add services page

This commit is contained in:
Citlali del Rey 2022-10-14 23:29:55 -07:00
parent 58e47a7590
commit e03100ef4b
Signed by: nullobsi
GPG Key ID: 933A1F44222C2634
5 changed files with 67 additions and 2 deletions

View File

@ -17,8 +17,9 @@ sub startup ($self) {
# Normal route to controller
$r->get('/')->to('Main#index');
$r->get('/index.xhtml')->to('Main#index');
$r->get('/index.html')->to('Main#index');
$r->get('/rules')->to('Main#rules');
$r->get('/services')->to('Main#services');
$r->get('/register')->to('Register#registration');
$r->post('/register')->to('Register#register');

View File

@ -9,4 +9,8 @@ sub rules ($self) {
$self->render();
}
sub services ($self) {
$self->render();
}
1;

View File

@ -136,6 +136,7 @@ textarea {
#nav a {
display: block;
padding: 10px;
}
#header-content a:link {

View File

@ -17,8 +17,9 @@
<header>
<div id="header-content">
<img src="favicon.ico" width="32" height="32" alt="UNIX.dog"/>
<a href="/"><h1>UNIX.dog</h1></a>
<h1><a href="/">UNIX.dog</a></h1>
<div id="nav">
<a href="/services">Services</a>
<a href="/register">Register</a>
</div>
</div>

View File

@ -0,0 +1,58 @@
% title 'UNIX.dog Services';
% layout 'default';
<article>
<h1>UNIX.dog Services</h1>
<p>
UNIX.dog provides a few services for dogs. Most services are
hooked into LDAP and use the same username and password you
registered with.
</p>
<section>
<h2>Akkoma</h2>
<p>
Akkoma is a federated social media platform, forked from Pleroma.
It can communicate with other instances running Mastodon, Misskey,
Friendica, and more.
Check it out at <a href="https://akko.unix.dog">akko.unix.dog</a>.
</p>
</section>
<section>
<h2>XMPP</h2>
<p>
XMPP is a federated IM protocol. UNIX.dog uses ejabberd, and you can
connect to it using a client of your choice. Check out
<a href="https://xmpp.org">xmpp.org</a> for more information, and join
<a href="xmpp:discuss@muc.unix.dog?join">discuss@muc.unix.dog</a> for
a UNIX.dog chat. Your JID should be username@unix.dog.
</p>
</section>
<section>
<h2>EMail</h2>
<p>
Classic EMail is also provided. You can connect any standard email
client to smtp.unix.dog and imap.unix.dog using your credentials
to access your inbox. The server also provides sendmail over SSH,
and your mailbox is located at ~/Mail, so you can use neomutt or
another terminal client of your choice.
</p>
</section>
<section>
<h2>Gitea</h2>
<p>
Gitea is a simple git host. It is hosted at
<a href="https://git.unix.dog">git.unix.dog</a> and should
automatically import your SSH public key in the LDAP directory.
Please keep in mind that Gitea applies changes from LDAP every 24
hours, so you may not immediately get an account. SSH and HTTP
push/pull is completely supported.
</p>
</section>
<section>
<h2>Static webhosting</h2>
<p>
Files under ~/public are hosted at unix.dog/~username. A list
of user websites will be added to a page here soon, but you
can still make cool webpages!
</p>
</section>
</article>