feat: basic quotes list

This commit is contained in:
Nicholas Ciechanowski 2023-10-07 19:41:20 +11:00
parent 317c9c2740
commit 4fdff98580
8 changed files with 61 additions and 19 deletions

View File

@ -78,7 +78,7 @@ class BaseQuotesSeeder extends Seeder
'fuck the kids', 'fuck the kids',
'<users/113168814826360478750>', '<users/113168814826360478750>',
'PAYBACK IS A LITTLE BITCH MOTHERFUCKER', 'PAYBACK IS A LITTLE BITCH MOTHERFUCKER',
'If I did, I would be saying "I fucked your mum last night" almost every 15 minutes', 'If I did, I would be saying \"I fucked your mum last night\" almost every 15 minutes',
'please contact us regarding your account on 12 34 85', 'please contact us regarding your account on 12 34 85',
'I HEAR THAT CLICKING!', 'I HEAR THAT CLICKING!',
"Aadyn can't have cheese on his southern fried chicken burger", "Aadyn can't have cheese on his southern fried chicken burger",
@ -168,7 +168,7 @@ class BaseQuotesSeeder extends Seeder
'I was actually shocked that you asked to rape someone on premises.', 'I was actually shocked that you asked to rape someone on premises.',
'I am not going to reply out of fear it would end up on PriceyBot', 'I am not going to reply out of fear it would end up on PriceyBot',
'Fuck it, look Saul the fact that you want me to smash you says more about your fucked up daddy issues than me, fuck it since everything is going to PriceyBot, I may as well go for broke', 'Fuck it, look Saul the fact that you want me to smash you says more about your fucked up daddy issues than me, fuck it since everything is going to PriceyBot, I may as well go for broke',
'MWUAHSHAHHAHAHAHAHHAHAHAHAHA YOU"RE ALL FUCKED NOW!', 'MWUAHSHAHHAHAHAHAHHAHAHAHAHA YOU\"RE ALL FUCKED NOW!',
'Michael Price changed Patrick Wells from Space manager to member', 'Michael Price changed Patrick Wells from Space manager to member',
"I'm Elon fucking Musk", "I'm Elon fucking Musk",
'I was going to say something really bad, but it would have ended up on PriceyBot', 'I was going to say something really bad, but it would have ended up on PriceyBot',
@ -176,7 +176,7 @@ class BaseQuotesSeeder extends Seeder
"Look, I'm drinking Cyanide", "Look, I'm drinking Cyanide",
"Pricey didn't say fucking anything!", "Pricey didn't say fucking anything!",
'God fuck 100%', 'God fuck 100%',
""Ohhh.. you can't abandon your children" what a fucking rort", "\"Ohhh.. you can't abandon your children\" what a fucking rort",
"Don't fuck it up, your job depends on it", "Don't fuck it up, your job depends on it",
'Kate fucked me again, third year in a row', 'Kate fucked me again, third year in a row',
'Angelo is less help than general@auda.org.au', 'Angelo is less help than general@auda.org.au',
@ -188,9 +188,9 @@ class BaseQuotesSeeder extends Seeder
"I can afford to lose Blair, I can't lose Lleyton", "I can afford to lose Blair, I can't lose Lleyton",
"There's no Ginger Bot because gingers get drowned before they're born", "There's no Ginger Bot because gingers get drowned before they're born",
'Like I want to go over to his house and punch him in the face for wasting my time buy applying with that cover letter', 'Like I want to go over to his house and punch him in the face for wasting my time buy applying with that cover letter',
'I’ve been to the female toilets!', "I've been to the female toilets!",
'I am pegging Michael', 'I am pegging Michael',
'I walked up to a kid in Aldi holding a Ventrasaur and said "I work there" and the kid was terrified', 'I walked up to a kid in Aldi holding a Ventrasaur and said \"I work there\" and the kid was terrified',
'There is no problem in this world that can not be solved with an appropriate amount of explosives', 'There is no problem in this world that can not be solved with an appropriate amount of explosives',
'That dirty fucking cousin that you need to put 12 condoms on before you fuck them', 'That dirty fucking cousin that you need to put 12 condoms on before you fuck them',
'I feel like im the company toilet', 'I feel like im the company toilet',
@ -232,7 +232,7 @@ class BaseQuotesSeeder extends Seeder
"He's Jewish???? Sweet time for the racially charged crimes", "He's Jewish???? Sweet time for the racially charged crimes",
"I am appaled by this chat, and I've said some shit in my time", "I am appaled by this chat, and I've said some shit in my time",
'Jan needs toes', 'Jan needs toes',
"Fuck that, I'd say, "Oi, Latino, I'll have el,Dirty Sanchez por favor"", "Fuck that, I'd say, \"Oi, Latino, I'll have el,Dirty Sanchez por favor\"",
'Old age made me racist', 'Old age made me racist',
'Anyway, I like the jews.... accept for the jewish ones', 'Anyway, I like the jews.... accept for the jewish ones',
'This group is dangerous for my employment and generally my ability to stay out of jail', 'This group is dangerous for my employment and generally my ability to stay out of jail',
@ -254,13 +254,13 @@ class BaseQuotesSeeder extends Seeder
"It's like a breakfast buffet for a paedophile ", "It's like a breakfast buffet for a paedophile ",
"Aadyn Goodlet's Handjob Simulatior", "Aadyn Goodlet's Handjob Simulatior",
'You threat me with rape all the fucking time', 'You threat me with rape all the fucking time',
'I DIDN"T TRY TO FUCK THE 5 YEAR OLD', 'I DIDN\"T TRY TO FUCK THE 5 YEAR OLD',
'I am funny racist', 'I am funny racist',
'Most vegans should go the same way a ginger-haired new babies..... DROWNED, straight to hell, do not pass purgatory, do not collect your last rites', 'Most vegans should go the same way a ginger-haired new babies..... DROWNED, straight to hell, do not pass purgatory, do not collect your last rites',
'Those priest spreads those little boy baby ass cheeks quicker than they can say Amen!!!!!', 'Those priest spreads those little boy baby ass cheeks quicker than they can say Amen!!!!!',
'I always knew he liked the cock', 'I always knew he liked the cock',
'Spoon full of sugar??? more like a spoon full of Heroin', 'Spoon full of sugar??? more like a spoon full of Heroin',
""I'm black, I'm not walking to the moon, I'm walking to the liquor store"", "\"I'm black, I'm not walking to the moon, I'm walking to the liquor store\"",
]; ];
foreach ($quotes as $quote) { foreach ($quotes as $quote) {

View File

@ -1,4 +1,5 @@
<x-guest-layout> <x-guest-layout>
<livewire:pages.quote.list/>
</x-guest-layout> </x-guest-layout>

View File

@ -24,19 +24,15 @@
<body class="antialiased bg-nexi-primary dark:bg-nexi-primary-dark font-sans text-nexi-black transition-colors duration-300"> <body class="antialiased bg-nexi-primary dark:bg-nexi-primary-dark font-sans text-nexi-black transition-colors duration-300">
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 "> <div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 ">
{{-- TODO: REPLACE WITH OUR LOGO --}} {{-- TODO: REPLACE WITH OUR LOGO --}}
<div> <div class="mt-8">
<a href="/" wire:navigate> <img class="h-24 w-auto rounded" src="https://benjamyn.love/PriceyBot.png" alt="">
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
</a>
</div> </div>
@if (Route::has('login')) @if (Route::has('login'))
<livewire:guest.navigation /> <livewire:guest.navigation />
@endif @endif
<div class="w-full sm:max-w-md mt-6 px-6 py-4 overflow-hidden">
{{ $slot }} {{ $slot }}
</div> </div>
</div>
</body> </body>
</html> </html>

View File

@ -33,7 +33,7 @@ new #[Layout('layouts.guest')] class extends Component
} }
}; ?> }; ?>
<div> <div class="w-full sm:max-w-md mt-6 px-6 py-4 overflow-hidden">
<div class="mb-4 text-sm text-gray-600 dark:text-gray-400"> <div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
{{ __('This is a secure area of the application. Please confirm your password before continuing.') }} {{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
</div> </div>

View File

@ -33,7 +33,7 @@ new #[Layout('layouts.guest')] class extends Component
} }
}; ?> }; ?>
<div> <div class="w-full sm:max-w-md mt-6 px-6 py-4 overflow-hidden">
<div class="mb-4 text-sm text-gray-600 dark:text-gray-400"> <div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }} {{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}
</div> </div>

View File

@ -69,7 +69,7 @@ new #[Layout('layouts.guest')] class extends Component
} }
}; ?> }; ?>
<div> <div class="w-full sm:max-w-md mt-6 px-6 py-4 overflow-hidden">
<!-- Session Status --> <!-- Session Status -->
<x-auth-session-status class="mb-4" :status="session('status')"/> <x-auth-session-status class="mb-4" :status="session('status')"/>

