Skip to content

Instantly share code, notes, and snippets.

View jongravois's full-sized avatar

Jonathan Gravois jongravois

View GitHub Profile
@props([
'pageColor' => 'bg-gray-100',
'header' => false
])
<x-app-layout>
<div class="min-h-screen {{ $pageColor }}">
<!-- Navigation -->
<x-layouts.full-nav pageColor="bg-white">
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
HOME
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<?php
namespace App\Http\Livewire\Utilities;
use Livewire\Component;
class SandBox extends Component
{
public function render()
{
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta http-equiv="refresh" content="{{ config('session.lifetime') * 60 }}">
<title>{{ config('app.name', 'UAM') }}</title>
<?php
use App\Models\User;
use Carbon\Carbon;
beforeEach(function() {
$user = User::factory()
->forOffice([
'display' => 'Memphis, TN'
])
@props([
'title' => 'Team Hub',
'background' => false
])
<! doctype html>
<head>
<title>{{ $title }}</title>
<x-layouts.bland
title="My Home"
background="bg-rich-black">
<div class="mt-24">
<x-new-feature/>
</div>
</x-layouts.bland>
<?php
namespace App\Http\Livewire;
use Livewire\Component;
class LaraconTest extends Component
{
public function render()
{
<div class="px-4 py-6">
<section id="header" class="mt-6">
<div class="bg-white shadow overflow-hidden sm:rounded-lg">
<div class="px-4 py-5 sm:px-6">
<dl class="grid grid-cols-1 col-gap-2 row-gap-4 sm:grid-cols-4">
<div class="sm:col-span-1 items-center">
<div class="mb-2 flex justify-start items-center">
<span class="cursor-pointer"
wire:click="$toggle('isFull')">
@if($isFull)
<div class="p-4">
<x-page.header title="Master Financial Model: <span class='text-black'>{{$deal->lot_number}}</span>">
<div>
<a href="/deals/manager">
<x-button
btnSize="inline"
btnColor="red"
type="button">
@svg('solid/arrow-left', 'mr-2')
Deals