Skip to content

Commit 56fe4e9

Browse files
committed
adjustment princing page and add account option on header
Signed-off-by: Crisciany <[email protected]>
1 parent 5242215 commit 56fe4e9

File tree

7 files changed

+97
-58
lines changed

7 files changed

+97
-58
lines changed

config.php

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@
2727
return '<li>' . implode('</li><li>', $list) . '</li>';
2828
},
2929
'prices' => [
30-
'Basic' => [
31-
'price' => '$ 600/mo',
30+
'Professional' => [
31+
'price' => '$ 150/mo',
3232
'description' => 'STARTING FROM',
3333
'isActive' => false,
3434
'list' => <<<LIST
3535
- Until 5 accounts
3636
- Storage until 1Gb
3737
LIST,
3838
],
39-
'Business' => [
40-
'price' => 'Contact us to more informations',
39+
'Enterprise' => [
40+
'price' => '$ 1000/mo',
4141
'description' => '',
4242
'isActive' => true,
4343
'list' => <<<LIST
@@ -49,47 +49,57 @@
4949
'optionsServicesLibresign' => [
5050
[
5151
'service' => 'Electronic document management',
52-
'basic' => true,
52+
'pro' => true,
5353
'business' => true,
5454
],
5555
[
5656
'service' => 'Simple electronic signature (without digital certificate) unlimited',
57-
'basic' => true,
57+
'pro' => true,
5858
'business' => true,
5959
],
6060
[
6161
'service' => 'Unlimited subscription with A1 digital certificate',
62-
'basic' => true,
62+
'pro' => true,
6363
'business' => true,
6464
],
6565
[
6666
'service' => 'Sending reminder by email',
67-
'basic' => true,
67+
'pro' => true,
6868
'business' => true,
6969
],
7070
[
71-
'service' => 'Technical support',
72-
'basic' => false,
71+
'service' => 'Task management',
72+
'pro' => true,
7373
'business' => true,
7474
],
7575
[
76-
'service' => 'Online document creation and editing',
77-
'basic' => false,
76+
'service' => 'Calendar',
77+
'pro' => true,
78+
'business' => true,
79+
],
80+
[
81+
'service' => 'Forms',
82+
'pro' => true,
7883
'business' => true,
7984
],
8085
[
81-
'service' => 'Access management by users or departments',
82-
'basic' => false,
86+
'service' => 'Technical support',
87+
'pro' => false,
88+
'business' => true,
89+
],
90+
[
91+
'service' => 'Online document creation and editing',
92+
'pro' => false,
8393
'business' => true,
8494
],
8595
[
8696
'service' => 'Task control and management',
87-
'basic' => false,
97+
'pro' => false,
8898
'business' => true,
8999
],
90100
[
91101
'service' => 'Customization of visual identity (colors, logo and domain)',
92-
'basic' => false,
102+
'pro' => false,
93103
'business' => true,
94104
],
95105
],

lang/en/main.json

Lines changed: 12 additions & 8 deletions
Large diffs are not rendered by default.

lang/fr/main.json

Lines changed: 9 additions & 5 deletions
Large diffs are not rendered by default.

lang/nb-NO/main.json

Lines changed: 9 additions & 5 deletions
Large diffs are not rendered by default.

lang/pt-BR/main.json

Lines changed: 9 additions & 5 deletions
Large diffs are not rendered by default.

source/_layouts/header.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<li class="nav-item">
2727
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}pricing">{{ $page->t('Pricing')}}</a>
2828
</li>
29-
<li class="nav-item">
30-
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}#target_audience">{{ $page->t("Target audience") }}</a>
31-
</li>
3229
<li class="nav-item">
3330
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}#contact">{{ $page->t("Contact") }}</a>
3431
</li>
@@ -38,13 +35,16 @@
3835
<li class="nav-item nav-item-has-children">
3936
<a href="javascript:void(0)">{{ $page->t('Language') }}</a>
4037
<ul class="ud-submenu">
41-
@foreach($page->locales as $localeCode => $localeName)
38+
@foreach($page->locales as $localeCode => $localeName)
4239
<li class="ud-submenu-item">
4340
<a class="ud-submenu-link" href="{{ translate_url($page, $localeCode) }}">{{ $localeName }}</a>
4441
</li>
45-
@endforeach
42+
@endforeach
4643
</ul>
4744
</li>
45+
<li class="nav-item">
46+
<a class="ud-menu-scroll" href="https://account.libresign.coop/">{{$page->t("Account")}}</a>
47+
</li>
4848
</ul>
4949
</div>
5050
</nav>

source/pricing.blade.php

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,14 @@ class="ud-single-pricing first-item{{ $content->isActive ? ' active' : ''}} wow
4343
</div>
4444
@endif
4545
<div class="ud-pricing-footer">
46-
<a href="{{ locale_path($page, $page->baseUrl) }}contact-us" class="ud-main-btn ud-border-btn">
47-
{{ $page->t('Under Consultation') }}
46+
@if($planName == 'Professional')
47+
<a href="https://account.libresign.coop/product/professional/" class="ud-main-btn ud-border-btn">
48+
{{ $page->t('Contract') }}
49+
</a>
50+
@else
51+
<a href="https://account.libresign.coop/product/enterprise/" class="ud-main-btn ud-border-btn">
52+
{{ $page->t('Contract') }}
53+
@endif
4854
</a>
4955
</div>
5056
</div>
@@ -65,15 +71,15 @@ class="ud-single-pricing first-item{{ $content->isActive ? ' active' : ''}} wow
6571
<thead>
6672
<tr>
6773
<th style="width: 34%;"></th>
68-
<th style="width: 22%;">{{ $page->t('Basic') }}</th>
69-
<th style="width: 22%;">{{ $page->t('Business') }}</th>
74+
<th style="width: 22%;">{{ $page->t('Professional') }}</th>
75+
<th style="width: 22%;">{{ $page->t('Enterprise') }}</th>
7076
</tr>
7177
</thead>
72-
@foreach($page->optionsServicesLibresign as $item => $optionList)
7378
<tbody>
79+
@foreach($page->optionsServicesLibresign as $item => $optionList)
7480
<tr>
7581
<th scope="row" class="text-start">{{ $page->t($optionList->service) }}</th>
76-
@foreach (['basic', 'business'] as $item)
82+
@foreach (['pro', 'business'] as $item)
7783
<td>
7884
@if (is_bool($optionList->$item))
7985
<i class="lni lni-{{ $optionList->$item == true ? 'checkmark text-success' : 'close text-danger'}}"></i>
@@ -82,18 +88,25 @@ class="ud-single-pricing first-item{{ $content->isActive ? ' active' : ''}} wow
8288
@endif
8389
</td>
8490
@endforeach
91+
92+
</tr>
93+
@endforeach
94+
<tr>
95+
<th></th>
96+
<td>
97+
<a href="https://account.libresign.coop/product/professional/" class="ud-main-btn ud-white-btn mt-1">
98+
{{ $page->t('Contract') }}
99+
</a>
100+
</td>
101+
<td>
102+
<a href="https://account.libresign.coop/product/enterprise/" class="ud-main-btn ud-white-btn mt-1">
103+
{{ $page->t('Contract') }}
104+
</a>
105+
</td>
85106
</tr>
86107
</tbody>
87-
@endforeach
88108
</table>
89109
</div>
90-
91-
<div class="ud-pricing-footer text-center mt-5">
92-
<a href="{{ locale_path($page, $page->baseUrl) }}contact-us" class="ud-main-btn ud-white-btn mt-1">
93-
{{ $page->t('Under Consultation') }}
94-
</a>
95-
</div>
96-
97110
</div>
98111
</section>
99112

0 commit comments

Comments
 (0)