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

Donation page #216

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
37 changes: 37 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,44 @@
'comment' => "Finally an excellent app for signing documents. Very good!",
'author' => 'Daiane Alves'
]
],
'donateCoin'=>[
[
'BRL'=>"BRL - BRAZILIAN REAL",
'USD'=>"USD - NORTH-AMERICAN DOLAR",
],
],
'getCountry' => function($page, $country){
$donateOption = [
[
'value'=> [1200,120,600,350,170,55],
'symbol' => 'R$',
'country' => 'pt-br'
],
[
'value'=> [200,100,60,30,20,10],
'symbol' => '$',
'country' => 'en'
],
[
'value'=> [2000,1000,650,350,200,100],
'symbol' => 'KR',
'country' => 'nb-no'
],
[
'value'=> [180,90,55,25,20,9],
'symbol' => '€',
'country' => 'fr'
],
];

foreach($donateOption as $option){
if(strtolower($country) == $option['country']){
return $option;
}
}
}
,
'getFromCategory' => function($page, $category) {
$files = array_merge(
glob('source/_posts/*'),
Expand Down
18 changes: 17 additions & 1 deletion lang/en/main.json

Large diffs are not rendered by default.

119 changes: 71 additions & 48 deletions lang/fr/main.json

Large diffs are not rendered by default.

173 changes: 105 additions & 68 deletions lang/nb-NO/main.json

Large diffs are not rendered by default.

178 changes: 131 additions & 47 deletions lang/pt-BR/main.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions source/_assets/scss/_about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,8 @@
text-align: center;
}
}

//page_contribuiting
.tab {
display: none;
}
16 changes: 14 additions & 2 deletions source/_layouts/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,20 @@
<li class="nav-item">
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}#about">{{ $page->t("About") }}</a>
</li>
<li class="nav-item">
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}pricing">{{ $page->t('Pricing')}}</a>

<li class="nav-item nav-item-has-children">
<a href="javascript:void(0)"> Pages </a>
<ul class="ud-submenu">
<li class="ud-submenu-item">
<a class="ud-submenu-link" href="{{ locale_path($page, $page->baseUrl) }}pricing">{{ $page->t('Pricing')}}</a>
</li>
<li class="ud-submenu-item">
<a href="{{ locale_path($page, $page->baseUrl) }}contributing" class="ud-submenu-link">
{{ $page->t('Contributing')}}
</a>
</li>

</ul>
</li>
<li class="nav-item">
<a class="ud-menu-scroll" href="{{ locale_path($page, $page->baseUrl) }}#target_audience">{{ $page->t("Target audience") }}</a>
Expand Down
401 changes: 401 additions & 0 deletions source/_partials/contributing_form.blade.php

Large diffs are not rendered by default.

Binary file added source/assets/images/logo/paypal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions source/contributing.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@extends('_layouts.main')

@section('body')

<!-- ====== Hero Start ====== -->
<section class="ud-hero" id="home">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="ud-hero-content wow fadeInUp" data-wow-delay=".2s">
<h1 class="ud-hero-title">
{{ $page->t('Contributing Page')}}
</h1>
</div>
</div>
</div>
</section>

<!-- Contributing Form -->
@include('_partials/contributing_form')
@endsection
2 changes: 1 addition & 1 deletion source/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,4 +396,4 @@ class="ud-faq-btn collapsed"
</section>
<!-- ====== FAQ End ====== -->
@include('_partials/contact_form')
@endsection
@endsection