Skip to content

Commit

Permalink
demo-game welcome page, default bank name and additional todo
Browse files Browse the repository at this point in the history
  • Loading branch information
jajakob committed Aug 21, 2024
1 parent a7a6e5a commit 4738caf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/demo-game/src/pages/play/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const Schema = Yup.object().shape({
// props:
// - descriptions
// - avatar info, color, location, onSubmit, no player.role
// - add banks, like colors
function Welcome() {
const router = useRouter()

Expand All @@ -52,7 +53,7 @@ function Welcome() {
<div className="m-auto w-full max-w-4xl p-8">
<Formik
initialValues={{
name: 'Your Name',
name: 'Sparfuchs Bank AG',
// name: player.name,
color: Object.keys(COLORS)[0],
location: LOCATIONS.Trader[0],
Expand Down Expand Up @@ -182,7 +183,7 @@ function Welcome() {
<div className="flex flex-col">
<div className="flex-initial space-y-1.5">
<NewFormikTextField
label="Name"
label="Name of bank"
name="name"
className={{ label: 'pb-2 font-normal' }}
/>
Expand Down

0 comments on commit 4738caf

Please sign in to comment.