Skip to content

Commit

Permalink
upd FAQ, /chat/rules, default view
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Aug 16, 2016
1 parent 3814e22 commit 78ead68
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions app.moon
Expand Up @@ -13,4 +13,5 @@ class extends lapis.Application
@include "misc"

[index: "/"]: =>
layout: "default"
render: true
30 changes: 30 additions & 0 deletions misc.moon
Expand Up @@ -19,6 +19,29 @@ class extends lapis.Application
div ->
iframe src: "https://discordapp.com/widget?id=115597534726062086&theme=dark", width: 350, height: 500, allowtransparency: true, frameborder: 0

[chat_rules: "/chat/rules"]: =>
@title = "Guard's Discord - Rules"
@html ->
ol ->
li "Do not post links to pirated software. You can discuss piracy, but do not link to illegal downloads."
li "No constant advertising. It's fine to tell people you have a YouTube channel or are working on something, but do not mention it constantly."
li "By default, no one can post links except in the #shitpost channel. If you build up trust, you will be allowed to post in other channels."
li ->
text "The channels:"
ul ->
li "#general is for general conversation and where we most often chat."
li "#computers-n-code is for programming, hacking, code, other technological items or discussions."
li "#trusted is a private channel for people I trust."
li "#music is for sharing music! :D"
li "#concept-art is for sharing concept art."
li "#shitpost is for random crap..since some people want that for some reason. >.>"
li "#roleplay .. some of our users like to roleplay .. I made this so they'd get out of #general .."
li "#bot-abuse is for playing with BoomBot, developed by Lomeli. :P"
li "#boomtest is a testing channel for Lomeli's use on BoomBot development."
hr! --no idea if this will be valid syntax lol
li "More rules may be added as needed, obviously."
li "And finally, if you are causing significant annoyance to several members, especially if they are friends of mine, I may ban you."

[contact: "/contact"]: =>
@title = "Contact Info"
@html ->
Expand Down Expand Up @@ -76,6 +99,13 @@ class extends lapis.Application
li ->
b "HDD"
text ": WD Blue 1 TB 7200rpm 64 MB cache (x2)"
li ->
b "Other"
text ": "
a href: "https://www.amazon.com/Cables-Go-4PORT-AUTHORITY2-35555/dp/B0006U6GGQ", target: "_blank", "This"
text " KVM (not actually connected to main PC right now), "
a href: "https://www.amazon.com/Logitech-G510s-Gaming-Keyboard-Screen/dp/B00BCEK2LU", target: "_blank", "this"
text " keyboard, and other shit that don't matter."

dt -> a name: "ksp-next-plane-reviews", "When is the next Plane Reviews episode?"
dd "When I have the time to make it. It takes several hours to make each one, and I don't have a solid chunk of time for that as often as I used to."
Expand Down
16 changes: 16 additions & 0 deletions views/default.moon
@@ -0,0 +1,16 @@
html = require "lapis.html"

class extends html.Widget
content: =>
html_5 ->
head ->
title @title or "Guard13007.com"
script "
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-82645104-1', 'auto'); ga('send', 'pageview');"
body ->
@content_for "inner"

0 comments on commit 78ead68

Please sign in to comment.