From 8b7f5b39b863ecf0311c7914bc3dbcc31af2c8ff Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 2 Jul 2023 21:10:12 -0700 Subject: [PATCH] Add submissions copyright footer --- settings.yaml | 1 + src/models/settings.rs | 1 + styles/sass/style.scss | 5 +++++ templates/index.html.tera | 6 +++--- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/settings.yaml b/settings.yaml index eb637ee..dddbb1a 100644 --- a/settings.yaml +++ b/settings.yaml @@ -1,3 +1,4 @@ +copyright_start: 2021 guilds: # Tegaki Tuesday - id: 814700630958276649 diff --git a/src/models/settings.rs b/src/models/settings.rs index a331404..0e3e36d 100644 --- a/src/models/settings.rs +++ b/src/models/settings.rs @@ -6,6 +6,7 @@ use std::fs; #[derive(Serialize, Deserialize)] pub struct Settings { pub guilds: Vec, + pub copyright_start: u32, } impl Settings { diff --git a/styles/sass/style.scss b/styles/sass/style.scss index e9e3da7..a07f294 100644 --- a/styles/sass/style.scss +++ b/styles/sass/style.scss @@ -125,6 +125,11 @@ input[type=number] { background: rgba(0, 0, 0, 0.125); $gap: 0.5em; padding: $gap; + + footer { + margin-top: 1em; + } + & > div { width: 100%; column-count: 3; diff --git a/templates/index.html.tera b/templates/index.html.tera index 0242ca7..128dd6a 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -145,9 +145,9 @@ {% endfor %} -
- some random shit goes here -
+