CLAUDE: Reverse pitcher/batter positions - batter now on left, pitcher on right
This commit is contained in:
parent
078516f682
commit
2e8c01f154
@ -2,39 +2,7 @@
|
|||||||
<div class="current-situation">
|
<div class="current-situation">
|
||||||
<!-- Side-by-Side Card Layout -->
|
<!-- Side-by-Side Card Layout -->
|
||||||
<div class="grid grid-cols-2 gap-4">
|
<div class="grid grid-cols-2 gap-4">
|
||||||
<!-- Current Pitcher Card -->
|
<!-- Current Batter Card (LEFT) -->
|
||||||
<button
|
|
||||||
v-if="currentPitcher"
|
|
||||||
:class="[
|
|
||||||
'player-card pitcher-card card-transition',
|
|
||||||
pitcherCardClasses
|
|
||||||
]"
|
|
||||||
@click="openPlayerCard('pitcher')"
|
|
||||||
>
|
|
||||||
<!-- Card Header -->
|
|
||||||
<div class="card-header pitcher-header">
|
|
||||||
<span class="team-abbrev">{{ pitcherTeamAbbrev }}</span>
|
|
||||||
<span class="position-info">P</span>
|
|
||||||
<span class="player-name">{{ pitcherName }}</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Card Image -->
|
|
||||||
<div class="card-image-container">
|
|
||||||
<img
|
|
||||||
v-if="pitcherPlayer?.image"
|
|
||||||
:src="pitcherPlayer.image"
|
|
||||||
:alt="`${pitcherName} card`"
|
|
||||||
class="card-image"
|
|
||||||
@error="handleImageError"
|
|
||||||
>
|
|
||||||
<div v-else class="card-placeholder pitcher-placeholder">
|
|
||||||
<span class="placeholder-initials">{{ getPlayerFallbackInitial(pitcherPlayer) }}</span>
|
|
||||||
<span class="placeholder-label">No Card Image</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<!-- Current Batter Card -->
|
|
||||||
<button
|
<button
|
||||||
v-if="currentBatter"
|
v-if="currentBatter"
|
||||||
:class="[
|
:class="[
|
||||||
@ -65,6 +33,38 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<!-- Current Pitcher Card (RIGHT) -->
|
||||||
|
<button
|
||||||
|
v-if="currentPitcher"
|
||||||
|
:class="[
|
||||||
|
'player-card pitcher-card card-transition',
|
||||||
|
pitcherCardClasses
|
||||||
|
]"
|
||||||
|
@click="openPlayerCard('pitcher')"
|
||||||
|
>
|
||||||
|
<!-- Card Header -->
|
||||||
|
<div class="card-header pitcher-header">
|
||||||
|
<span class="team-abbrev">{{ pitcherTeamAbbrev }}</span>
|
||||||
|
<span class="position-info">P</span>
|
||||||
|
<span class="player-name">{{ pitcherName }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Card Image -->
|
||||||
|
<div class="card-image-container">
|
||||||
|
<img
|
||||||
|
v-if="pitcherPlayer?.image"
|
||||||
|
:src="pitcherPlayer.image"
|
||||||
|
:alt="`${pitcherName} card`"
|
||||||
|
class="card-image"
|
||||||
|
@error="handleImageError"
|
||||||
|
>
|
||||||
|
<div v-else class="card-placeholder pitcher-placeholder">
|
||||||
|
<span class="placeholder-initials">{{ getPlayerFallbackInitial(pitcherPlayer) }}</span>
|
||||||
|
<span class="placeholder-label">No Card Image</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Empty State -->
|
<!-- Empty State -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user