Skip to content

Commit 69a5139

Browse files
committed
Update index.blade.php
1 parent f2f89a1 commit 69a5139

File tree

1 file changed

+39
-12
lines changed

1 file changed

+39
-12
lines changed

resources/views/panel/index.blade.php

Lines changed: 39 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,52 @@
11
@extends('layouts.sidebar')
22

3+
34
@section('content')
45
@if($littlelink_name == '')
5-
<h2 class="mb-4"> 👋 Hi, stranger</h2>
6+
<h3 class="mb-4"> 👋 Hi, stranger</h3>
67
<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>
78
@else
8-
<h2 class="mb-4"> 👋 Hi, @<?= $littlelink_name ?></h2>
9+
<h3 class="mb-4"> 👋 Hi, @<?= $littlelink_name ?></h2>
910
@endif
1011
<p>
1112
Welcome to {{ config('app.name') }}!
1213
</p>
1314

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>
1915

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> --}}
2451

25-
@endsection
52+
@endsection

0 commit comments

Comments
 (0)