From 976307ce406902e82bf364e1512916c6ce6c83d4 Mon Sep 17 00:00:00 2001 From: PascalCoin Date: Thu, 12 Sep 2019 14:57:55 -0500 Subject: [PATCH 1/8] blaise wallet and contact form --- .env.example | 3 +++ app/Http/Controllers/IndexController.php | 5 ++++- config/pascal.php | 3 ++- resources/views/home.blade.php | 10 ++++++++-- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 1125324..a72ef64 100644 --- a/.env.example +++ b/.env.example @@ -23,6 +23,9 @@ REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 +MAIL_CONTACT_TO=email@example.com +MAIL_CONTACT_BCC=email1@example.com,email2@example.com + MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 diff --git a/app/Http/Controllers/IndexController.php b/app/Http/Controllers/IndexController.php index 0093776..b70659e 100644 --- a/app/Http/Controllers/IndexController.php +++ b/app/Http/Controllers/IndexController.php @@ -196,7 +196,10 @@ public function contactSubmit(Request $request) 'message' => $request->get('message'), ]); - \Mail::to(config('pascal.mail.to'))->send(new \App\Mail\Contact($contact)); + $transport = \Mail::to(config('pascal.mail.to')); + $bcc_addresses = explode(',', config('pascal.mail.bcc')); + $transport->bcc($bcc_addresses); + $transport->send(new \App\Mail\Contact($contact)); return response()->json([ 'success' => true diff --git a/config/pascal.php b/config/pascal.php index 5e676b6..e29a81d 100644 --- a/config/pascal.php +++ b/config/pascal.php @@ -6,6 +6,7 @@ 'currencies' => ['USD', 'EUR', 'BTC'] ], 'mail' => [ - 'to' => env('MAIL_CONTACT_TO') + 'to' => env('MAIL_CONTACT_TO'), + 'bcc' => env('MAIL_CONTACT_BCC') ] ]; diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 9812968..89511ae 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -232,10 +232,16 @@ class="fa fa-apple">@dt($dtGroup, 'download_wallet', 'Download Wallet')
-

+

+ Download Blaise wallet:
+ +
+ » ..or learn more about Blaise Wallet. +

+

Download mobile wallet:

- » ..or visit github.com releases. + » ..or visit github.com releases.

From 34183e34fcc7bcea67369d8ac8784539a307d0cf Mon Sep 17 00:00:00 2001 From: PascalCoin Date: Thu, 12 Sep 2019 15:23:06 -0500 Subject: [PATCH 2/8] whitepaper changes --- resources/views/whitepapers.blade.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/views/whitepapers.blade.php b/resources/views/whitepapers.blade.php index 9d6bba3..37f3410 100644 --- a/resources/views/whitepapers.blade.php +++ b/resources/views/whitepapers.blade.php @@ -48,11 +48,14 @@ From 6cfee35b9f9fb4db9ad55454279a1e0914a44850 Mon Sep 17 00:00:00 2001 From: Matt Bolt Date: Sun, 15 Sep 2019 13:24:07 +0800 Subject: [PATCH 3/8] Updated header logo. --- public/images/logo2019.svg | 1 + resources/views/layouts/main.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 public/images/logo2019.svg diff --git a/public/images/logo2019.svg b/public/images/logo2019.svg new file mode 100644 index 0000000..c0fcd6e --- /dev/null +++ b/public/images/logo2019.svg @@ -0,0 +1 @@ +logo2019 \ No newline at end of file diff --git a/resources/views/layouts/main.blade.php b/resources/views/layouts/main.blade.php index ef50235..846afa3 100644 --- a/resources/views/layouts/main.blade.php +++ b/resources/views/layouts/main.blade.php @@ -82,7 +82,7 @@ function gtag(){dataLayer.push(arguments);} - + + + + +
+
+ @foreach(array('team_lg', 'team_sm') as $type) +
+ @foreach($$type as $item) + @if($item->large_format) +
+ @else +
+ @endif + @if($item->picture) + + @else + + + + + + @endif +
+

{{$item->name}}

+

{{$item->title}}

+

+ +
+ @endforeach +
+ @endforeach +
+
+@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index c24295b..53f34ff 100644 --- a/routes/web.php +++ b/routes/web.php @@ -19,6 +19,7 @@ Route::get('/contact', 'IndexController@contact')->name('contact'); Route::get('/get_started', 'IndexController@getStarted')->name('get_started'); Route::get('/press', 'IndexController@press')->name('press'); +Route::get('/team', 'IndexController@teamMembers')->name('team_members'); Route::get('/funding-transparency', 'IndexController@fundingTransparency')->name('funding_transparency'); Route::post('/contact', 'IndexController@contactSubmit')->name('contact-submit'); From 5c7a4e63e4fe973bbb9c74acd38e612ff021e160 Mon Sep 17 00:00:00 2001 From: PascalCoin Date: Wed, 18 Sep 2019 09:34:52 -0500 Subject: [PATCH 5/8] add chinese whitepaper --- resources/views/whitepapers.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/views/whitepapers.blade.php b/resources/views/whitepapers.blade.php index 37f3410..4dd2c90 100644 --- a/resources/views/whitepapers.blade.php +++ b/resources/views/whitepapers.blade.php @@ -54,6 +54,7 @@ -->

@dt($dtGroup, 'whitepaper_v5_btn_w1', 'Download Whitepaper V5')@dt($dtGroup, 'whitepaper_v5_btn_w2', 'version 5.0, Sept 2019') + @dt($dtGroup, 'whitepaper_cn_v5_btn_w1', 'Download Whitepaper V5 (Chinese)')@dt($dtGroup, 'whitepaper_cn_v5_btn_w2', 'version 5.0, Sept 2019')

  • Download Wallet