import * as React from "react" ; import Media from "react-media" ; import { MobileGame } from "./layouts/mobileGame" ; import { DesktopGame } from "./layouts/desktopGame" ; const GamePage = ( ) => ( < > < Media query = "(orientation: landscape) and (min-width: 1200px)" > < DesktopGame /> < /Media> < Media query = "(orientation: landscape) and (max-width: 1199px) and (min-width: 600px)" > < MobileGame /> < /Media> < Media query = "(orientation: portrait), (max-width: 599px)" > < MobileGame /> < /Media> < />); export { GamePage } ;