From a14b7dd677604746107f968de1e8f480a843d56d Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 22 May 2020 16:26:22 -0700 Subject: [PATCH] removed old web files which are no longer used --- server/static/media/favicon.png | Bin 1286 -> 0 bytes server/static/sass/about.scss | 167 ----------------------------- server/static/sass/general.scss | 21 ---- server/static/sass/index.scss | 184 -------------------------------- server/templates/about.tera | 39 ------- server/templates/footer.tera | 10 -- server/templates/header.tera | 23 ---- server/templates/index.tera | 30 ------ server/templates/login.tera | 0 server/templates/navbar.tera | 20 ---- 10 files changed, 494 deletions(-) delete mode 100644 server/static/media/favicon.png delete mode 100644 server/static/sass/about.scss delete mode 100644 server/static/sass/general.scss delete mode 100644 server/static/sass/index.scss delete mode 100644 server/templates/about.tera delete mode 100644 server/templates/footer.tera delete mode 100644 server/templates/header.tera delete mode 100644 server/templates/index.tera delete mode 100644 server/templates/login.tera delete mode 100644 server/templates/navbar.tera diff --git a/server/static/media/favicon.png b/server/static/media/favicon.png deleted file mode 100644 index 7fbc66c3ae04ccdc4be756b682284bb9bea5525c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1286 zcmeAS@N?(olHy`uVBq!ia0y~yU?NMQuIvxln3+_?pUmCa&cMJj+0(@_q~g}w>j!h29RwUM z&TQ#^ZOD6p#kI|7j`BK=MZVn68cev~hZ@X^-8ZdgSJZ{wCEIsgzWb|4kD-Z6VFi$A zSir=g1txHd02QLCL5Kjgg3Un@De!S~S#1$fY}Wo~U)<7XH^191%j7EW-h3$Z;)9HJ z4?k8+nU#Kf+o{*Tx;yf>v+e%_u^MUzRuf@%ARJ7L$ejSNJG6Ig_`Yk}oY$6pdB)qh zri*Je#Md#fh&lu?f(d~T21iyPfhpq1imnEq2#YA#oCa=*Reay#u1_kqJ$`ZRLo+e$ z4^ANC5n7=NQEY{9aJU1%%NmSRT}-ln%te!W03jhD9@m;S7#jnZP<4w12USII1mWesSR(s5tX<^>bP0l+XkK D) */ -.content-head { - color: #F55753; - text-transform: uppercase; - letter-spacing: 0.1em; - margin: 2em 0 1em; -} - -/* This is a modifier class used when the content-head is inside a ribbon */ -.content-head-ribbon { - color: white; -} - -.pure-g { - background-color: $back-grey; -} -/* This is the class used for the content sub-headers (

) */ -.content-subhead { - color: $heading-pink; - text-align: center; -} - .content-subhead i { - margin-right: 7px; - } - p { - text-align: center; - } - -/* This is the class used for the dark-background areas. */ -.ribbon { - background: #2d3e50; - color: #aaa; -} - -/* This is the class used for the footer */ -.footer { - background: #111; - position: fixed; - bottom: 0; - width: 100%; -} - -/* - * -- TABLET (AND UP) MEDIA QUERIES -- - * On tablets and other medium-sized devices, we want to customize some - * of the mobile styles. - */ -@media (min-width: 48em) { - - /* We increase the body font size */ - body { - font-size: 16px; - } - - /* We can align the menu header to the left, but float the - menu items to the right. */ - .home-menu { - text-align: left; - } - .home-menu ul { - float: right; - } - /* We remove the border-separator assigned to .l-box-lrg */ - .l-box-lrg { - border: none; - } - -} - -/* - * -- DESKTOP (AND UP) MEDIA QUERIES -- - * On desktops and other large devices, we want to over-ride some - * of the mobile and tablet styles. - */ -@media (min-width: 78em) { - /* We increase the header font size even more */ - .splash-head { - font-size: 300%; - } -} diff --git a/server/static/sass/general.scss b/server/static/sass/general.scss deleted file mode 100644 index bbcfa07..0000000 --- a/server/static/sass/general.scss +++ /dev/null @@ -1,21 +0,0 @@ -/* Overrides for the welcome page background stuff */ - -/* For now we'll just worry about dark mode - Light mode gets fucked here lmao -*/ - -$top-grey: #424242; -$back-grey: #303030; -$bar-grey: #212121; - -$text-norm: whitesmoke; -$text-bold: white; - -$heading-pink: #EB2C68; -body { - background: $back-grey; -} - -.nav-link { - color: $text-bold; -} \ No newline at end of file diff --git a/server/static/sass/index.scss b/server/static/sass/index.scss deleted file mode 100644 index 9aaacf4..0000000 --- a/server/static/sass/index.scss +++ /dev/null @@ -1,184 +0,0 @@ -@import 'general.scss'; -$button_color_bg: #1f8dd6; -$button_color_txt: white; -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -html { - scroll-behavior: smooth; -} -/* - * -- BASE STYLES -- - * Most of these are inherited from Base, but I want to change a few. - */ -body { - line-height: 1.7em; - font-size: 13px; -} - -p { - color: $text-norm; -} -.navbar { - z-index: 2; -} -a { - text-decoration: none; -} -/* - * -- LAYOUT STYLES -- - * These are some useful classes which I will need - */ -.l-box { - padding: 1em; -} - -.l-box-lrg { - padding: 2em; - border-bottom: 1px solid rgba(0,0,0,0.1); -} - -.is-center { - text-align: center; -} - - -.pure-g { - background-color: $back-grey; -} - - - -/* - * -- SPLASH STYLES -- - * This is the blue top section that appears on the page. - */ - -.splash-container { - background-image: url('https://www.shockrah.shop/static/images/chalk.jpg'); - background-attachment: fixed; - background-size: cover; - background-repeat: no-repeat; - z-index: 1; - overflow: hidden; - /* The following styles are required for the "scroll-over" effect */ - width: 100%; - height: 100%; - top: 0; - left: 0; - position: fixed !important; - display: flex; - justify-content: center; -} - -.splash { - width: 80%; - height: 50%; - margin: auto; - position: absolute; - top: 100px; left: 0; bottom: 0; right: 0; - text-align: center; - text-transform: uppercase; -} - -/* This is the main heading that appears on the blue section */ -.splash-head { - font-size: 20px; - font-weight: bold; - color: white; - border: 3px solid white; - padding: 1em 1.6em; - font-weight: 450; - border-radius: 5px; - line-height: 1em; -} - -/* This is the subheading that appears on the blue section */ -.splash-subhead { - letter-spacing: 0.05em; - color: white; - font-weight: 450; -} - -/* - * -- CONTENT STYLES -- - * This represents the content area (everything below the blue section) - */ -.content-wrapper { - /* These styles are required for the "scroll-over" effect */ - position: absolute; - top: 87%; - width: 100%; - min-height: 12%; - z-index: 2; - background: white; - -} - -/* We want to give the content area some more padding */ -.content { - padding: 1em 1em 3em; - background-color: $back-grey; -} - -/* This is the class used for the main content headers (

) */ -.content-head { - font-weight: 400; - text-transform: uppercase; - color: $text-bold; - letter-spacing: 0.1em; - margin: 2em 0 1em; -} - -/* This is a modifier class used when the content-head is inside a ribbon */ -.content-head-ribbon { - color: white; -} - -/* This is the class used for the content sub-headers (

) */ -.content-subhead { - color: $button_color_txt; -} -.content-subhead i { - margin-right: 7px; -} - - -/* - * -- TABLET (AND UP) MEDIA QUERIES -- - * On tablets and other medium-sized devices, we want to customize some - * of the mobile styles. - */ -@media (min-width: 48em) { - /* We decrease the width of the .splash, since we have more width - to work with */ - .splash { - width: 50%; - height: 50%; - } - - .splash-head { - font-size: 250%; - } - - /* We remove the border-separator assigned to .l-box-lrg */ - .l-box-lrg { - border: none; - } - -} - -/* - * -- DESKTOP (AND UP) MEDIA QUERIES -- - * On desktops and other large devices, we want to over-ride some - * of the mobile and tablet styles. - */ -@media (min-width: 78em) { - /* We increase the header font size even more */ - .splash-head { - font-size: 300%; - } -} \ No newline at end of file diff --git a/server/templates/about.tera b/server/templates/about.tera deleted file mode 100644 index 6aa498f..0000000 --- a/server/templates/about.tera +++ /dev/null @@ -1,39 +0,0 @@ -{% set stylesheet = "/static/css/about.css" %} -{% include "header" %} - -{%include "navbar" %} -
-
-
-
-

Privacy by default

-

All you need to sign up is a username and an instance in mind.

-

Email is only required if you want password recovery.

-

Unused accounts with no emails are deleted after 2 weeks of no use.

-
-
-

Can I join other instances?

-

Of course, your name will just be name@HomeInstance.io unless you have a display name setup.

-
-
-

Chan inspired messaging

-

By default chat messags only last up to one month before they are cleaned out.

-
-
-

So it's free right?

-

Yeap free as in freedom and free as in free beer always!

-
-
-
-
- - - - - \ No newline at end of file diff --git a/server/templates/footer.tera b/server/templates/footer.tera deleted file mode 100644 index f175b47..0000000 --- a/server/templates/footer.tera +++ /dev/null @@ -1,10 +0,0 @@ - - - - \ No newline at end of file diff --git a/server/templates/header.tera b/server/templates/header.tera deleted file mode 100644 index b5ac577..0000000 --- a/server/templates/header.tera +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - Freechat - - - - - - - - - - - - - - - - diff --git a/server/templates/index.tera b/server/templates/index.tera deleted file mode 100644 index 04a7393..0000000 --- a/server/templates/index.tera +++ /dev/null @@ -1,30 +0,0 @@ - -{% set stylesheet = "/static/css/index.css" %} -{% include 'header' %} - -{% include "navbar" %} -
-
-

freechat.io

-

Libre decentralized chat platform

-

-
-
- -
-
-

A chat platform that respects your privacy and freedom

-
-
-

How much?

-

Nothing. It's free to run your own instance

-
-
-

Is it hard to setup?

-

Not at all, you can easily spin up an instance using the guide here.

-
-
-
-
- -{% include "footer" %} diff --git a/server/templates/login.tera b/server/templates/login.tera deleted file mode 100644 index e69de29..0000000 diff --git a/server/templates/navbar.tera b/server/templates/navbar.tera deleted file mode 100644 index ca49340..0000000 --- a/server/templates/navbar.tera +++ /dev/null @@ -1,20 +0,0 @@ -