<x-app-layout>
    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            {{ __('Show project') }}
        </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="w-96 mx-auto">
                            <div>
                                <x-label for="name" :value="__('Title')" />

                                <x-input id="name" class="block mt-1 w-full" type="text" name="name" value="{{ $project->name }}" readonly />
                            </div>

                            <!-- Description -->
                            <div class="mt-4">
                                <x-label for="description" :value="__('Description')" />

                                <x-input id="description" class="block mt-1 w-full" type="text" name="description" value="{{ $project->description }}" readonly />
                            </div>

                            <!-- MMC Path -->
                            <div class="mt-4">
                                <x-label for="mmc_path" :value="__('MMC Path')" />

                                <x-input id="mmc_path" class="block mt-1 w-full" type="text" name="mmc_path" value="{{ $project->mmc_path }}" readonly />
                            </div>

                            <div class="flex items-center justify-end mt-4">
                            <div class="pl-2">
                                    <a href="{{ route('projects.edit',$project->id) }}" class="btn bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full">
                                        <i class="fa fa-edit pr-2"></i>{{__('Edit project')}}
                                    </a>
                                </div>
                                <div class="pl-2">
                                    <a href="{{ route('projects.index') }}" class="btn bg-gray-500 hover:bg-gray-700 text-white font-bold py-2 px-4 rounded-full">
                                        <i class="fa fa-cancel pr-2"></i>{{__('Cancel')}}
                                    </a>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</x-app-layout>