diff --git a/lib/unix_dog.pm b/lib/unix_dog.pm index c4f5772..d15fadb 100644 --- a/lib/unix_dog.pm +++ b/lib/unix_dog.pm @@ -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'); diff --git a/lib/unix_dog/Controller/Main.pm b/lib/unix_dog/Controller/Main.pm index 61e07a5..6a53cd3 100644 --- a/lib/unix_dog/Controller/Main.pm +++ b/lib/unix_dog/Controller/Main.pm @@ -9,4 +9,8 @@ sub rules ($self) { $self->render(); } +sub services ($self) { + $self->render(); +} + 1; diff --git a/public/css/main.css b/public/css/main.css index 7f04757..39624f8 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -136,6 +136,7 @@ textarea { #nav a { display: block; + padding: 10px; } #header-content a:link { diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index e8120ea..2457fba 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -17,8 +17,9 @@
UNIX.dog -

UNIX.dog

+

UNIX.dog

diff --git a/templates/main/services.html.ep b/templates/main/services.html.ep new file mode 100644 index 0000000..1f63b26 --- /dev/null +++ b/templates/main/services.html.ep @@ -0,0 +1,58 @@ +% title 'UNIX.dog Services'; +% layout 'default'; +
+

UNIX.dog Services

+

+ UNIX.dog provides a few services for dogs. Most services are + hooked into LDAP and use the same username and password you + registered with. +

+
+

Akkoma

+

+ 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 akko.unix.dog. +

+
+
+

XMPP

+

+ XMPP is a federated IM protocol. UNIX.dog uses ejabberd, and you can + connect to it using a client of your choice. Check out + xmpp.org for more information, and join + discuss@muc.unix.dog for + a UNIX.dog chat. Your JID should be username@unix.dog. +

+
+
+

EMail

+

+ 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. +

+
+
+

Gitea

+

+ Gitea is a simple git host. It is hosted at + git.unix.dog 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. +

+
+
+

Static webhosting

+

+ 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! +

+
+