Add example sponsorship page

This commit is contained in:
Oliver Davies 2019-04-09 14:08:53 +01:00
parent 2e315c20d6
commit cfdd818fa5
7 changed files with 75 additions and 44 deletions

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html class="tw-h-full" lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# ">
<head>
{% include 'meta' %}
</head>
<body class="path-frontpage tw-h-full">
<a href="#main-content" class="visually-hidden focusable skip-link">
Skip to main content
</a>
<div class="{% block body_classes '' %}">
{% include 'banner' %}
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
<div class="tw-mt-auto">
{% if page.update_text %}
{% include 'update-text' %}
{% endif %}
{% include 'footer' %}
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,3 @@
{% extends 'base' %}
{% block body_classes 'tw-h-full tw-flex tw-flex-col' %}

View file

@ -0,0 +1,11 @@
{% extends 'base' %}
{% block content_wrapper %}
<main class="tw-max-w-5xl tw-px-6 tw-mx-auto tw-my-10">
<h1 class="tw-mt-0">{{ page.title }}</h1>
<div class="markup">
{% block content %}{% endblock %}
</div>
</main>
{% endblock %}