From 96bd068dca2dee20a7dfad27d0c76831238471dd Mon Sep 17 00:00:00 2001 From: Hendrik Niefeld Date: Fri, 31 Jan 2020 21:58:30 +0100 Subject: [PATCH 1/8] add get-started page --- homepage/content/pages/get-started.md | 4 ++ homepage/theme/static/css/fix.css | 16 +++++++- homepage/theme/templates/base.html | 4 ++ homepage/theme/templates/getstarted.html | 51 ++++++++++++++++++++++++ 4 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 homepage/content/pages/get-started.md create mode 100644 homepage/theme/templates/getstarted.html diff --git a/homepage/content/pages/get-started.md b/homepage/content/pages/get-started.md new file mode 100644 index 0000000..454acbf --- /dev/null +++ b/homepage/content/pages/get-started.md @@ -0,0 +1,4 @@ +title: Get started | Offen +description: temp +slug: get-started +template: getstarted diff --git a/homepage/theme/static/css/fix.css b/homepage/theme/static/css/fix.css index d70f7f3..b243db9 100644 --- a/homepage/theme/static/css/fix.css +++ b/homepage/theme/static/css/fix.css @@ -11,12 +11,18 @@ COLORS .brd-cclr-mid-yellow { border-color: #F7BF08; } -.cclr-bright-yellow { +.cclr-yellow-bright { background-color: #fde28c; } +.fnt-cclr-yellow-bright { + color: #fde28c; +} .cclr-mid-mint { background-color: #BBD9D3; } +.fnt-cclr-mint-bright { + color: #E2F6F2; +} .cclr-mid-black { background-color: #39352A; } @@ -100,6 +106,10 @@ em { background: linear-gradient(transparent 66%, #fde28c 66%); font-style: normal; } +.em-extra { + background: linear-gradient(transparent 66%, #BBD9D3 66%); + font-style: normal; +} hr { margin-left: -1rem; margin-right: -1rem; @@ -116,6 +126,9 @@ ul { padding-inline-start: 1rem; } } +.tracked-min { + letter-spacing: .03em; +} /* --------------------------------------------------- @@ -320,4 +333,3 @@ GRAPHICS #bg-cta-bottom { background: url(/theme/images/gfx-pattern-yellow-bright.svg) center; } - diff --git a/homepage/theme/templates/base.html b/homepage/theme/templates/base.html index dee3dd3..965217b 100644 --- a/homepage/theme/templates/base.html +++ b/homepage/theme/templates/base.html @@ -40,6 +40,7 @@
+ {% if is_getstarted != 'true' %} + {% endif %} @@ -74,6 +76,7 @@ {% endblock %} + {% if is_getstarted != 'true' %} {% block outro %}
@@ -113,6 +116,7 @@
{% endblock %} + {% endif %}
diff --git a/homepage/theme/templates/getstarted.html b/homepage/theme/templates/getstarted.html new file mode 100644 index 0000000..a907d45 --- /dev/null +++ b/homepage/theme/templates/getstarted.html @@ -0,0 +1,51 @@ +{% extends "page.html" %} + +{% set is_getstarted = 'true' %} + +{% block content %} +
+
+
+
+

+ Our alpha release +

+

+ Offen is in active development. Do something brave and test our very first alpha release today. It’s free and always will be. +

+
+
+

+ Single binary file for
Linux, Windows or MacOS +

+ Download + +
+
+
+
+
+
+
+
+

+ + Get started now + +

+

+ Running a website and need to collect usage statistics? Want to contribute as a developer? Our guides will help you kick off. +

+
+
+

+ Details on how to run, use
and develop Offen +

+ Open guides +
+
+
+
+{% endblock %} From 0608034bba4dcba96f97e4df6d88c7c9aaba177c Mon Sep 17 00:00:00 2001 From: Hendrik Niefeld Date: Sat, 1 Feb 2020 13:16:43 +0100 Subject: [PATCH 2/8] update index --- homepage/theme/templates/base.html | 9 +++++++-- homepage/theme/templates/index.html | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/homepage/theme/templates/base.html b/homepage/theme/templates/base.html index 965217b..aadb3b1 100644 --- a/homepage/theme/templates/base.html +++ b/homepage/theme/templates/base.html @@ -37,8 +37,9 @@