-
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
9467a82
commit 4de8af5
Showing
9 changed files
with
83 additions
and
24 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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
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 was deleted.
Oops, something went wrong.
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,16 @@ | ||
import React from "react"; | ||
|
||
function Overlay({ children }) { | ||
const overlayStyle = { | ||
position: "absolute", | ||
top: 0, // Start from the very top | ||
left: 0, // Start from the very left | ||
height: "100%", // Cover full parent height | ||
width: "100%", // Cover full parent width | ||
backgroundColor: "rgba(0, 0, 0, 0.5)", // Semi-transparent black | ||
}; | ||
|
||
return <div style={overlayStyle}>{children}</div>; | ||
} | ||
|
||
export default Overlay; |
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,31 @@ | ||
import React from "react"; | ||
|
||
function Welcome() { | ||
const welcomeStyle = { | ||
zIndex: 10, | ||
color: "white", | ||
textAlign: "center", | ||
minHeight: "100vh", | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "center", // Center the content vertically | ||
alignItems: "center", | ||
}; | ||
|
||
const contentStyle = { | ||
// Add padding to the bottom to push the content up slightly | ||
paddingBottom: "50%", // Adjust this value to control the shift | ||
}; | ||
|
||
return ( | ||
<div style={welcomeStyle}> | ||
{/* Wrap the text content for individual styling */} | ||
<div style={contentStyle}> | ||
<p>welcome to</p> | ||
<h1>COUNCIL OF FOODS</h1> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Welcome; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.