-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e38be1
commit 5702f01
Showing
4 changed files
with
68 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from "react"; | ||
import NameInput from "./NameInput"; | ||
|
||
function Welcome({ onEnterSetup }) { | ||
const welcomeStyle = { | ||
zIndex: 10, | ||
color: "white", | ||
textAlign: "center", | ||
minHeight: "100vh", | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "space-around", | ||
alignItems: "center", | ||
}; | ||
|
||
return ( | ||
<div style={welcomeStyle}> | ||
{/* Wrap the text content for individual styling */} | ||
<div> | ||
<h2>welcome to</h2> | ||
<h1>COUNCIL OF FOODS</h1> | ||
</div> | ||
<NameInput onEnterSetup={onEnterSetup} /> | ||
</div> | ||
); | ||
} | ||
|
||
export default Welcome; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
function Topics() { | ||
return <div></div>; | ||
} | ||
|
||
export default Topics; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,6 @@ | ||
import React from "react"; | ||
import NameInput from "./NameInput"; | ||
|
||
function Welcome({ onEnterSetup }) { | ||
const welcomeStyle = { | ||
zIndex: 10, | ||
color: "white", | ||
textAlign: "center", | ||
minHeight: "100vh", | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "space-around", | ||
alignItems: "center", | ||
}; | ||
|
||
return ( | ||
<div style={welcomeStyle}> | ||
{/* Wrap the text content for individual styling */} | ||
<div> | ||
<h2>welcome to</h2> | ||
<h1>COUNCIL OF FOODS</h1> | ||
</div> | ||
<NameInput onEnterSetup={onEnterSetup} /> | ||
</div> | ||
); | ||
function Welcome() { | ||
return <div></div>; | ||
} | ||
|
||
export default Welcome; |