@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.
@endif

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

@csrf
{{ $errors->first('message') }}
@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
@endsection