From d38acd68765c7e6e90efba3b974f26628123980e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 27 Dec 2020 12:28:00 +0000 Subject: [PATCH] Add description text and button --- tailwind.config.js | 9 +++++---- templates/includes/home/description.html.twig | 5 +++++ templates/pages/home.html.twig | 3 +-- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 templates/includes/home/description.html.twig diff --git a/tailwind.config.js b/tailwind.config.js index ff6ae97..921e1f9 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -7,6 +7,10 @@ module.exports = { darkMode: false, // or 'media' or 'class' theme: { extend: { + fontFamily: { + display: ['Bebas Neue', 'Arial Narrow', 'Arial', 'sans-serif'], + sans: ['Helvetica', 'Arial', 'sans-serif'] + }, screens: { sm: '700px' } @@ -17,10 +21,7 @@ module.exports = { dandelion: '#FFDC67', gray: colors.trueGray, white: '#ffffff' - }, - fontFamily: { - display: ['Bebas Neue', 'Arial Narrow', 'Arial', 'sans-serif'] - }, + } }, variants: { extend: {}, diff --git a/templates/includes/home/description.html.twig b/templates/includes/home/description.html.twig new file mode 100644 index 0000000..79eda46 --- /dev/null +++ b/templates/includes/home/description.html.twig @@ -0,0 +1,5 @@ +
+

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.

+ + Learn more +
\ No newline at end of file diff --git a/templates/pages/home.html.twig b/templates/pages/home.html.twig index 683fe7a..ba52c9d 100644 --- a/templates/pages/home.html.twig +++ b/templates/pages/home.html.twig @@ -2,6 +2,5 @@ {% block content %} {% include 'includes/home/header.html.twig' %} - - This is the homepage. + {% include 'includes/home/description.html.twig' %} {% endblock %}