diaREact/resources/views/pages/index.blade.php

28 lines
1.0 KiB
PHP
Raw Permalink Normal View History

2022-02-11 17:26:15 +01:00
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
2022-04-14 10:49:56 +02:00
{{ __('My diary 💘') }}
2022-02-11 17:26:15 +01:00
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 bg-white border-b border-gray-200">
<div id="app"
2022-04-14 10:49:56 +02:00
data-start="{{ $start_date->format('Y-m-d') }}"
2022-02-11 17:26:15 +01:00
data-list="{{json_encode($pages)}}"
data-url="{{ route('pages.show', ['page' => 'replace_me']) }}"
data-post="{{ route('pages.store') }}"
data-remove="{{ route('pages.destroy', ['page' => 'replace_me']) }}"
data-csrf="{{ csrf_token() }}"
data-checkword="{{ $checkword }}"
>
2022-02-11 17:26:15 +01:00
</div>
</div>
</div>
</div>
</div>
</x-app-layout>