-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
Co-authored-by: Artem Zverev <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import React from 'react' | ||
import { Routes as ReactRouterRoutes, Route } from 'react-router-dom' | ||
|
||
import { HomePage } from 'pages/home/HomePage' | ||
import { GamePage } from 'pages/game/GamePage' | ||
import { AuthContainer } from 'containers/AuthContainer' | ||
import { routes } from 'utils/constants' | ||
import { GamePageContainer } from 'pages/game/GamePageContainer' | ||
import { AuthContainer } from '../AuthContainer' | ||
import { routes } from 'shared/constants' | ||
|
||
export const Routes = () => ( | ||
<ReactRouterRoutes> | ||
<Route index element={<HomePage />} /> | ||
<Route path={routes.GAME} element={<GamePage />} /> | ||
<Route path={routes.GAME} element={<GamePageContainer />} /> | ||
<Route path={routes.AUTH_ALL} element={<AuthContainer />} /> | ||
</ReactRouterRoutes> | ||
) |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Analytics } from '@memebattle/analytics' | ||
import { AMPLITUDE_TOKEN } from 'config' | ||
import { AMPLITUDE_TOKEN } from 'shared/constants/config' | ||
|
||
export const analytics = new Analytics({ apiKey: AMPLITUDE_TOKEN }) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export { Card } from './ui/Card' | ||
export { CardPlace } from './ui/CardPlace' | ||
export { CardHotkeyBadge } from './ui/CardHotkeyBadge' | ||
export { CardsStack } from './ui/CardsStack' | ||
export { LigrettoPack } from 'features/player' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { CardPlace } from './CardPlace' | ||
export type { CardPlaceProps, CardPlaceSize } from './CardPlace' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { CardsStack } from './CardsStack' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { socketSaga } from './model/socket-saga' | ||
export { socketConnectedAction } from './model/actions' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { createAction } from '@reduxjs/toolkit' | ||
export const socketConnectedAction = createAction('@@socket/SOCKET_CONNECTED') |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { CreateRoomContainer } from './ui/CreateRoomContainer' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { PlayersScoresTableContainer } from './ui/PlayersScoresTableContainer' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { Opponent } from './ui/Opponent' | ||
export { CardsPanelContainer } from './ui/CardsPanelContainer' | ||
export { LigrettoPack } from './ui/LigrettoPack' |