From ec88f7a3a15823d3239cc39197797fdb1af69a61 Mon Sep 17 00:00:00 2001
From: Oliver Davies
Date: Wed, 20 Mar 2019 23:19:08 +0000
Subject: [PATCH] Add CTA buttons
Add buttons to PaperCall (session submissions) and Twitter.
---
assets/css/app.css | 9 +++++++++
source/index.html.twig | 15 ++++++++++++++-
tailwind.config.js | 3 +++
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/assets/css/app.css b/assets/css/app.css
index 1295828fb..1153e7b7e 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -1,5 +1,14 @@
@tailwind components;
+.tw-button {
+ @apply inline-block uppercase font-bold text-lg mx-2 py-3 px-5 text-white no-underline bg-black !important;
+
+ &:hover,
+ &:focus {
+ @apply bg-green-600 text-white !important
+ }
+}
+
.tw-bg-balloon {
background-image: url(/themes/dcb2017/images/dcb-bg.jpg);
}
diff --git a/source/index.html.twig b/source/index.html.twig
index 7d8072614..d9b98dfdf 100644
--- a/source/index.html.twig
+++ b/source/index.html.twig
@@ -1,5 +1,8 @@
---
-twitter_url: https://twitter.com/drupalcampbris
+papercall:
+ url: ~
+twitter:
+ url: https://twitter.com/drupalcampbris
---
@@ -40,6 +43,16 @@ twitter_url: https://twitter.com/drupalcampbris
The Station, Silver St, BS1 2AG.
+
+
diff --git a/tailwind.config.js b/tailwind.config.js
index 0144f6643..478be7bad 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -7,6 +7,9 @@ module.exports = {
extend: {
colors: {
black: '#000',
+ 'green-600': '#0fa877',
+ 'pink-600': '#ec16a8',
+ 'purple-600': '#b33ee9',
},
variants: {
textStyle: ['responsive', 'hover', 'focus', 'hocus'],