|
1 | 1 | @extends('layouts.sidebar')
|
2 | 2 |
|
| 3 | + |
3 | 4 | @section('content')
|
4 | 5 | @if($littlelink_name == '')
|
5 |
| - <h2 class="mb-4"> 👋 Hi, stranger</h2> |
| 6 | + <h3 class="mb-4"> 👋 Hi, stranger</h3> |
6 | 7 | <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>
|
7 | 8 | @else
|
8 |
| - <h2 class="mb-4"> 👋 Hi, @<?= $littlelink_name ?></h2> |
| 9 | + <h3 class="mb-4"> 👋 Hi, @<?= $littlelink_name ?></h2> |
9 | 10 | @endif
|
10 | 11 | <p>
|
11 | 12 | Welcome to {{ config('app.name') }}!
|
12 | 13 | </p>
|
13 | 14 |
|
14 |
| - <div class="mt-5 row"> |
15 |
| - <h5 class="mb-4" title="all links"><i class="bi bi-share-fill"> {{ $siteLinks }} </i></h5> |
16 |
| - <h5 class="mb-4 ml-5" title="all clicks"><i class="bi bi-eye-fill"> {{ $siteClicks }} </i></h5> |
17 |
| - <h5 class="mb-4 ml-5" title="all Users"><i class="bi bi bi-person-fill"> {{ $userNumber }}</i></h5> |
18 |
| - </div> |
19 | 15 |
|
20 |
| - <div class="mt-5 row"> |
21 |
| - <h5 class="mb-4"><i class="bi bi-link"> link: {{ $links }} </i></h5> |
22 |
| - <h5 class="mb-4 ml-5"><i class="bi bi-eye"> click: {{ $clicks }} </i></h5> |
23 |
| - </div> |
| 16 | + <!-- Section: Design Block --> |
| 17 | + <section class="mb-3 text-gray-800 text-center shadow p-4 w-full"> |
| 18 | + <div class='font-weight-bold text-left'>Visitor analytics:</div> |
| 19 | + <div class="d-flex flex-wrap justify-content-around"> |
| 20 | + |
| 21 | + <div class="p-2"> |
| 22 | + <h3 class="text-primary"><strong><i class="bi bi-share-fill"> {{ $siteLinks }} </i></strong></h3> |
| 23 | + <span class="text-muted">All links</span> |
| 24 | + </div> |
| 25 | + |
| 26 | + <div class="p-2"> |
| 27 | + <h3 class="text-primary"><strong><i class="bi bi-eye-fill"> {{ $siteClicks }} </i></strong></h3> |
| 28 | + <span class="text-muted">All clicks</span> |
| 29 | + </div> |
| 30 | + |
| 31 | + <div class="p-2"> |
| 32 | + <h3 class="text-primary"><strong><i class="bi bi bi-person-fill"> {{ $userNumber }}</i></strong></h3> |
| 33 | + <span class="text-muted">All users</span> |
| 34 | + </div> |
| 35 | + |
| 36 | + </div> |
| 37 | + </section> |
| 38 | + |
| 39 | + <section class="mb-3 text-center shadow p-4 w-full"> |
| 40 | + <div class=" d-flex"> |
| 41 | + |
| 42 | + <div class='p-2 h6'><i class="bi bi-link"> Links: {{ $links }} </i></span></div> |
| 43 | + |
| 44 | + <div class='p-2 h6'><i class="bi bi-eye"> Click: {{ $clicks }} </i></span></div> |
| 45 | + </div> |
| 46 | + </section> |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + {{-- <pre>{{ print_r($pageStats) }}</pre> --}} |
24 | 51 |
|
25 |
| -@endsection |
| 52 | + @endsection |
0 commit comments