mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
TTS
This commit is contained in:
23
app/Http/Livewire/Code.php
Normal file
23
app/Http/Livewire/Code.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
|
||||
use Livewire\Component;
|
||||
use SimpleSoftwareIO\QrCode\Facades\QrCode;
|
||||
|
||||
class Code extends Component
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
|
||||
$qrCode = base64_encode(QrCode::format('png')
|
||||
->size(500)
|
||||
->merge('/public/img/einundzwanzig.png', .3)
|
||||
->errorCorrection('H')
|
||||
->generate('https://portal.einundzwanzig.space/hello'));
|
||||
|
||||
return view('livewire.code', [
|
||||
'qrCode' => $qrCode,
|
||||
]);
|
||||
}
|
||||
}
|
||||
14
lutze.txt
Normal file
14
lutze.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Ich bin Bäcker Lutze, der Mann mit der Vision,
|
||||
Ich backe nicht nur Brezeln, ich hab auch ne Mission,
|
||||
Bitcoin Brezeln, so nenne ich sie,
|
||||
Das ist der neue Trend, so smart wie nie.
|
||||
|
||||
Ich bin Bäcker Lutze, der Mann mit dem Plan,
|
||||
Ich bringe die Zukunft in meine Bäckerei ran.
|
||||
Bitcoin Brezeln, das ist mein neuer Style,
|
||||
Für alle, Plebs, das ist der neue Hype.
|
||||
|
||||
Also komm vorbei, besuche meine Bäckerei,
|
||||
probiere meine Brezeln, sei dabei.
|
||||
Bäcker Lutze, der Mann mit der Vision,
|
||||
Bitcoin Brezeln, das ist meine Mission.
|
||||
4
resources/views/livewire/code.blade.php
Normal file
4
resources/views/livewire/code.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<div class="mt-10 flex flex-col items-center justify-center gap-x-6 bg-white py-12">
|
||||
<img src="{{ 'data:image/png;base64, '. $qrCode }}"
|
||||
alt="qrcode">
|
||||
</div>
|
||||
@@ -7,6 +7,10 @@ Route::middleware([])
|
||||
->get('/', \App\Http\Livewire\Frontend\Welcome::class)
|
||||
->name('welcome');
|
||||
|
||||
Route::middleware([])
|
||||
->get('code', \App\Http\Livewire\Code::class)
|
||||
->name('code');
|
||||
|
||||
Route::get('/img/{path}', \App\Http\Controllers\ImageController::class)
|
||||
->where('path', '.*')
|
||||
->name('img');
|
||||
@@ -59,7 +63,8 @@ Route::middleware([
|
||||
->as('export.')
|
||||
->prefix('/export')
|
||||
->group(function () {
|
||||
Route::get('/meetup-event/{meetupEvent}', \App\Http\Controllers\Export\MeetupEventAttendeesExportController::class)
|
||||
Route::get('/meetup-event/{meetupEvent}',
|
||||
\App\Http\Controllers\Export\MeetupEventAttendeesExportController::class)
|
||||
->name('meetupEvent');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user