pedi2/resources/views/layouts/app.blade.php

40 lines
1.1 KiB
PHP
Raw Normal View History

2022-01-08 02:53:00 -03:00
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Compras del MPS') }}</title>
2022-01-08 02:53:00 -03:00
<!-- Scripts -->
<!-- Fonts -->
<!-- Styles -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
2022-01-08 02:53:00 -03:00
</head>
<body>
<div id="app">
<nav-bar>
<template slot="gdc">{{ Auth::user()->name }}</template>
<template slot="logout-form">
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
@csrf
</form>
</template>
</nav-bar>
2022-01-08 02:53:00 -03:00
<main class="py-4">
@yield('content')
</main>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script src="{{ asset('js/app.js') }}" defer></script>
@yield('scripts')
2022-01-08 02:53:00 -03:00
</body>
</html>