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"> |
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-15 px-4"> | |
@include('includes.message') | |
<div class="flex flex-wrap -mx-3 mb-6"> | |
<h2 class="w-full px-3 mb-6 border-b-2 border-cool-gray-800 pb-4"> | |
Realizar Pagamento Assinatura | |
</h2> | |
</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
<div class="d-flex justify-content-center align-items-center "> | |
<div class="col-6 border rounded p-5"> | |
<div class="col-12"> | |
<h2>Meu Painel</h2> | |
<hr /> | |
</div> | |
<div class="col-12"> | |
<form action=""> | |
<div class="form-group"> | |
<label>Email</label> |
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
"editor.formatOnSave": true, | |
"[javascript]": { | |
"editor.formatOnSave": false, | |
}, | |
"[javascriptreact]": { | |
"editor.formatOnSave": false, | |
}, | |
"prettier.disableLanguages": [ | |
"js" | |
], |
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="container"> | |
<ul class="nav nav-tabs" id="myTab" role="tablist"> | |
<li class="nav-item" role="presentation"> | |
<a class="nav-link active" id="creditCard-tab" data-toggle="tab" href="#creditCard" role="tab" aria-controls="creditCard" aria-selected="true">Cartão de Crédito</a> | |
</li> | |
<li class="nav-item" role="presentation"> | |
<a class="nav-link" id="boleto-tab" data-toggle="tab" href="#boleto" role="tab" aria-controls="boleto" aria-selected="false">Boleto</a> | |
</li> |
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="modal"> | |
<div class="{{!$showModal ? 'hidden' : ''}} fixed z-10 inset-0 overflow-y-auto ease-out duration-300"> | |
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> | |
<div class="fixed inset-0 transition-opacity" aria-hidden="true"> | |
<div class="absolute inset-0 bg-gray-500 opacity-75"></div> | |
</div> | |
<!-- This element is to trick the browser into centering the modal contents. --> | |
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span> |
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 px-3 mb-6 md:mb-0"> | |
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2">Categorias</label> | |
<select id="categories" wire:model="expense.categories" | |
class="block appearance-none w-full bg-gray-200 border @error('expense.categories.*') border-red-500 @else border-gray-200 @enderror text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500" multiple> | |
@foreach(\App\Models\Category::all(['id', 'name']) as $category) | |
<option value="{{$category->id}}">{{$category->name}}</option> | |
@endforeach | |
</select> |
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 | |
//Active Record - Inserção... | |
$event = new \App\Models\Event(); | |
$event->title = 'Evento via Eloquent e AR'; | |
$event->description = 'Descrição do Evento'; | |
$event->body = 'Conteúdo do evento...'; | |
$event->start_event = date('Y-m-d H:i:s'); | |
$event->slug = \Illuminate\Support\Str::slug($event->title); |
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
<h2>Eventos</h2> | |
<hr> | |
<ul> | |
@forelse($events as $event) | |
<li>{{$event->title}}</li> | |
@empty |
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
@extends('layouts.site') | |
@section('title') Principais Eventos - @endsection | |
@section('content') | |
<div class="row"> | |
<div class="col-12"> | |
<h2>Eventos</h2> | |
<hr> | |
</div> |