update css for brandpanel and card

This commit is contained in:
2021-08-16 09:14:49 +00:00
parent f87e507ad8
commit 278611928a
5 changed files with 67 additions and 57 deletions

View File

@@ -30,10 +30,10 @@ h1, h2 {
font-family: "Roboto", sans-serif !important;
}
// tft page
.tft_section h2{
font-family: 'Oswald', sans-serif !important;
}
.tft_subtitle{
font-family: 'Oswald', sans-serif;
font-weight: 400 !important;

View File

@@ -227,49 +227,51 @@
</div>
<!-- tft -->
<div class="w-full max-w-7xl mx-auto lg:mt-20 lg:px-16" v-else-if="id == 'tft'">
<div class="w-full max-w-7xl mx-auto lg:mt-20 lg:px-16 tft_section" v-else-if="id == 'tft'">
<h2
v-if="cta.title"
class="text-4xl mb-2 uppercase leading-tight font-semibold font-heading"
class="lg:w-1/2 text-6xl mb-6 mt-20 leading-none font-heading mx-auto"
>
{{ cta.title }}
</h2>
<div v-html="cta.content" class="mt-6 mb-8 text-xl text-gray-800"></div>
<div v-html="cta.content" class="mt-6 mb-8 text-xl tracking-wide tft_subtitle text-gray-800"></div>
<div class="mt-8 tracking-wide leading-loose" v-if="cta.video_button">
<a
@click="toggleModal"
class="
inline-block
cursor-pointer
bg-blue-900
text-sm
learn-button
hover:bg-blue-800
text-gray-100
px-12
py-2
mr-5
mb-4
shadow
rounded-full
"
class="
inline-block
bg-gray-900
text-xl
learn-button
hover:bg-gray-800
text-gray-100
px-16
py-1
mb-4
shadow
rounded-full
tft_subtitle
tracking-wide
"
>{{ cta.video_button }}</a
>
</div>
<a
class="
inline-block
bg-blue-900
text-sm
learn-button
hover:bg-blue-800
text-gray-100
px-12
py-2
mb-4
shadow
rounded-full
"
inline-block
bg-gray-900
text-xl
learn-button
hover:bg-gray-800
text-gray-100
px-16
py-1
mb-4
shadow
rounded-full
tft_subtitle
tracking-wide
"
target="_blank"
v-if="cta.button"
:href="cta.link"

View File

@@ -245,7 +245,7 @@
<!-- tft -->
<div
v-else-if="id == 'tft'"
class="flex flex-wrap text-center lg:text-left "
class="flex flex-wrap text-center tft_section lg:text-left "
>
<div class="lg:w-1/2 px-2 self-center">
@@ -257,17 +257,13 @@
</div>
<div
class="
lg:w-1/2 px-2 lg:pr-20 lg:mt-10 order-1 lg:order-none
lg:w-1/2 px-2 lg:mt-10 order-1 lg:order-none text-center
"
>
<div class="lg:self-center">
<h2
class="
text-4xl
mb-2
uppercase
leading-tight
font-semibold font-heading
text-5xl mb-6 uppercase leading-none font-heading
"
>
<span class="block">{{ brand.title }}</span>
@@ -275,7 +271,7 @@
brand.subtitle
}}</span>
</h2>
<div class="py-6 mt-4 text-gray-600" v-html="brand.content"></div>
<div class="py-6 mt-4 text-gray-900 text-xl tft_subtitle tracking-wide" v-html="brand.content"></div>
<a
v-if="brand.btnTxt"
target="_blank"

View File

@@ -182,11 +182,12 @@
hover:bg-gray-800
text-gray-100
px-16
py-2
py-1
mb-4
shadow
rounded-full
tft_subtitle
tracking-wide
"
:href="link"
>{{ button }}</a
@@ -201,11 +202,12 @@
hover:bg-gray-800
text-gray-100
px-16
py-2
py-1
mb-4
shadow
rounded-full
tft_subtitle
tracking-wide
"
:href="link"
>{{ button }}</a

View File

@@ -2,25 +2,30 @@
<div class="lg:py-12 lg:flex lg:justify-center flex flex-col">
<div
v-if="id == 'tft'"
class="bg-white lg:mx-8 lg:flex lg:max-w-5xl lg:rounded-lg"
class="bg-white lg:mx-8 lg:flex lg:max-w-5xl lg:rounded-lg tft_section"
>
<div class="py-12 px-6 max-w-xl lg:max-w-5xl lg:w-1/2">
<h2 class="text-3xl text-gray-700 font-bold">{{ card.title }}</h2>
<div class="mt-4 text-gray-700" v-html="card.content"></div>
<div class="py-2 px-6 max-w-xl lg:max-w-5xl lg:w-1/2 text-center">
<h2 class="text-6xl mb-6 leading-none font-heading">{{ card.title }}</h2>
<div class="mt-4 text-gray-900 text-xl tft_subtitle tracking-wide" v-html="card.content"></div>
<div class="mt-8" v-if="card.button">
<a
v-if="card.link.includes('http')"
target="_blank"
:href="card.link"
class="
bg-blue-900
inline-block
bg-gray-900
text-xl
learn-button
hover:bg-blue-700
hover:bg-gray-800
text-gray-100
px-5
py-3
font-semibold
rounded
px-16
py-1
mb-4
shadow
rounded-full
tft_subtitle
tracking-wide
"
>{{ card.button }}</a
>
@@ -28,14 +33,19 @@
v-else
:href="card.link"
class="
bg-blue-900
inline-block
bg-gray-900
text-xl
learn-button
hover:bg-blue-700
hover:bg-gray-800
text-gray-100
px-5
py-3
font-semibold
rounded
px-16
py-1
mb-4
shadow
rounded-full
tft_subtitle
tracking-wide
"
>{{ card.button }}</a
>