Files
karudhaas/resources/views/admin/dashboard.blade.php
2020-09-16 05:01:27 +05:00

87 lines
4.2 KiB
PHP

<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Dashboard') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-xl sm:rounded-lg">
<div class="p-6 sm:px-20 bg-white border-b border-gray-200">
<div class="mt-8 text-2xl font-semibold">
Karudhaas Overview
</div>
</div>
<div class="bg-gray-200 bg-opacity-25 grid grid-cols-1 md:grid-cols-3">
<div class="p-6">
<div class="flex items-center">
<svg class="w-8 h-8 text-gray-400" fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4">
</path>
</svg>
<div class="ml-4 text-lg text-gray-600 leading-7 font-semibold">Articles</div>
</div>
<div class="ml-12">
<div class="mt-2 text-gray-500 font-bold text-3xl">
{{$total_articles}}
</div>
</div>
</div>
<div class="p-6 border-t border-gray-200 md:border-t-0 md:border-l">
<div class="flex items-center">
<svg class="w-8 h-8 text-gray-400" fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 17V7m0 10a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h2a2 2 0 012 2m0 10a2 2 0 002 2h2a2 2 0 002-2M9 7a2 2 0 012-2h2a2 2 0 012 2m0 10V7m0 10a2 2 0 002 2h2a2 2 0 002-2V7a2 2 0 00-2-2h-2a2 2 0 00-2 2">
</path>
</svg>
<div class="ml-4 text-lg text-gray-600 leading-7 font-semibold">Topics</div>
</div>
<div class="ml-12">
<div class="mt-2 text-gray-500 font-bold text-3xl">
{{$total_topics}}
</div>
</div>
</div>
<div class="p-6 border-t border-gray-200">
<div class="flex items-center">
<svg class="w-8 h-8 text-gray-400" fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z">
</path>
</svg>
<div class="ml-4 text-lg text-gray-600 leading-7 font-semibold">Sources</div>
</div>
<div class="ml-12">
<div class="mt-2 text-gray-500 font-bold text-3xl">
{{$total_sources}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</x-app-layout>