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/Console/Kernel.php b/app/Console/Kernel.php index 4491bc0..41c4179 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -24,7 +24,7 @@ class Kernel extends ConsoleKernel */ protected function schedule(Schedule $schedule) { - $schedule->command('pascal:cmc')->twiceDaily(); + $schedule->command('pascal:cmc')->hourly(); $schedule->command('pascal:rpc')->daily(); $schedule->command('pascal:exchange')->daily(); $schedule->command('pascal:pip')->hourly(); diff --git a/app/Http/Controllers/IndexController.php b/app/Http/Controllers/IndexController.php index 0093776..37f0db3 100644 --- a/app/Http/Controllers/IndexController.php +++ b/app/Http/Controllers/IndexController.php @@ -12,6 +12,7 @@ use App\Http\Requests\ContactRequest; use App\Page; use App\Press; +use App\TeamMember; use App\Projects; use App\WhitePaperContent; use Illuminate\Http\Request; @@ -196,7 +197,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 @@ -333,6 +337,25 @@ public function press(Request $request) return view('press', ['news' => $pressNews]); } + /** + * Displays the team members + * + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ + public function teamMembers(Request $request) + { + $team_lg = TeamMember::where('published', true) + ->where('large_format', true) + ->orderBy('display_order', 'ASC') + ->get(); + $team_sm = TeamMember::where('published', true) + ->where('large_format', false) + ->orderBy('display_order', 'ASC') + ->get(); + return view('team_members', ['team_lg' => $team_lg, 'team_sm' => $team_sm]); + } + /** * Displays a dynamic content page. * diff --git a/app/TeamMember.php b/app/TeamMember.php new file mode 100644 index 0000000..3938d73 --- /dev/null +++ b/app/TeamMember.php @@ -0,0 +1,11 @@ + ['USD', 'EUR', 'BTC'] ], 'mail' => [ - 'to' => env('MAIL_CONTACT_TO') + 'to' => env('MAIL_CONTACT_TO'), + 'bcc' => env('MAIL_CONTACT_BCC') ] ]; diff --git a/public/error_log b/public/error_log new file mode 100644 index 0000000..76340ab --- /dev/null +++ b/public/error_log @@ -0,0 +1,2 @@ +[17-Sep-2019 12:07:23 UTC] PHP Fatal error: Cannot redeclare App\Http\Controllers\IndexController::press() in /home1/pascalcoin/webapp/app/Http/Controllers/IndexController.php on line 346 +[17-Sep-2019 12:07:40 UTC] PHP Fatal error: Cannot redeclare App\Http\Controllers\IndexController::press() in /home1/pascalcoin/webapp/app/Http/Controllers/IndexController.php on line 346 diff --git a/public/images/brands/github-brands.svg b/public/images/brands/github-brands.svg new file mode 100644 index 0000000..7870c06 --- /dev/null +++ b/public/images/brands/github-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/brands/linkedin-brands.svg b/public/images/brands/linkedin-brands.svg new file mode 100644 index 0000000..437b807 --- /dev/null +++ b/public/images/brands/linkedin-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/brands/stack-overflow-brands.svg b/public/images/brands/stack-overflow-brands.svg new file mode 100644 index 0000000..dc7e4b5 --- /dev/null +++ b/public/images/brands/stack-overflow-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/brands/twitter-brands.svg b/public/images/brands/twitter-brands.svg new file mode 100644 index 0000000..9ac9e0b --- /dev/null +++ b/public/images/brands/twitter-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/brands/xing-square-brands.svg b/public/images/brands/xing-square-brands.svg new file mode 100644 index 0000000..a2078b9 --- /dev/null +++ b/public/images/brands/xing-square-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file 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 @@ + \ No newline at end of file diff --git a/resources/assets/img/brands/github-brands.svg b/resources/assets/img/brands/github-brands.svg new file mode 100644 index 0000000..7870c06 --- /dev/null +++ b/resources/assets/img/brands/github-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/img/brands/linkedin-brands.svg b/resources/assets/img/brands/linkedin-brands.svg new file mode 100644 index 0000000..437b807 --- /dev/null +++ b/resources/assets/img/brands/linkedin-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/img/brands/stack-overflow-brands.svg b/resources/assets/img/brands/stack-overflow-brands.svg new file mode 100644 index 0000000..dc7e4b5 --- /dev/null +++ b/resources/assets/img/brands/stack-overflow-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/img/brands/twitter-brands.svg b/resources/assets/img/brands/twitter-brands.svg new file mode 100644 index 0000000..9ac9e0b --- /dev/null +++ b/resources/assets/img/brands/twitter-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/img/brands/xing-square-brands.svg b/resources/assets/img/brands/xing-square-brands.svg new file mode 100644 index 0000000..a2078b9 --- /dev/null +++ b/resources/assets/img/brands/xing-square-brands.svg @@ -0,0 +1 @@ + \ No newline at end of file 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.
- @dt($dtGroup, 'whitepaper_v4_btn_w1', 'Download Whitepaper V4')@dt($dtGroup, 'whitepaper_v4_btn_w2', 'version 4.0, Jan 2019') + @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')
+