From a2eceb7b7e7fcba60f478eabfe48f573273cf0e6 Mon Sep 17 00:00:00 2001 From: rawleyIfowler Date: Mon, 7 Feb 2022 14:08:16 -0600 Subject: [PATCH] added contact page, wip page, and removed background image --- static/bg.svg | 1 - static/index.css | 11 ++++++----- templates/contact.tmpl | 11 +++++++++++ templates/footer.tmpl | 1 - templates/header.tmpl | 1 - templates/nav.tmpl | 1 - templates/wip.tmpl | 9 +++++++++ utils/routes.go | 2 ++ 8 files changed, 28 insertions(+), 9 deletions(-) delete mode 100644 static/bg.svg create mode 100644 templates/contact.tmpl create mode 100644 templates/wip.tmpl diff --git a/static/bg.svg b/static/bg.svg deleted file mode 100644 index f1761bd..0000000 --- a/static/bg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/index.css b/static/index.css index 6d931d0..9138297 100644 --- a/static/index.css +++ b/static/index.css @@ -19,10 +19,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialias; -moz-osx-font-smoothing: grayscale; - text-rendering: optimizeLegibility; - background-image: url('/static/bg.svg'); - background-repeat: no-repeat; - background-size: cover; + background-color: #fafafa; font-size: calc(12px + 0.33vw); max-width: 100vw; min-height: 100vh; @@ -57,6 +54,11 @@ p { margin-right: 12px; } +li { + padding-top: 6px; + padding-bottom: 6px; +} + a { text-decoration: none; color: #242124; @@ -114,7 +116,6 @@ a::after:hover { } .post-record { - background-color: rgba(233, 233, 233, 0.6); padding-left: 12px; padding-right: 12px; width: 200px + 2vw; diff --git a/templates/contact.tmpl b/templates/contact.tmpl new file mode 100644 index 0000000..d6649a7 --- /dev/null +++ b/templates/contact.tmpl @@ -0,0 +1,11 @@ +{{ template "header.tmpl" . }} +

Ways to contact me

+ +{{ template "footer.tmpl" . }} diff --git a/templates/footer.tmpl b/templates/footer.tmpl index 2e132e9..0ec558f 100644 --- a/templates/footer.tmpl +++ b/templates/footer.tmpl @@ -1,4 +1,3 @@ -