<x-app-layout>
    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <div class="flex flex-row">
                <div class="basis-1/2">
                    {{ $project->name }}: {{ __('MMC List') }}
                </div>
            </div>
        </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-sm sm:rounded-lg">
                <div class="p-6 bg-white border-b border-gray-200">
                    <div class="flex flex-row">
                        <div class="basis-1/2">
                            <a href="{{ route('mmc.create') }}">
                                <button
                                    class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full">
                                    <i class="fa fa-add pr-2"></i>{{ __('Create mmc') }}
                                </button>
                            </a>
                        </div>
                        <div class="basis-1/2 text-right">
                            <a href="{{ route('mmc.scan') }}">
                                <button
                                    class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full">
                                    <i class="fa fa-search pr-2"></i>{{ __('Scan mmc') }}
                                </button>
                            </a>
                        </div>
                    </div>

                    <div align="center" class="pt-4">
                        TODO: MMC table
                        <table class="table table-sm border-b border-gray-200">
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</x-app-layout>
