Merge pull request #1 from opdavies/announcement

Update hero text
This commit is contained in:
Oliver Davies 2019-02-28 18:10:49 +00:00 committed by GitHub
commit 31291f883c
4 changed files with 36 additions and 5 deletions

View file

@ -12,5 +12,9 @@
"laravel-mix": "^4.0.14", "laravel-mix": "^4.0.14",
"laravel-mix-tailwind": "^0.1.0", "laravel-mix-tailwind": "^0.1.0",
"tailwindcss": "^0.7.4" "tailwindcss": "^0.7.4"
},
"dependencies": {
"tailwindcss-interaction-variants": "^1.0.0",
"tailwindcss-spaced-items": "^0.1.0"
} }
} }

View file

@ -1,4 +1,5 @@
--- ---
twitter_url: https://twitter.com/drupalcampbris
--- ---
<!DOCTYPE html> <!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# "> <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# ">
@ -39,7 +40,7 @@
</li> </li>
<li class="menu-item"> <li class="menu-item">
<a href="https://twitter.com/drupalcampbris" title="DrupalCamp Bristol on Twitter">Twitter</a> <a href="{{ page.twitter_url }}" title="DrupalCamp Bristol on Twitter">Twitter</a>
</li> </li>
<li class="menu-item"> <li class="menu-item">
@ -56,9 +57,16 @@
<div class="tw-mx-4"> <div class="tw-mx-4">
<img src="/themes/dcb2017/logo.svg" alt="Drupalcamp Bristol logo" /> <img src="/themes/dcb2017/logo.svg" alt="Drupalcamp Bristol logo" />
</div> </div>
<div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"> <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 in 2019.</p> <p>
<p class="mb-0">Details coming soon!</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>
<p>Session submissions opening soon!</p>
<p>
<a href="{{ page.twitter_url }}" class="tw-font-bold tw-text-black tw-no-underline focus:tw-outline-none hocus:tw-underline">Follow us on Twitter</a> to get updates!
</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -11,7 +11,14 @@ module.exports = {
textColors: colors, textColors: colors,
backgroundColors: colors, backgroundColors: colors,
borderColors: Object.assign({ default: colors['grey-light'] }, colors), borderColors: Object.assign({ default: colors['grey-light'] }, colors),
plugins: [], plugins: [
require('tailwindcss-interaction-variants')(),
require('tailwindcss-spaced-items')(),
],
modules: {
...defaultConfig.modules,
textStyle: ['responsive', 'hover', 'focus', 'hocus'],
},
options: { options: {
...defaultConfig.options, ...defaultConfig.options,
prefix: 'tw-', prefix: 'tw-',

View file

@ -5963,6 +5963,18 @@ svgo@^1.0.0:
unquote "~1.1.1" unquote "~1.1.1"
util.promisify "~1.0.0" util.promisify "~1.0.0"
tailwindcss-interaction-variants@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/tailwindcss-interaction-variants/-/tailwindcss-interaction-variants-1.0.0.tgz#85370e272b5365090fd83e2ad6a607f415da487d"
integrity sha512-HhTyil7E6eZcfRFtit8ViPnLp5QRrSg/s++gIZu0Nj2oqXiK1zESqVaJl12j5gNNkCxDUpwO0iyZxya/Gs6dww==
dependencies:
lodash "^4.17.11"
tailwindcss-spaced-items@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/tailwindcss-spaced-items/-/tailwindcss-spaced-items-0.1.0.tgz#e7f381e5c780a034bcdbc38a6a2cfb31f828a020"
integrity sha512-YiT1h89fp13r6I+EBM8wS1RWfsTwzHSi4BAnHoTXXQK1GQ53DUCPeFNmiksYSdx2aQLMdp/DTPvErqBVfTALiQ==
tailwindcss@^0.7.4: tailwindcss@^0.7.4:
version "0.7.4" version "0.7.4"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-0.7.4.tgz#fb7926821d42eacdc12e6621a49d21f37a3ff9e9" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-0.7.4.tgz#fb7926821d42eacdc12e6621a49d21f37a3ff9e9"