File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 4242 < / div>
4343
4444 < h2 class = " min-w-0 text-sm font-semibold leading-6 text-white" >
45- < a href= " {{ url (' /admin' ) } }" class = " flex gap-x-2" >
46- < span class = " truncate" > Sign In< / span>
47- < span class = " text-amber-400" > / < / span>
48- < span class = " whitespace-nowrap" > Admin Panel< / span>
49- < span class = " absolute inset-0" >< / span>
50- < / a>
45+ @auth
46+ < a href= " {{ url (' /admin' ) } }" class = " flex gap-x-2" >
47+ < span class = " truncate" > Dashboard< / span>
48+ < span class = " text-amber-400" > / < / span>
49+ < span class = " whitespace-nowrap" > Admin Panel< / span>
50+ < span class = " absolute inset-0" >< / span>
51+ < / a>
52+ @else
53+ < a href= " {{ url (' /admin/login' ) } }" class = " flex gap-x-2" >
54+ < span class = " truncate" > Sign In< / span>
55+ < span class = " text-amber-400" > / < / span>
56+ < span class = " whitespace-nowrap" > Admin Panel< / span>
57+ < span class = " absolute inset-0" >< / span>
58+ < / a>
59+ @endauth
5160 < / h2>
5261 < / div>
5362
5463 < div class = " mt-3 flex items-center gap-x-2.5 text-sm leading-5 dark:text-gray-400 text-gray-950" >
5564 < p class = " truncate" >
56- Sign in to the admin panel to run your first speedtest or to setup scheduled tests.
65+ Access the admin panel to run your first speedtest or to setup scheduled tests.
5766 < / p>
5867 < / div>
5968 < / div>
You can’t perform that action at this time.
0 commit comments