All files / web/src/app/arcade/rithmomachia/guide page.tsx

0% Statements 0/22
0% Branches 0/1
0% Functions 0/1
0% Lines 0/22

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                             
'use client'

import { useState } from 'react'
import { PlayingGuideModal } from '@/arcade-games/rithmomachia/components/PlayingGuideModal'

export default function RithmomachiaGuidePage() {
  // Guide is always open in this standalone page
  const [isOpen] = useState(true)

  return (
    <div
      style={{
        width: '100vw',
        height: '100vh',
        overflow: 'hidden',
        background: '#f3f4f6',
      }}
    >
      <PlayingGuideModal isOpen={isOpen} onClose={() => window.close()} standalone={true} />
    </div>
  )
}