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="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg"> | |
<table class="min-w-full divide-y divide-gray-200"> | |
<thead class="bg-gray-50"> | |
<tr> | |
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"> | |
Title | |
</th> | |
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"> | |
Criado em |
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
<!-- trecho calculo de frete --> | |
<div class="col-md-12"> | |
<div class="mt-4"> | |
<h4>Calcule o Frete</h4> | |
<form action="" class="form-inline formShipping"> | |
<input | |
placeholder="99999-999" | |
type="text" |
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 App\Models\Video; | |
use Illuminate\Database\Eloquent\Factories\Factory; | |
class VideoFactory 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 Database\Factories; | |
use App\Models\Content; | |
use Illuminate\Database\Eloquent\Factories\Factory; | |
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
<div class="max-w-7xl mx-auto mt-10 py-6 px-4 sm:px-6 lg:px-8"> | |
<x-slot name="header">Criar Novo Conteúdo</x-slot> | |
@if(session()->has('success')) | |
<div class="w-full px-2 py-4 border border-green-500 bg-green-400 text-white rounded mb-10"> | |
{{session('success')}} | |
</div> | |
@endif | |
<form action="" wire:submit.prevent="saveContent"> |
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="max-w-7xl mx-auto mt-10 py-6 px-4 sm:px-6 lg:px-8"> | |
{{-- Stop trying to control. --}} | |
<x-slot name="header">Editar Conteúdo</x-slot> | |
@if(session()->has('success')) | |
<div class="w-full px-2 py-4 border border-green-500 bg-green-400 text-white rounded mb-10"> | |
{{session('success')}} | |
</div> | |
@endif |
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="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8"> | |
{{-- @livewire('content.content', ['content' => $content], key($content->id)) --}} | |
{{-- Laravel 7+<livewire:content.content :content="$content" :key="$content->id"></livewire:content.content> --}} | |
{{-- <h3>Testando Responsive Tailwind: </h3>--}} | |
{{-- <div class="w-1/4 h-1/4 bg-blue-300 text-white sm:bg-blue-900 md:bg-green-500--}} | |
{{-- lg:bg-red-800 xl:bg-yellow-600 2xl:bg-black">--}} | |
{{-- Conteúdo exemplo...--}} | |
{{-- </div>--}} |
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
<tr> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="text-sm text-gray-900">{{$content->id}}</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="text-sm text-gray-900">{{$content->title}}</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap"> |
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 flex justify-between p-5"> | |
<div class="w-1/4 h-20 p-15 bg-green-600 text-white text-2xl font-extrabold flex flex-col justify-center items-center rounded"> | |
<strong>Entrada</strong><br> | |
R$ {{isset($expenseCount[1]) ? number_format($expenseCount[1], 2, ',', '.') : 0 }} | |
</div> | |
<div class="w-1/4 h-20 p-15 bg-red-600 text-white text-2xl font-extrabold flex flex-col justify-center items-center rounded"> | |
<strong>Saída</strong><br> |
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="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Laravel</title> | |
<!-- Fonts --> | |
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet"> |