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 | |
---|
1 | import Header from '../components/Header'
|
---|
2 | import FullwidthText from '../components/FullwidthText'
|
---|
3 | import GameCircle from '../components/GameCircle'
|
---|
4 | import Loading from '../components/Loading'
|
---|
5 | import RegisterScreen from '../components/RegisterScreen'
|
---|
6 | import LoginScreen from '../components/LoginScreen'
|
---|
7 | import Alert from '../components/Alert'
|
---|
8 | import Notification from '../components/Notification'
|
---|
9 | import Stats from '../components/Stats'
|
---|
10 |
|
---|
11 | import Head from 'next/head'
|
---|
12 |
|
---|
13 | import { useDispatch } from 'react-redux'
|
---|
14 | import ManageCredits from '../components/ManageCredits'
|
---|
15 |
|
---|
16 | export 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.