Add example sponsorship page
This commit is contained in:
parent
2e315c20d6
commit
cfdd818fa5
|
@ -3,5 +3,6 @@
|
||||||
@import 'components/balloon.css';
|
@import 'components/balloon.css';
|
||||||
@import 'components/button.css';
|
@import 'components/button.css';
|
||||||
@import 'components/main.css';
|
@import 'components/main.css';
|
||||||
|
@import 'components/markup.css';
|
||||||
|
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
3
resources/css/components/markup.css
Normal file
3
resources/css/components/markup.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.markup {
|
||||||
|
@apply leading-relaxed
|
||||||
|
}
|
26
source/_layouts/base.html.twig
Normal file
26
source/_layouts/base.html.twig
Normal 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>
|
3
source/_layouts/front.html.twig
Normal file
3
source/_layouts/front.html.twig
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{% extends 'base' %}
|
||||||
|
|
||||||
|
{% block body_classes 'tw-h-full tw-flex tw-flex-col' %}
|
11
source/_layouts/page.html.twig
Normal file
11
source/_layouts/page.html.twig
Normal 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 %}
|
|
@ -1,56 +1,34 @@
|
||||||
---
|
---
|
||||||
|
layout: front
|
||||||
papercall:
|
papercall:
|
||||||
url: https://www.papercall.io/drupalcamp-bristol-2019
|
url: https://www.papercall.io/drupalcamp-bristol-2019
|
||||||
twitter:
|
twitter:
|
||||||
url: https://twitter.com/drupalcampbris
|
url: https://twitter.com/drupalcampbris
|
||||||
update_text: Session submissions are now open!
|
update_text: Session submissions are now open!
|
||||||
---
|
---
|
||||||
<!DOCTYPE html>
|
<main class="tw-bg-balloon tw-bg-center tw-bg-cover">
|
||||||
<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# ">
|
<div class="region tw-px-12">
|
||||||
<head>
|
<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">
|
||||||
{% include 'meta' %}
|
<div class="tw-mx-16">
|
||||||
</head>
|
<img src="/themes/dcb2017/logo.svg" alt="Drupalcamp Bristol logo" />
|
||||||
<body class="path-frontpage tw-h-full">
|
</div>
|
||||||
<a href="#main-content" class="visually-hidden focusable skip-link">
|
<div class="tw-leading-normal tw--mx-6 md:tw--mx-20 tw-spaced-y-4 clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item">
|
||||||
Skip to main content
|
<p>
|
||||||
</a>
|
DrupalCamp Bristol is returning
|
||||||
<div class="tw-h-full tw-flex tw-flex-col">
|
<br class="tw-hidden md:tw-inline">on <strong>June 28th 2019</strong> at
|
||||||
{% include 'banner' %}
|
<br class="tw-hidden md:tw-inline"><strong>The Station</strong>, Silver St, BS1 2AG.
|
||||||
|
</p>
|
||||||
<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">
|
|
||||||
<img src="/themes/dcb2017/logo.svg" alt="Drupalcamp Bristol logo" />
|
|
||||||
</div>
|
|
||||||
<div class="tw-leading-normal tw--mx-6 md:tw--mx-20 tw-spaced-y-4 clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item">
|
|
||||||
<p>
|
|
||||||
DrupalCamp Bristol is returning
|
|
||||||
<br class="tw-hidden md:tw-inline">on <strong>June 28th 2019</strong> at
|
|
||||||
<br class="tw-hidden md:tw-inline"><strong>The Station</strong>, Silver St, BS1 2AG.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="md:tw-flex md:tw-justify-center tw-mt-8 tw-leading-snug">
|
|
||||||
<a class="tw-button tw-bg-pink-600 tw-mb-4 md:tw-mb-0" href="{{ page.papercall.url }}">
|
|
||||||
Submit a session
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="tw-button tw-bg-purple-600" href="{{ page.twitter.url }}">
|
|
||||||
Follow us
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
|
||||||
|
|
||||||
<div class="tw-mt-auto">
|
<div class="md:tw-flex md:tw-justify-center tw-mt-8 tw-leading-snug">
|
||||||
{% if page.update_text %}
|
<a class="tw-button tw-bg-pink-600 tw-mb-4 md:tw-mb-0" href="{{ page.papercall.url }}">
|
||||||
{% include 'update-text' %}
|
Submit a session
|
||||||
{% endif %}
|
</a>
|
||||||
|
|
||||||
{% include 'footer' %}
|
<a class="tw-button tw-bg-purple-600" href="{{ page.twitter.url }}">
|
||||||
|
Follow us
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</main>
|
||||||
</html>
|
|
||||||
|
|
9
source/sponsor-us.md
Normal file
9
source/sponsor-us.md
Normal 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.
|
Loading…
Reference in a new issue