35 lines
1.4 KiB
PHP
35 lines
1.4 KiB
PHP
@php use Illuminate\Support\Facades\Auth; @endphp
|
|
<x-layout.app>
|
|
<x-slot:page_title>Dashboard</x-slot:page_title>
|
|
@if(! Auth::user()->school_id)
|
|
You aren't currently associated with a school. <a href="/my_school" class="text-blue-600">Click here to choose or create one.</a>
|
|
@endif
|
|
<div class="grid sm:grid-cols-2 md:grid-cols-4">
|
|
<div>{{-- Column 1 --}}
|
|
<x-card.card>
|
|
<x-card.heading>User Options</x-card.heading>
|
|
<x-card.list.body>
|
|
<a href="{{ route('my_profile') }}">
|
|
<x-card.list.row class="hover:bg-gray-200">
|
|
My Profile
|
|
</x-card.list.row>
|
|
</a>
|
|
<a href="{{ route('my_school') }}">
|
|
<x-card.list.row class="hover:bg-gray-200">
|
|
My School
|
|
</x-card.list.row>
|
|
</a>
|
|
@if(Auth::user()->school_id)
|
|
<a href="{{ route('my_invoice') }}">
|
|
<x-card.list.row class="hover:bg-gray-200">
|
|
My Invoice
|
|
</x-card.list.row>
|
|
</a>
|
|
@endif
|
|
</x-card.list.body>
|
|
</x-card.card>
|
|
</div>
|
|
|
|
</div>
|
|
</x-layout.app>
|