@extends('layouts.connected') @inject('tag_detector', 'App\Services\TagDetectorService) @section('content')

{{ $all_counts }}

{{ __('Jours Écrits') }}

{{ $year_counts }}

{{ __('Cette Année') }}

{{ $month_counts }}

{{ __('Ce Mois') }}

{{ $image_counts }}

{{ __('Images Envoyées') }}
@if($already)
L'activité du jour a déjà été entrée.
@component('components/app', [ 'route' => url('store'), 'crsf' => csrf_field(), 'mustencrypt' => $must_encrypt, 'possible' => false, ]) @endcomponent
@else

{{ strftime('%B %G', $today->format('U')) }}

@component('components/app', [ 'route' => url('store'), 'crsf' => csrf_field(), 'mustencrypt' => $must_encrypt, 'possible' => !$already, ]) @endcomponent
@endif
@foreach($posts as $post)

{{ ucfirst(\Carbon\Carbon::instance($post->date_post)->diffForHumans()) }}

@if($today->format('Y-m-d') === \Carbon\Carbon::instance($post->date_post)->format('Y-m-d'))
@csrf
@endif
@if($post->image != '')

@endif

{!! $tag_detector->linkTagFrom($post->content) !!}

@endforeach render(); ?>
@endsection