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

@ -3,5 +3,6 @@
@import 'components/balloon.css';
@import 'components/button.css';
@import 'components/main.css';
@import 'components/markup.css';
@tailwind utilities;

View file

@ -0,0 +1,3 @@
.markup {
@apply leading-relaxed
}

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 %}

View file

@ -1,23 +1,12 @@
---
layout: front
papercall:
url: https://www.papercall.io/drupalcamp-bristol-2019
twitter:
url: https://twitter.com/drupalcampbris
update_text: Session submissions are now open!
---
<!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="tw-h-full tw-flex tw-flex-col">
{% include 'banner' %}
<main class="tw-bg-balloon tw-bg-center tw-bg-cover">
<main class="tw-bg-balloon tw-bg-center tw-bg-cover">
<div class="region tw-px-12">
<div id="block-homepagehero" class="tw-my-0 md:tw-py-18 lg:tw-py-24 block block-block-content block-block-content3760e7eb-29de-4f25-b7ee-76421679cf64">
<div class="tw-mx-16">
@ -42,15 +31,4 @@ update_text: Session submissions are now open!
</div>
</div>
</div>
</main>
<div class="tw-mt-auto">
{% if page.update_text %}
{% include 'update-text' %}
{% endif %}
{% include 'footer' %}
</div>
</div>
</body>
</html>
</main>

9
source/sponsor-us.md Normal file
View file

@ -0,0 +1,9 @@
---
layout: page
title: Sponsor Us
---
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum cupiditate laborum culpa inventore incidunt rem omnis, odio earum, soluta adipisci sequi ipsum tempore sit quas officia repellat quam neque laboriosam.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum cupiditate laborum culpa inventore incidunt rem omnis, odio earum, soluta adipisci sequi ipsum tempore sit quas officia repellat quam neque laboriosam.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum cupiditate laborum culpa inventore incidunt rem omnis, odio earum, soluta adipisci sequi ipsum tempore sit quas officia repellat quam neque laboriosam.