- Added standard Laravel directory structure and configuration. - Included Svelte and Tailwind configuration for the admin interface. - Added core PHPUnit and testing scripts.
17 lines
594 B
PHP
17 lines
594 B
PHP
@extends('layouts.admin')
|
|
|
|
@section('content')
|
|
<div id="app"
|
|
data-component="Analytics"
|
|
data-admin-path="{{ env('ADMIN_PATH', 'loom') }}"
|
|
data-total-views="{{ $totalViews }}"
|
|
data-views-by-date="{{ json_encode($viewsByDate) }}"
|
|
data-top-pages="{{ json_encode($topPages) }}"
|
|
data-top-referrers="{{ json_encode($topReferrers) }}"
|
|
data-browsers="{{ json_encode($browsers) }}">
|
|
<div class="ui active inverted dimmer">
|
|
<div class="ui text loader">Loading Analytics...</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|