2
0
mirror of https://github.com/offen/website.git synced 2024-11-25 02:10:26 +01:00

update cta

This commit is contained in:
Hendrik Niefeld 2020-08-05 20:58:15 +02:00
parent 4c776b697a
commit 639c143ba3
9 changed files with 63 additions and 58 deletions

View File

@ -3,6 +3,7 @@ description: This link isnt working.
save_as: 404.html save_as: 404.html
no_stats: true no_stats: true
exclude_from_sitemap: true exclude_from_sitemap: true
cta_blog_article: budget
![Page not Found](/theme/images/offen-404.png){:class="image-text-600-338"} ![Page not Found](/theme/images/offen-404.png){:class="image-text-600-338"}

View File

@ -1,10 +1,10 @@
title: About | Offen title: About | Offen
description: Who we are, who supports us and how you can can get in touch. description: Who we are, who supports us and how you can can get in touch.
slug: about slug: about
cta_blog_article: fair
## About ## About
### Status Quo ### Status Quo
Offen is created by [Frederik Ring][frederik-ring]{: target="_blank"} and [Hendrik Niefeld][hendrik-niefeld]{: target="_blank"} and is currently being conceptually designed and in active development, both as a product as well as as a software. Offen is created by [Frederik Ring][frederik-ring]{: target="_blank"} and [Hendrik Niefeld][hendrik-niefeld]{: target="_blank"} and is currently being conceptually designed and in active development, both as a product as well as as a software.

View File

@ -2,6 +2,7 @@ title: Deep dive | Offen
description: What do users know about their data? How can they access it? Do operators benefit from a careful handling of user data? Does Offen work in accordance with GDPR? description: What do users know about their data? How can they access it? Do operators benefit from a careful handling of user data? Does Offen work in accordance with GDPR?
slug: deep-dive slug: deep-dive
sitemap_priority: 0.7 sitemap_priority: 0.7
cta_blog_article: budget
## Deep dive ## Deep dive

View File

@ -2,6 +2,7 @@ title: Legal Notice | Offen
description: Information in accordance with Section 5 TMG description: Information in accordance with Section 5 TMG
slug: legal-notice slug: legal-notice
exclude_from_sitemap: true exclude_from_sitemap: true
cta_blog_article: fair
## Legal Notice ## Legal Notice

View File

@ -399,6 +399,12 @@ IMAGES
height: 190px; height: 190px;
} }
} }
@media only screen and (min-width: 60em) {
.larger-image {
margin-left: 0rem;
margin-right: 0rem;
}
}
/* --------------------------------------------------- /* ---------------------------------------------------

View File

@ -5,15 +5,18 @@
{% set href = 'blog/' %} {% set href = 'blog/' %}
{% set no_stats = False %} {% set no_stats = False %}
{% set template = 'archives' %} {% set template = 'archives' %}
{% set cta_1 = True %} {% set cta_index = True %}
{% block content %} {% block content %}
<div class="mw8 center bg-white pr4-l">
<div class="flex flex-wrap mt0 mt5-l">
{% for article in articles %} {% for article in articles %}
<div class="w-100 w-50-l">
{% if loop.index != 1 %} {% if loop.index != 1 %}
<hr class="mb5 b--none"> <hr class="mb5 b--none dn-l">
{% endif %} {% endif %}
<article class="w-100 mt5-ns gray"> <article class="w-100 mt5-m mt0-l gray">
<div class="mw7 center pt5 pb5 ph3 ph5-ns bg-white"> <div class="mw8 center pv5 ph3 ph5-m pr0-l pl4-l bg-white">
<figure class="larger-image mb4"> <figure class="larger-image mb4">
<a href="{{ article.slug }}"> <a href="{{ article.slug }}">
<img alt="{{ article.title }}" src="{{ article.image_url }}"/> <img alt="{{ article.title }}" src="{{ article.image_url }}"/>
@ -30,5 +33,8 @@
</p> </p>
</div> </div>
</article> </article>
</div>
{% endfor %} {% endfor %}
</div>
</div>
{% endblock %} {% endblock %}

View File

@ -6,7 +6,7 @@
{% set image_url = article.image_url %} {% set image_url = article.image_url %}
{% set no_stats = article.no_stats %} {% set no_stats = article.no_stats %}
{% set template = article.template %} {% set template = article.template %}
{% set cta_1 = True %} {% set cta_blog_index = True %}
{% block content %} {% block content %}
<main class="w-100 mt5-ns gray"> <main class="w-100 mt5-ns gray">

View File

@ -104,41 +104,31 @@
<div class="w-100 cclr-bg-yellow-mid"> <div class="w-100 cclr-bg-yellow-mid">
<div class="pt3 pb4 ph3 bg-pattern"> <div class="pt3 pb4 ph3 bg-pattern">
<div class="mw8 center"> <div class="mw8 center">
<div class="flex flex-wrap justify-center tc pt3"> <div class="pt3">
{% if cta_1 %} {% if cta_index %}
<div class="wx24 ph4-ns pt4 pb5 cclr-bg-yellow-mid"> <p class="ma0">
<h2 class="f25 normal lh-solid ma0 mb3"> OPEN INDEX PAGE
Participate
</h2>
<p class="ma0 mb3">
Audit our open source code and feel free to make a contribution.
</p> </p>
<a class="b link dim ph4 pv2 dib b--solid bw2 cclr-brd-black-mid cclr-fnt-black-mid" href="{{ GITHUB_REPO }}" rel="noopener" target="_blank">Get involved</a>
</div>
{% endif %} {% endif %}
{% if cta_2 %} {% if cta_blog_index %}
<div class="wx24 ph4-ns pt4 pb5 cclr-bg-yellow-mid"> <p class="ma0">
<h2 class="f25 normal lh-solid ma0 mb3"> OPEN BLOG INDEX
In the making
</h2>
<p class="ma0 mb3">
Discover what is already up and running and where we want to go.
</p> </p>
<a class="b link dim ph4 pv2 dib b--solid bw2 cclr-brd-black-mid cclr-fnt-black-mid" href="/blog/">Open blog</a>
</div>
{% endif %} {% endif %}
<div class="wx24 ph4-ns pt4 pb5 cclr-bg-yellow-mid"> {% if cta_blog_article == 'fair'%}
<h2 class="f25 normal lh-solid ma0 mb3"> <p class="ma0">
Ethical internet OPEN BLOG ARTICLE FAIR
</h2>
<p class="ma0 mb3">
Help to ensure that Offen is independent and can be sustained.
</p> </p>
<a class="b link dim ph4 pv2 dib b--solid bw2 cclr-brd-black-mid cclr-fnt-black-mid" href="{{ PATREON_URL }}" rel="noopener" target="_blank">Support us</a> {% endif %}
</div>
{% if cta_blog_article == 'budget'%}
<p class="ma0">
OPEN BLOG ARTICLE BUDGET
</p>
{% endif %}
</div> </div>
</div> </div>

View File

@ -6,7 +6,7 @@
{% set image_url = page.image_url %} {% set image_url = page.image_url %}
{% set no_stats = page.no_stats %} {% set no_stats = page.no_stats %}
{% set template = page.template %} {% set template = page.template %}
{% set cta_2 = True %} {% set cta_blog_article = page.cta_blog_article %}
{% block content %} {% block content %}
<main class="w-100 mt5-ns gray"> <main class="w-100 mt5-ns gray">