Use browser navigation for reliable production page links
This commit is contained in:
1 parent
b14593fa40
commit
c5661ec255
15 files changed
+40
-42
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import Link from 'next/link';
|
||||
import { leaders } from '@/game/cards';
|
||||
import type { GameView } from '@/game/engine';
|
||||
import { LeaderInspector } from './leader-inspector';
|
||||
@@ -16,7 +15,7 @@ export function EcazLoyaltyCard({ loyalty }: { loyalty: GameView['ecazLoyalty']
|
||||
<p className="text-base! leading-7!">This Ecaz Traitor Card was randomly set aside face up before dealing. It stays outside the deck for this game and cannot be drawn as a Traitor or Face Dancer. Its leader remains in play under the normal leader rules.</p>
|
||||
<div className="flex flex-wrap items-center gap-3">
|
||||
<LeaderInspector kind="loyalty" identity={{ id: leader.id, name: leader.name, factionName: 'Ecaz', strength: leader.strength }} />
|
||||
<Link className="py-3 text-base underline" href="/rules?topic=ecaz-loyalty#ecaz-loyalty">Loyalty rules</Link>
|
||||
<a className="py-3 text-base underline" href="/rules?topic=ecaz-loyalty#ecaz-loyalty">Loyalty rules</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>;
|
||||
|
||||
Reference in new issue
Block a user