View File

@ -62,7 +62,7 @@ new #[Layout('layouts.guest')] class extends Component
} }
}; ?> }; ?>
<div> <div class="w-full sm:max-w-md mt-6 px-6 py-4 overflow-hidden">
<form wire:submit="resetPassword"> <form wire:submit="resetPassword">
<!-- Email Address --> <!-- Email Address -->
<div> <div>

View File

@ -0,0 +1,45 @@
<?php
use App\Models\Quote;
use App\Providers\RouteServiceProvider;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Validation\ValidationException;
use Livewire\Attributes\Layout;
use Livewire\Attributes\Rule;
use Livewire\Volt\Component;
new #[Layout('layouts.guest')] class extends Component
{
public Collection $quotes;
public function mount(): void
{
$this->quotes = Quote::all()->sortDesc();
}
}; ?>
<div class="px-4 sm:px-6 lg:px-8">
<div class="-mx-4 mt-10 ring-1 ring-gray-300 sm:mx-0 sm:rounded-lg bg-nexi-primary dark:bg-zinc-800 transition-colors duration-300">
<table class="min-w-full divide-y divide-gray-300">
<thead>
<tr>
<th scope="col"
class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-nexi-black dark:text-gray-200 sm:pl-6">
Quotes
</th>
{{-- TODO: add logged in user stuff --}}
</tr>
</thead>
<tbody>
@foreach ($quotes as $quote)
<tr>
<td class="relative py-4 pl-4 pr-3 text-sm sm:pl-6 border-t text-nexi-black dark:text-gray-200">
{{ $quote->quote }}
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>