Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjustment princing page and add account option on header #297

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 26 additions & 16 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
return '<li>' . implode('</li><li>', $list) . '</li>';
},
'prices' => [
'Basic' => [
'price' => '$ 600/mo',
'Professional' => [
'price' => '$ 150/mo',
'description' => 'STARTING FROM',
'isActive' => false,
'list' => <<<LIST
- Until 5 accounts
- Storage until 1Gb
LIST,
],
'Business' => [
'price' => 'Contact us to more informations',
'Enterprise' => [
'price' => '$ 1000/mo',
'description' => '',
'isActive' => true,
'list' => <<<LIST
Expand All @@ -49,47 +49,57 @@
'optionsServicesLibresign' => [
[
'service' => 'Electronic document management',
'basic' => true,
'pro' => true,
'business' => true,
],
[
'service' => 'Simple electronic signature (without digital certificate) unlimited',
'basic' => true,
'pro' => true,
'business' => true,
],
[
'service' => 'Unlimited subscription with A1 digital certificate',
'basic' => true,
'pro' => true,
'business' => true,
],
[
'service' => 'Sending reminder by email',
'basic' => true,
'pro' => true,
'business' => true,
],
[
'service' => 'Technical support',
'basic' => false,
'service' => 'Task management',
'pro' => true,
'business' => true,
],
[
'service' => 'Online document creation and editing',
'basic' => false,
'service' => 'Calendar',
'pro' => true,
'business' => true,
],
[
'service' => 'Forms',
'pro' => true,
'business' => true,
],
[
'service' => 'Access management by users or departments',
'basic' => false,
'service' => 'Technical support',
'pro' => false,
'business' => true,
],
[
'service' => 'Online document creation and editing',
'pro' => false,
'business' => true,
],
[
'service' => 'Task control and management',
'basic' => false,
'pro' => false,
'business' => true,
],
[
'service' => 'Customization of visual identity (colors, logo and domain)',
'basic' => false,
'pro' => false,
'business' => true,
],
],
Expand Down
20 changes: 12 additions & 8 deletions lang/en/main.json

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions lang/fr/main.json

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions lang/nb-NO/main.json

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions lang/pt-BR/main.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions source/_layouts/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
<li class="nav-item">
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}pricing">{{ $page->t('Pricing')}}</a>
</li>
<li class="nav-item">
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}#target_audience">{{ $page->t("Target audience") }}</a>
</li>
<li class="nav-item">
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}#contact">{{ $page->t("Contact") }}</a>
</li>
Expand All @@ -38,13 +35,16 @@
<li class="nav-item nav-item-has-children">
<a href="javascript:void(0)">{{ $page->t('Language') }}</a>
<ul class="ud-submenu">
@foreach($page->locales as $localeCode => $localeName)
@foreach($page->locales as $localeCode => $localeName)
<li class="ud-submenu-item">
<a class="ud-submenu-link" href="{{ translate_url($page, $localeCode) }}">{{ $localeName }}</a>
</li>
@endforeach
@endforeach
</ul>
</li>
<li class="nav-item">
<a class="ud-menu-scroll" href="https://account.libresign.coop/">{{$page->t("Account")}}</a>
</li>
</ul>
</div>
</nav>
Expand Down
41 changes: 27 additions & 14 deletions source/pricing.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@ class="ud-single-pricing first-item{{ $content->isActive ? ' active' : ''}} wow
</div>
@endif
<div class="ud-pricing-footer">
<a href="{{ locale_path($page, $page->baseUrl) }}contact-us" class="ud-main-btn ud-border-btn">
{{ $page->t('Under Consultation') }}
@if($planName == 'Professional')
<a href="https://account.libresign.coop/product/professional/" class="ud-main-btn ud-border-btn">
{{ $page->t('Contract') }}
</a>
@else
<a href="https://account.libresign.coop/product/enterprise/" class="ud-main-btn ud-border-btn">
{{ $page->t('Contract') }}
@endif
</a>
</div>
</div>
Expand All @@ -65,15 +71,15 @@ class="ud-single-pricing first-item{{ $content->isActive ? ' active' : ''}} wow
<thead>
<tr>
<th style="width: 34%;"></th>
<th style="width: 22%;">{{ $page->t('Basic') }}</th>
<th style="width: 22%;">{{ $page->t('Business') }}</th>
<th style="width: 22%;">{{ $page->t('Professional') }}</th>
<th style="width: 22%;">{{ $page->t('Enterprise') }}</th>
</tr>
</thead>
@foreach($page->optionsServicesLibresign as $item => $optionList)
<tbody>
@foreach($page->optionsServicesLibresign as $item => $optionList)
<tr>
<th scope="row" class="text-start">{{ $page->t($optionList->service) }}</th>
@foreach (['basic', 'business'] as $item)
@foreach (['pro', 'business'] as $item)
<td>
@if (is_bool($optionList->$item))
<i class="lni lni-{{ $optionList->$item == true ? 'checkmark text-success' : 'close text-danger'}}"></i>
Expand All @@ -82,18 +88,25 @@ class="ud-single-pricing first-item{{ $content->isActive ? ' active' : ''}} wow
@endif
</td>
@endforeach

</tr>
@endforeach
<tr>
<th></th>
<td>
<a href="https://account.libresign.coop/product/professional/" class="ud-main-btn ud-white-btn mt-1">
{{ $page->t('Contract') }}
</a>
</td>
<td>
<a href="https://account.libresign.coop/product/enterprise/" class="ud-main-btn ud-white-btn mt-1">
{{ $page->t('Contract') }}
</a>
</td>
</tr>
</tbody>
@endforeach
</table>
</div>

<div class="ud-pricing-footer text-center mt-5">
<a href="{{ locale_path($page, $page->baseUrl) }}contact-us" class="ud-main-btn ud-white-btn mt-1">
{{ $page->t('Under Consultation') }}
</a>
</div>

</div>
</section>

Expand Down