File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
content/fully-managed-open-source-services/development/dev-tools Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
draft : false
3
+ disable_trial : true
3
4
title : Gophish fully managed open source service | OctaByte.io
4
5
meta :
5
6
cover : /images/development/dev-tools/gophish/screenshot-1.png
Original file line number Diff line number Diff line change @@ -25,11 +25,22 @@ <h1 class="text-xl font-extrabold">
25
25
< h2 class ="text-xl mt-9 "> {{ .Params.content.title }}</ h2 >
26
26
27
27
< div class ="flex items-center justify-start gap-3 my-5 flex-wrap ">
28
- < a
29
- href ="/start-trial?service_id={{ .Params.content.id }}&service_name={{ .Params.content.name }} "
30
- class ="rounded-md isolate bg-gradient-to-r from-[#ff80b5] to-[#9089fc] px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:opacity-70 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 ">
31
- Start Free Trial
32
- </ a >
28
+ {{ if .Params.disable_trial }}
29
+ < div class ="relative ">
30
+ < button
31
+ class ="rounded-md isolate bg-gray-400 cursor-not-allowed px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm "
32
+ title ="Temporarily trial is disabled for this service ">
33
+ Start Free Trial
34
+ </ button >
35
+ </ div >
36
+ {{ else }}
37
+ < a
38
+ href ="/start-trial?service_id={{ .Params.content.id }}&service_name={{ .Params.content.name }} "
39
+ class ="rounded-md isolate bg-gradient-to-r from-[#ff80b5] to-[#9089fc] px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:opacity-70 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 ">
40
+ Start Free Trial
41
+ </ a >
42
+ {{ end }}
43
+
33
44
34
45
< a
35
46
href ="{{ $url }} "
You can’t perform that action at this time.
0 commit comments