xmrmemes/app/Http/Controllers/AboutController.php

21 lines
482 B
PHP
Raw Normal View History

2021-07-16 02:35:54 -04:00
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use chillerlan\QRCode\{QRCode, QROptions};
2021-08-06 17:01:16 -04:00
use Artesaos\SEOTools\Facades\SEOTools;
2021-07-16 02:35:54 -04:00
class AboutController extends Controller
{
public function index()
{
2021-08-06 17:01:16 -04:00
SEOTools::setTitle('About');
2021-07-16 02:35:54 -04:00
$data = [
'address' => config('app.xmr_tip_address'),
'qr' => (new QRCode)->render(config('app.xmr_tip_address')),
];
return view('about', ['data' => $data]);
}
}