LinkStack/resources/views/panel/index.blade.php

53 lines
1.8 KiB
PHP
Raw Normal View History

2021-04-16 01:00:00 +02:00
@extends('layouts.sidebar')
2022-11-11 19:11:15 +01:00
2021-04-16 01:00:00 +02:00
@section('content')
@if($littlelink_name == '')
2022-11-11 19:11:15 +01:00
<h3 class="mb-4"> 👋 Hi, stranger</h3>
2022-05-10 12:38:26 +02:00
<h5>You do not have a Page URL set, yet you can change that on the <a href="{{ url('/studio/page') }}">Page section</a></h5>
@else
2022-11-11 19:11:15 +01:00
<h3 class="mb-4"> 👋 Hi, @<?= $littlelink_name ?></h2>
@endif
2021-04-16 01:00:00 +02:00
<p>
2021-07-06 10:50:27 +02:00
Welcome to {{ config('app.name') }}!
2021-04-16 01:00:00 +02:00
</p>
2022-11-11 19:11:15 +01:00
<!-- Section: Design Block -->
<section class="mb-3 text-gray-800 text-center shadow p-4 w-full">
2022-11-11 19:12:25 +01:00
<div class='font-weight-bold text-left'>User stats:</div>
2022-11-11 19:11:15 +01:00
<div class="d-flex flex-wrap justify-content-around">
<div class="p-2">
<h3 class="text-primary"><strong><i class="bi bi-share-fill"> {{ $siteLinks }} </i></strong></h3>
2022-11-11 19:13:26 +01:00
<span class="text-muted">Total links</span>
2022-11-11 19:11:15 +01:00
</div>
<div class="p-2">
<h3 class="text-primary"><strong><i class="bi bi-eye-fill"> {{ $siteClicks }} </i></strong></h3>
2022-11-11 19:13:26 +01:00
<span class="text-muted">Total clicks</span>
2022-11-11 19:11:15 +01:00
</div>
<div class="p-2">
<h3 class="text-primary"><strong><i class="bi bi bi-person-fill"> {{ $userNumber }}</i></strong></h3>
2022-11-11 19:13:26 +01:00
<span class="text-muted">Total users</span>
2022-11-11 19:11:15 +01:00
</div>
</div>
</section>
<section class="mb-3 text-center shadow p-4 w-full">
<div class=" d-flex">
<div class='p-2 h6'><i class="bi bi-link"> Links: {{ $links }} </i></span></div>
2022-11-14 11:51:54 +01:00
<div class='p-2 h6'><i class="bi bi-eye"> Clicks: {{ $clicks }} </i></span></div>
2022-11-11 19:11:15 +01:00
</div>
</section>
{{-- <pre>{{ print_r($pageStats) }}</pre> --}}
2021-04-16 01:00:00 +02:00
2022-11-11 19:11:15 +01:00
@endsection