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
+3
-4
@@ -1,5 +1,4 @@
|
||||
'use client';
|
||||
import Link from 'next/link';
|
||||
import { useState, useEffect, useCallback, useRef } from 'react';
|
||||
import { TableTalk } from '@/components/table-talk';
|
||||
import { GameTable } from '@/components/game-table';
|
||||
@@ -914,11 +913,11 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="masthead-right">
|
||||
<span className="status-dot" /> Multiplayer table{' '}
|
||||
<Link href="/learn">Learn to play</Link>
|
||||
<Link href="/rules">
|
||||
<a href="/learn">Learn to play</a>
|
||||
<a href="/rules">
|
||||
<BookOpen size={17} />
|
||||
Rulebook
|
||||
</Link>
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
<div className="lobby-grid">
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import Link from 'next/link';
|
||||
export default function Rules() {
|
||||
return (
|
||||
<main className="rule-page">
|
||||
<Link href="/">← Return to the table</Link>
|
||||
<a href="/">← Return to the table</a>
|
||||
<h1>Rules coverage ledger</h1>
|
||||
<p>
|
||||
This project targets classic Gale Force Nine Dune, the advanced game,
|
||||
|
||||
Reference in new issue
Block a user