@extends('template') @section('head') @endsection @section('content')

Dashboard

{{ strtoupper(substr($user->name, 0, 1)) }}

{{ $user->name }}

{{ $user->email }}

{{ $user->role == 0 ? 'Admin' : 'User' }} Member since {{ $user->created_at->format('M Y') }}

{{ $fileCount }}
Files
{{ $writingCount }}
Writings

Storage

{{ round($usedStorage / 1024, 2) }} MB used {{ round($totalStorage / 1024, 2) }} MB total

Recent Files

No files uploaded yet

Writings

@if($recentWritings->count() > 0)
    @foreach($recentWritings as $writing)
  • {{ Str::limit($writing->title, 35) }}
    {{ Str::limit(strip_tags(Str::markdown($writing->content)), 60) }}
    {{ $writing->created_at->diffForHumans() }}
  • @endforeach
@else
No writings created yet
@endif

Your Tags

TODO
@endsection