Skip to content

Commit b9ba096

Browse files
filipkappajuujisai
andauthored
add pricing links to TWE layout (#2125)
* add pricing links to TWE layout * Add pricing to search --------- Co-authored-by: Bartosz Cylwik <[email protected]>
1 parent a4ae057 commit b9ba096

File tree

5 files changed

+116
-29
lines changed

5 files changed

+116
-29
lines changed

site/content/general/license/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,24 @@ <h2 class="mt-4 text-[40px] font-bold">{{< docs-title >}}</h2>
220220

221221
<div
222222
class="border-t pt-4 text-sm text-neutral-700 dark:text-neutral-200">
223+
<p class="">
224+
In case the AGPL license doesn't fit your needs, make sure to
225+
check out our predefined commercial EULA license options. If you
226+
get one of the commercial licenses you are
227+
<strong>no longer bound by the AGPL</strong> license limitations.
228+
</p>
229+
<div class="text-center">
230+
<a
231+
href="/pro/"
232+
type="button"
233+
class="my-2 inline-block rounded bg-primary px-6 pb-2 pt-2.5 text-xs font-medium uppercase leading-normal text-white shadow-[0_4px_9px_-4px_#3b71ca] transition duration-150 ease-in-out hover:bg-primary-600 hover:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.3),0_4px_18px_0_rgba(59,113,202,0.2)] focus:bg-primary-600 focus:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.3),0_4px_18px_0_rgba(59,113,202,0.2)] focus:outline-none focus:ring-0 active:bg-primary-700 active:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.3),0_4px_18px_0_rgba(59,113,202,0.2)] dark:shadow-[0_4px_9px_-4px_rgba(59,113,202,0.5)] dark:hover:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.2),0_4px_18px_0_rgba(59,113,202,0.1)] dark:focus:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.2),0_4px_18px_0_rgba(59,113,202,0.1)] dark:active:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.2),0_4px_18px_0_rgba(59,113,202,0.1)]">
234+
see commercial licenses
235+
</a>
236+
</div>
237+
</div>
238+
239+
<div
240+
class="mt-5 border-t pt-4 text-sm text-neutral-700 dark:text-neutral-200">
223241
<p class="">
224242
Contact us for more options. We offer a
225243
<strong>business-friendly, customizable license</strong>

site/content/general/pro/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h2 class="mb-12 text-center text-3xl font-bold">Commercial Licenses</h2>
127127
<strong>Basic</strong>
128128
</p>
129129
<h3 class="mb-6 text-3xl">
130-
<strong>$99</strong>
130+
<strong>99</strong>
131131
<small class="text-base text-neutral-700 dark:text-neutral-300"
132132
>/year</small
133133
>
@@ -269,7 +269,7 @@ <h3 class="mb-6 text-3xl">
269269
<strong>EXTENDED</strong>
270270
</p>
271271
<h3 class="mb-6 text-3xl">
272-
<strong>$179</strong>
272+
<strong>179</strong>
273273
<small class="text-base text-neutral-700 dark:text-neutral-300"
274274
>/year</small
275275
>
@@ -410,7 +410,7 @@ <h3 class="mb-6 text-3xl">
410410
<strong>UNLIMITED</strong>
411411
</p>
412412
<h3 class="mb-6 text-3xl">
413-
<strong>$999</strong>
413+
<strong>999</strong>
414414
<small class="text-base text-neutral-700 dark:text-neutral-300"
415415
>/year</small
416416
>

site/layouts/partials/header/header.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -160,26 +160,12 @@
160160
>License</a
161161
>
162162

163-
<a
164-
target="_blank"
165-
href="https://mdbgo.com/"
166-
class="hidden py-2 text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 lg:block lg:px-2 [&.active]:text-black/90 dark:[&.active]:text-zinc-400"
167-
>Free hosting</a
168-
>
169-
170163
<a
171164
href="/learn/te-foundations/basics/introduction/"
172165
class="hidden py-2 text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 sm:block sm:px-2 [&.active]:text-black/90 dark:[&.active]:text-zinc-400"
173166
>Learn</a
174167
>
175168

176-
<a
177-
target="_blank"
178-
href="https://mdbootstrap.com/services/"
179-
class="hidden py-2 text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 lg:px-2 xl:block [&.active]:text-black/90 dark:[&.active]:text-zinc-400"
180-
>Services</a
181-
>
182-
183169
<a
184170
href="https://github.com/mdbootstrap/Tailwind-Elements/discussions"
185171
class="hidden py-2 text-neutral-500 hover:text-neutral-700 focus:text-neutral-700 disabled:text-black/30 dark:text-neutral-200 dark:hover:text-neutral-300 dark:focus:text-neutral-300 sm:block sm:px-2 [&.active]:text-black/90 dark:[&.active]:text-zinc-400"
@@ -337,6 +323,13 @@
337323
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
338324
</svg>
339325
</a>
326+
327+
<a
328+
href="/pro/"
329+
type="button"
330+
class="ml-4 inline-block rounded bg-primary-100 px-4 pb-[5px] pt-[6px] text-xs font-medium uppercase leading-normal text-primary-700 transition duration-150 ease-in-out hover:bg-primary-accent-100 focus:bg-primary-accent-100 focus:outline-none focus:ring-0 active:bg-primary-accent-200">
331+
Pricing
332+
</a>
340333
</div>
341334
</div>
342335
</div>

site/layouts/partials/sidenav/standard.html

Lines changed: 82 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,86 @@
7878
{{ end }}
7979
</ul>
8080
</li>
81+
82+
<li class="relative">
83+
<a
84+
class="active:[rgba(59,113,202,0.05)] flex h-12 cursor-pointer items-center truncate rounded-[5px] px-6 py-4 text-[0.875rem] text-gray-600 outline-none transition duration-300 ease-linear hover:bg-[rgba(59,113,202,0.05)] hover:text-inherit hover:outline-none focus:bg-[rgba(59,113,202,0.05)] focus:text-inherit focus:outline-none active:text-inherit active:outline-none data-[te-sidenav-state-active]:bg-[rgba(18,102,241,0.05)] data-[te-sidenav-state-active]:text-inherit data-[te-sidenav-state-focus]:outline-none motion-reduce:transition-none dark:text-gray-300 dark:hover:bg-white/10 dark:focus:bg-white/10 dark:active:bg-white/10 data-[te-sidenav-state-active]:dark:bg-white/20"
85+
data-te-sidenav-link-ref>
86+
<span
87+
class="mr-4 [&>svg]:h-3.5 [&>svg]:w-3.5 [&>svg]:text-gray-400 dark:[&>svg]:text-gray-300">
88+
<svg
89+
xmlns="http://www.w3.org/2000/svg"
90+
fill="currentColor"
91+
viewBox="0 0 24 24"
92+
stroke-width="1.5"
93+
stroke="currentColor"
94+
class="h-6 w-6">
95+
<path
96+
stroke-linecap="round"
97+
stroke-linejoin="round"
98+
d="M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z" />
99+
</svg>
100+
</span>
101+
102+
<span
103+
>Commercial<span
104+
class="ml-2 inline-block whitespace-nowrap rounded-[0.27rem] bg-danger-100 px-[0.65em] pb-[0.25em] pt-[0.35em] text-center align-baseline text-[0.75em] font-bold leading-none text-danger-700"
105+
>New</span
106+
></span
107+
>
108+
<span
109+
class=" absolute -right-1 ml-auto mr-[0.8rem] transition-transform duration-300 ease-linear motion-reduce:transition-none [&>svg]:h-4 [&>svg]:w-4 [&>svg]:text-gray-600 dark:[&>svg]:text-gray-300"
110+
data-te-sidenav-rotate-icon-ref>
111+
<svg
112+
xmlns="http://www.w3.org/2000/svg"
113+
fill="none"
114+
viewBox="0 0 24 24"
115+
stroke-width="2"
116+
stroke="currentColor"
117+
class="h-6 w-6">
118+
<path
119+
stroke-linecap="round"
120+
stroke-linejoin="round"
121+
d="M19.5 8.25l-7.5 7.5-7.5-7.5" />
122+
</svg>
123+
</span>
124+
</a>
125+
<ul
126+
class="!visible relative m-0 hidden list-none p-0 data-[te-collapse-show]:block"
127+
data-te-sidenav-collapse-ref>
128+
<li class="mx-1 mt-1">
129+
<a
130+
href="/pro/"
131+
class="flex h-6 cursor-pointer items-center truncate rounded-[5px] py-4 pl-[3.4rem] pr-6 text-[0.78rem] text-gray-600 outline-none transition duration-300 ease-linear hover:bg-blue-100/20 hover:text-inherit hover:outline-none focus:bg-blue-200/20 focus:text-inherit focus:outline-none active:bg-blue-200/20 active:text-inherit active:outline-none data-[te-sidenav-state-active]:text-inherit data-[te-sidenav-state-focus]:outline-none motion-reduce:transition-none dark:text-gray-300 dark:hover:bg-white/10 dark:focus:bg-white/10 dark:active:bg-white/10"
132+
data-te-sidenav-link-ref=""
133+
tabindex="0">
134+
Pricing
135+
</a>
136+
</li>
137+
138+
<li class="mx-1 mt-1">
139+
<a
140+
href="/license/"
141+
class="flex h-6 cursor-pointer items-center truncate rounded-[5px] py-4 pl-[3.4rem] pr-6 text-[0.78rem] text-gray-600 outline-none transition duration-300 ease-linear hover:bg-blue-100/20 hover:text-inherit hover:outline-none focus:bg-blue-200/20 focus:text-inherit focus:outline-none active:bg-blue-200/20 active:text-inherit active:outline-none data-[te-sidenav-state-active]:text-inherit data-[te-sidenav-state-focus]:outline-none motion-reduce:transition-none dark:text-gray-300 dark:hover:bg-white/10 dark:focus:bg-white/10 dark:active:bg-white/10"
142+
data-te-sidenav-link-ref=""
143+
tabindex="0">
144+
License
145+
</a>
146+
</li>
147+
148+
<li class="mx-1 mt-1">
149+
<a
150+
href="https://mdbootstrap.com/support/cat/twe"
151+
target="_blank"
152+
class="flex h-6 cursor-pointer items-center truncate rounded-[5px] py-4 pl-[3.4rem] pr-6 text-[0.78rem] text-gray-600 outline-none transition duration-300 ease-linear hover:bg-blue-100/20 hover:text-inherit hover:outline-none focus:bg-blue-200/20 focus:text-inherit focus:outline-none active:bg-blue-200/20 active:text-inherit active:outline-none data-[te-sidenav-state-active]:text-inherit data-[te-sidenav-state-focus]:outline-none motion-reduce:transition-none dark:text-gray-300 dark:hover:bg-white/10 dark:focus:bg-white/10 dark:active:bg-white/10"
153+
data-te-sidenav-link-ref=""
154+
tabindex="0">
155+
Premium Support
156+
</a>
157+
</li>
158+
</ul>
159+
</li>
160+
81161
<!-- <div class="mb-6">
82162
<p
83163
class="text-xs uppercase font-bold block py-1 px-4 mb-2"
@@ -706,12 +786,7 @@
706786
</svg>
707787
</span>
708788

709-
<span
710-
>Tools<span
711-
class="ml-2 inline-block whitespace-nowrap rounded-[0.27rem] bg-primary-100 px-[0.65em] pb-[0.25em] pt-[0.35em] text-center align-baseline text-[0.75em] font-bold leading-none text-primary-700"
712-
>New</span
713-
></span
714-
>
789+
<span>Tools</span>
715790
<span
716791
class=" absolute -right-1 ml-auto mr-[0.8rem] transition-transform duration-300 ease-linear motion-reduce:transition-none [&>svg]:h-4 [&>svg]:w-4 [&>svg]:text-gray-600 dark:[&>svg]:text-gray-300"
717792
data-te-sidenav-rotate-icon-ref>
@@ -920,12 +995,7 @@
920995
</svg>
921996
</span>
922997

923-
<span
924-
>Resources<span
925-
class="ml-2 inline-block whitespace-nowrap rounded-[0.27rem] bg-primary-100 px-[0.65em] pb-[0.25em] pt-[0.35em] text-center align-baseline text-[0.75em] font-bold leading-none text-primary-700"
926-
>New</span
927-
></span
928-
>
998+
<span>Resources</span>
929999
<span
9301000
class=" absolute -right-1 ml-auto mr-[0.8rem] transition-transform duration-300 ease-linear motion-reduce:transition-none [&>svg]:h-4 [&>svg]:w-4 [&>svg]:text-gray-600 dark:[&>svg]:text-gray-300"
9311001
data-te-sidenav-rotate-icon-ref>

site/static/search.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,12 @@
920920
"hero": 1
921921
}
922922
},
923+
{
924+
"href": "/pro/",
925+
"name": "Pricing",
926+
"keywords": ["pro", "pricing"],
927+
"category": "Commercial"
928+
},
923929
{
924930
"href": "/learn/te-foundations/basics/introduction/",
925931
"name": "Tutorials",

0 commit comments

Comments
 (0)