Skip to content

Commit 02317d5

Browse files
committed
Update index.blade.php
1 parent 2dee1de commit 02317d5

File tree

1 file changed

+10
-45
lines changed

1 file changed

+10
-45
lines changed

resources/views/panel/index.blade.php

Lines changed: 10 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -12,48 +12,6 @@
1212
<div class="col-sm-12">
1313

1414
<h3 class="mb-4"><i class="bi bi-menu-up"></i> Dashboard</h3>
15-
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>{{ $pageStats['visitors']['day']}}</strong></h3>
23-
<span class="text-muted">Today</span>
24-
25-
</div>
26-
27-
<div class="p-2">
28-
<h3 class="text-primary"><strong>{{ $pageStats['visitors']['week']}}</strong></h3>
29-
<span class="text-muted">Week</span>
30-
31-
32-
</div>
33-
34-
<div class="p-2">
35-
<h3 class="text-primary"><strong>{{ $pageStats['visitors']['month']}}</strong></h3>
36-
<span class="text-muted">Month</span>
37-
38-
39-
</div>
40-
<div class="p-2">
41-
<h3 class="text-primary"><strong>{{ $pageStats['visitors']['year']}}</strong></h3>
42-
<span class="text-muted">Year</span>
43-
44-
45-
</div>
46-
<div class="p-2">
47-
<h3 class="text-primary"><strong>{{ $pageStats['visitors']['all']}}</strong></h3>
48-
<span class="text-muted">All Time</span>
49-
50-
51-
</div>
52-
53-
</div>
54-
</section> --}}
55-
56-
5715

5816
<section class="mb-3 text-center p-4 w-full">
5917
<div class=" d-flex">
@@ -74,6 +32,15 @@
7432

7533
<div class="bd-example" >
7634
<ol class="list-group list-group-numbered" style="text-align: left;">
35+
@if($toplinks == "[]")
36+
<div class="container">
37+
<div class="row justify-content-center mt-3">
38+
<div class="col-6 text-center">
39+
<p class="p-2">You haven't added any links yet.</p>
40+
</div>
41+
</div>
42+
</div>
43+
@else
7744
@foreach($toplinks as $link)
7845
@php $linkName = str_replace('default ','',$link->name) @endphp
7946
@php $i++; @endphp
@@ -88,11 +55,9 @@
8855
</li>
8956
@endif
9057
@endforeach
58+
@endif
9159
</ol>
9260
</div>
93-
94-
95-
9661

9762
</section>
9863

0 commit comments

Comments
 (0)