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
12 changes: 12 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@
'comment' => "Finally an excellent app for signing documents. Very good!",
'author' => 'Daiane Alves'
]
],
'donatevalues'=>[
[
'coin'=>"BRL - BRAZILIAN REAL",
'value'=> <<<LIST
"1200","120","600","350","170","55"
LIST
],
[
'coin'=>"USD - NORTH-AMERICAN DOLAR",
'value'=> ["1200","120","600","350","170","55"]
],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second option, as array, is best.

],
'getFromCategory' => function($page, $category) {
$files = array_merge(
Expand Down
11 changes: 10 additions & 1 deletion lang/en/main.json

Large diffs are not rendered by default.

124 changes: 64 additions & 60 deletions lang/fr/main.json

Large diffs are not rendered by default.

192 changes: 98 additions & 94 deletions lang/nb-NO/main.json

Large diffs are not rendered by default.

244 changes: 124 additions & 120 deletions lang/pt-BR/main.json

Large diffs are not rendered by default.

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
126 changes: 126 additions & 0 deletions source/contributing.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
@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>


<!-- ====== About Start ====== -->
<section id="about" class="ud-about">
<div class="container">
<div class="ud-about-wrapper wow fadeInUp" data-wow-delay=".2s">
<div class ="row" >
<div class = "col-6 p-5" >

<div class="row align-items-center" >
<div class = "col-12" >


<img
src="{{ $page->baseUrl }}assets/images/logo/logo-2.svg"
alt="shape"
class="shape shape-1"
width ="500"/>


</div>
<div class = "col-12" ><h3 class="mt-5 mb-3">
{{ $page->t('teste')}}
</h3>
<p class="text-justify">{{ $page->t('Lorem ipsum dolor sit amet consectetur adipisicing elit.
Maxime mollitia,
molestiae quas vel sint commodi repudiandae consequuntur voluptatum laborum
numquam blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium
optio, eaque rerum! Provident similique accusantium nemo autem. Veritatis
obcaecati tenetur iure eius earum ut molestias architecto voluptate aliquam
nihil, eveniet aliquid culpa officia aut! Impedit sit sunt quaerat, odit,
tenetur error, harum nesciunt ipsum debitis quas aliquid. Reprehenderit,
quia. Quo neque error repudiandae fuga? Ipsa laudantium molestias eos
sapiente officiis modi at sunt excepturi expedita sint? Sed quibusdam
recusandae alias error harum maxime adipisci amet laborum. Perspiciatis
minima nesciunt dolorem! Officiis iure rerum voluptates a cumque velit ')}}</p>
</div>
<div class = "col-12" >
<div class="row">
<div class = "col-6" ><a href="{{ locale_path($page, $page->baseUrl) }}#faq">{{ $page->t('FAQ')}}</a></div>
<div class = "col-6" ><a href="https://t.me/LibreCodeCoop">{{ $page->t('Outros Contatos')}}</a></div>
</div>
</div>

</div>

</div>
<div class = "col-6 p-5 text-center" >
{{ $page->t('Teste2')}}
<div class="row ">
<div class="col-12">
<nav>

<div class="nav nav-tabs" id="nav-tab" role="tablist">
<button class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" data-bs-target="#nav-home" type="button" role="tab" aria-controls="nav-home" aria-selected="true">{{$page->t('Donate one time')}}</button>
<button class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-profile" type="button" role="tab" aria-controls="nav-profile" aria-selected="false">{{$page->t('Monthly')}}</button>

</div>
</nav>
<div class="tab-content " id="nav-tabContent" >
<div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">
<div class="row mt-5 justify-content-center">
@foreach($page->donatevalues as $item => $value )
<div class="col-3">
<button type="button" class="btn btn-outline-success">{{$item->value}}</button>

</div>
@endforeach

</div>

</div>
<div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">
<div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">
<div class="row mt-5 justify-content-center">
@foreach($page->donatevalues as $item -> $value)
<div class="col-3">
<button type="button" class="btn btn-outline-success">{{$item->value}}</button>

</div>
@endforeach

</div>

</div>
</div>

</div>
<div class="col-6" style="display:none">teste 4</div>

</div>
<div class="input-group mb-3 mt-5">
<input type="text" class="form-control" aria-label="Text input with dropdown button">
<button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
<ul class="dropdown-menu dropdown-menu-end">
@foreach($page->donatevalues as $iten)
<li><a class="dropdown-item" href="#">{{$iten->coin}}</a></li>

@endforeach
</ul>
</div>

</div>
</div>
</div>

</div>
</div>
</section>
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