Fix mobile deep linking to use sleeper.app domain

- Changed URLs from sleeper.com to sleeper.app for better mobile deep linking
- sleeper.app domain provides proper universal links for iOS/Android
- League names and player clicks should now open correct league in mobile app
- Maintains web browser functionality while improving mobile experience

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
efigueroa 2025-09-06 23:13:59 -07:00
parent c0e3879cb8
commit 2109bac65c

View file

@ -27,7 +27,7 @@
<div class="league-info"> <div class="league-info">
<!-- League color dot --> <!-- League color dot -->
<span class="league-dot" style="background-color: {{ league_info.league_color }};"></span> <span class="league-dot" style="background-color: {{ league_info.league_color }};"></span>
<a href="https://sleeper.com/leagues/{{ league_info.league.league_id }}" target="_blank" class="league-name-link"> <a href="https://sleeper.app/leagues/{{ league_info.league.league_id }}" target="_blank" class="league-name-link">
<span class="league-name">{{ league_info.league.name }}</span> <span class="league-name">{{ league_info.league.name }}</span>
</a> </a>
</div> </div>
@ -125,7 +125,7 @@
{% if starters %} {% if starters %}
<div class="starters-container"> <div class="starters-container">
{% for player in starters %} {% for player in starters %}
<a href="https://sleeper.com/leagues/{{ league_info.league.league_id }}" target="_blank" class="player-pill-link"> <a href="https://sleeper.app/leagues/{{ league_info.league.league_id }}" target="_blank" class="player-pill-link">
<div class="player-pill starter {{ player.fantasy_positions[0]|lower if player.fantasy_positions else 'flex' }}"> <div class="player-pill starter {{ player.fantasy_positions[0]|lower if player.fantasy_positions else 'flex' }}">
<span class="pos">{{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }}</span> <span class="pos">{{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }}</span>
<span class="name">{{ player.last_name }} <span class="name">{{ player.last_name }}
@ -143,7 +143,7 @@
{% if bench_players %} {% if bench_players %}
<div class="bench-container"> <div class="bench-container">
{% for player in bench_players %} {% for player in bench_players %}
<a href="https://sleeper.com/leagues/{{ league_info.league.league_id }}" target="_blank" class="player-pill-link"> <a href="https://sleeper.app/leagues/{{ league_info.league.league_id }}" target="_blank" class="player-pill-link">
<div class="player-pill bench {{ player.fantasy_positions[0]|lower if player.fantasy_positions else 'flex' }}"> <div class="player-pill bench {{ player.fantasy_positions[0]|lower if player.fantasy_positions else 'flex' }}">
<span class="pos">{{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }}</span> <span class="pos">{{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }}</span>
<span class="name">{{ player.last_name }} <span class="name">{{ player.last_name }}