This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public function store(Request $request, Content $content) | |
| { | |
| $video = $content->videos()->create([ | |
| 'code' => Str::uuid(), | |
| 'name' => $request->name, | |
| ]); | |
| return $video; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Schema::create('videos', function (Blueprint $table) { | |
| $table->id(); | |
| $table->foreignId('content_id') | |
| ->constrained() | |
| ->cascadeOnDelete(); | |
| $table->uuid('code'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script setup lang="ts"> | |
| import InputError from '@/components/InputError.vue'; | |
| import Button from '@/components/ui/button/Button.vue'; | |
| import Input from '@/components/ui/input/Input.vue'; | |
| import InputLabel from '@/components/ui/label/Label.vue'; | |
| import AppLayout from '@/layouts/AppLayout.vue'; | |
| import { type BreadcrumbItem } from '@/types'; | |
| import { Head, useForm } from '@inertiajs/vue3'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Jobs; | |
| use App\Events\VideoEncodingFinished; | |
| use App\Events\VideoEncodingProgress; | |
| use App\Events\VideoEncodingStart; | |
| use App\Models\Video; | |
| use FFMpeg\FFProbe; | |
| use Illuminate\Bus\Batchable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Traits; | |
| use Spatie\Sluggable\HasSlug; | |
| use Spatie\Sluggable\SlugOptions; | |
| trait Sluggable | |
| { | |
| use HasSlug; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script setup> | |
| import NavLink from '@/components/TextLink.vue'; | |
| defineProps({ | |
| meta: Object, | |
| }); | |
| </script> | |
| <template> | |
| <div id="pagination" class="flex justify-end py-2 pr-10"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Database\Factories; | |
| use Illuminate\Database\Eloquent\Factories\Factory; | |
| /** | |
| * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Content> | |
| */ | |
| class ContentFactory extends Factory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers\Auth; | |
| use App\Http\Controllers\Controller; | |
| use App\Http\Requests\Auth\RegisterRequest; | |
| use App\Models\User; | |
| use Illuminate\Http\Request; | |
| class RegisterController extends Controller |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="w-full h-full absolute flex items-center justify-center"> | |
| <div class="max-w-3xl rounded border border-gray-300 p-4 shadow"> | |
| <div class="w-96 text-center"> | |
| <h2 class="text-xl font-bold mb-6">Acessar Meus Eventos</h2> | |
| </div> | |
| <form action=""> | |
| <div class="w-96 mb-6"> | |
| <label for="email" class="block mb-2">E-mail</label> | |
| <input | |
| type="email" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Login System</title> | |
| </head> | |
| <body> | |
| <h1>Acesse sua conta</h1> |
NewerOlder