Add description text and button

This commit is contained in:
Oliver Davies 2020-12-27 12:28:00 +00:00
parent 4018f9a6db
commit d38acd6876
3 changed files with 11 additions and 6 deletions

View file

@ -7,6 +7,10 @@ module.exports = {
darkMode: false, // or 'media' or 'class' darkMode: false, // or 'media' or 'class'
theme: { theme: {
extend: { extend: {
fontFamily: {
display: ['Bebas Neue', 'Arial Narrow', 'Arial', 'sans-serif'],
sans: ['Helvetica', 'Arial', 'sans-serif']
},
screens: { screens: {
sm: '700px' sm: '700px'
} }
@ -17,10 +21,7 @@ module.exports = {
dandelion: '#FFDC67', dandelion: '#FFDC67',
gray: colors.trueGray, gray: colors.trueGray,
white: '#ffffff' white: '#ffffff'
}, }
fontFamily: {
display: ['Bebas Neue', 'Arial Narrow', 'Arial', 'sans-serif']
},
}, },
variants: { variants: {
extend: {}, extend: {},

View file

@ -0,0 +1,5 @@
<div class="py-12 px-8 text-center sm:max-w-3xl sm:mx-auto">
<p class="text-xl leading-relaxed font-sans text-center text-blue-700 sm:text-3xl sm:leading-normal">Florida DrupalCamp is an annual conference that brings together web developers from all over the world to learn, network and discuss web development and the Drupal content management system.</p>
<a class="my-6 px-5 py-3 inline-block text-xl font-sans text-blue-700 border-2 border-blue-700 transition transition-color duration-200 ease-in-out hover:text-white hover:bg-blue-700 focus:text-white focus:bg-blue-700 sm:text-3xl" href="#0">Learn more</a>
</div>

View file

@ -2,6 +2,5 @@
{% block content %} {% block content %}
{% include 'includes/home/header.html.twig' %} {% include 'includes/home/header.html.twig' %}
{% include 'includes/home/description.html.twig' %}
This is the homepage.
{% endblock %} {% endblock %}