source: pages/index.js@ 87614a5

main
Last change on this file since 87614a5 was 87614a5, checked in by anastasovv <simon@…>, 2 years ago

Blackjack prototype

  • Property mode set to 100644
File size: 1.4 KB
Line 
1import Header from '../components/Header'
2import FullwidthText from '../components/FullwidthText'
3import GameCircle from '../components/GameCircle'
4import Loading from '../components/Loading'
5import RegisterScreen from '../components/RegisterScreen'
6import LoginScreen from '../components/LoginScreen'
7import Alert from '../components/Alert'
8import Notification from '../components/Notification'
9import Stats from '../components/Stats'
10
11import Head from 'next/head'
12
13import { useDispatch } from 'react-redux'
14import ManageCredits from '../components/ManageCredits'
15
16export default function Home() {
17 const dispatch = useDispatch();
18
19 return (
20 <div className="app" style={{backgroundImage: 'url("/images/bg.png")'}}>
21 <Head>
22 <title>Caessino</title>
23 </Head>
24
25 <Header/>
26
27 <FullwidthText title="Welcome to Caessino" subtitle="Choose Your Game"/>
28
29 <div className="gameCircles">
30 <GameCircle src={"/images/blackjack.png"} text="Play Blackjack" routeTo="/games/blackjack" game="Blackjack"/>
31 <GameCircle src={"/images/roulette.png"} text="Play Roulette" routeTo="/games/roulette" game="Roulette"/>
32 <GameCircle src={"/images/poker.png"} text="Play Poker" routeTo="/games/poker" game="Poker"/>
33 </div>
34
35 <Loading/>
36
37 <RegisterScreen/>
38
39 <LoginScreen/>
40
41 <Alert/>
42
43 <Notification/>
44
45 <Stats/>
46
47 <ManageCredits/>
48 </div>
49 )
50}
Note: See TracBrowser for help on using the repository browser.