File tree 1 file changed +25
-17
lines changed
1 file changed +25
-17
lines changed Original file line number Diff line number Diff line change 1
1
{{ #if @custom.newsletter_show }}
2
2
3
- {{ #unless @member.paid }}
3
+ {{ #is " home " }}
4
4
5
- <div class =" mb-12 w-full bg-center bg-cover h-screen" style =" background-image: url('{{ @site.cover_image }} ');" >
6
- <div class =" flex items-center justify-center w-full h-full bg-gray-900/40" >
7
- <div class =" text-center container" >
5
+ {{ #unless @member.paid }}
8
6
9
- <!-- Title -->
10
- <h1 class =" mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 sm:text-5xl md:text-6xl lg:text-8xl " >
11
- {{ @custom.newsletter_title }}
12
- </h1 >
7
+ <div class =" {{ #match @custom.newsletter_size " xl" }} h-screen {{ else match @custom.newsletter_size "lg" }} h-[80vh] {{ else match @custom.newsletter_size "md" }} h-[70vh] {{ else }} h-[60vh] {{ /match }} mb-12 w-full bg-center bg-cover" style =" background-image: url('{{ @site.cover_image }} ');" >
13
8
14
- <!-- Description -->
15
- <p class =" mb-8 text-lg sm:text-xl md:text-2xl lg:text-3xl font-normal text-gray-500 sm:px-16 xl:px-48 dark:text-gray-400" >
16
- {{ @custom.newsletter_description }}
17
- </p >
9
+ <div class =" flex items-center justify-center w-full h-full bg-gray-900/40" >
18
10
19
- <button style =" background-color: {{ @site.accent_color }} ;" class =" cursor-pointer rounded-md px-6 py-2 font-semibold text-white" data-portal =" signup" >
11
+ <div class =" text-center container" >
12
+
13
+ <!-- Title -->
14
+ <h1 class =" mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 sm:text-5xl md:text-6xl lg:text-8xl " >
15
+ {{ @custom.newsletter_title }}
16
+ </h1 >
17
+
18
+ <!-- Description -->
19
+ <p class =" mb-8 text-lg sm:text-xl md:text-2xl lg:text-3xl font-normal text-gray-800 sm:px-16 xl:px-48 " >
20
+ {{ @custom.newsletter_description }}
21
+ </p >
22
+
23
+ <button style =" background-color: {{ @site.accent_color }} ;" class =" cursor-pointer rounded-md px-6 py-2 font-semibold text-white" data-portal =" signup" >
20
24
{{ @custom.newsletter_button_text }}
21
- </button >
25
+ </button >
26
+
27
+ </div >
28
+
29
+ </div >
22
30
23
31
</div >
24
- </div >
25
- </div >
26
32
27
- {{ /unless }}
33
+ {{ /unless }}
34
+
35
+ {{ /is }}
28
36
29
37
{{ /if }}
You can’t perform that action at this time.
0 commit comments