<!DOCTYPE html>
<html lang="ja">

<head>
    <meta charset="UTF-8">
    <title>人物一覧</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        body {
            font-family: sans-serif;
            line-height: 1.7;
            margin: 0;
            background: #fff;
            color: #222;
        }

        .container {
            max-width: 960px;
            margin: 0 auto;
            padding: 24px;
        }

        h1 {
            margin-bottom: 24px;
        }

        .person-list {
            display: grid;
            gap: 16px;
        }

        .card {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 16px;
        }

        .meta {
            color: #666;
            font-size: 14px;
            margin-top: 8px;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        nav {
            margin-bottom: 24px;
        }
    </style>
</head>

<body>
    <div class="container">
        <nav>
            <a href="<?php echo e(route('performances.index')); ?>">公演一覧</a>
        </nav>

        <h1>人物一覧</h1>

        <div class="person-list">
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $people; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $person): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
                <div class="card">
                    <h2>
                        <a href="<?php echo e(route('people.show', $person)); ?>">
                            <?php echo e($person->name); ?>

                        </a>
                    </h2>

                    <div class="meta">
                        読み：<?php echo e($person->name_kana ?: '未設定'); ?>

                        ／ 期：<?php echo e($person->class_year ?: '未設定'); ?>

                        ／ 区分：
                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php switch($person->person_type):
                            case ('student'): ?>
                                生徒
                            <?php break; ?>

                            <?php case ('staff'): ?>
                                スタッフ
                            <?php break; ?>

                            <?php case ('creator'): ?>
                                作家・演出
                            <?php break; ?>

                            <?php default: ?>
                                その他
                        <?php endswitch; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </div>
                </div>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
                    <p>まだ人物データがありません。</p>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>
        </div>
    </body>

    </html>
<?php /**PATH C:\Users\kouzu\takarazuka-archive\resources\views/people/index.blade.php ENDPATH**/ ?>