-
-
Notifications
You must be signed in to change notification settings - Fork 853
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
Showing
22 changed files
with
532 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -351,7 +351,7 @@ | |
margin-top: 0.4rem; | ||
padding-top: 0.4rem; | ||
} | ||
.header-rightcol{ | ||
.header-rightcol { | ||
max-width: 95%; | ||
} | ||
|
||
|
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 |
---|---|---|
@@ -1,96 +1,96 @@ | ||
/* Scoped styles for the Selection Sort Visualizer */ | ||
.visualizer-body { | ||
background-color: papayawhip; | ||
} | ||
.visualizer-container * { | ||
font-size: 16px; | ||
font-weight: bold; | ||
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; | ||
} | ||
.visualizer-head { | ||
margin-top: 20px; | ||
margin-right: 20vw; | ||
margin-left: 20vw; | ||
text-align: center; | ||
font-size: 30px; | ||
background-color: greenyellow; | ||
color: white; | ||
border-radius: 19px; | ||
font-weight: bolder; | ||
} | ||
.visualizer-input-container { | ||
display: flex; | ||
flex-direction: row; | ||
margin: 2rem 5rem; | ||
} | ||
.input-field { | ||
width: 180px; | ||
height: 40px; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
outline: none; | ||
text-align: center; | ||
} | ||
.button-blue, | ||
.button-green { | ||
width: 100px; | ||
text-align: center; | ||
margin-left: 10px; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
height: 40px; | ||
color: white; | ||
} | ||
.button-green { | ||
background-color: #4cd430; | ||
} | ||
.button-blue { | ||
background-color: #3478d5; | ||
} | ||
#input-visualizer { | ||
margin: 0 5rem; | ||
margin-top: 2rem; | ||
display: flex; | ||
text-align: center; | ||
} | ||
#input-visualizer div { | ||
margin-right: 10px; | ||
background-color: #e6852c; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
padding: 10px; | ||
width: 50px; | ||
color: white; | ||
} | ||
#output-visualizer { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
#output-visualizer div { | ||
margin: 0 5rem; | ||
margin-top: 2rem; | ||
display: flex; | ||
text-align: center; | ||
} | ||
#output-visualizer div span { | ||
margin-right: 10px; | ||
background-color: #3478d5; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
padding: 10px; | ||
width: 50px; | ||
color: white; | ||
} | ||
background-color: papayawhip; | ||
} | ||
|
||
.visualizer-container * { | ||
font-size: 16px; | ||
font-weight: bold; | ||
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, | ||
Verdana, sans-serif; | ||
} | ||
|
||
.visualizer-head { | ||
margin-top: 20px; | ||
margin-right: 20vw; | ||
margin-left: 20vw; | ||
text-align: center; | ||
font-size: 30px; | ||
background-color: greenyellow; | ||
color: white; | ||
border-radius: 19px; | ||
font-weight: bolder; | ||
} | ||
|
||
.visualizer-input-container { | ||
display: flex; | ||
flex-direction: row; | ||
margin: 2rem 5rem; | ||
} | ||
|
||
.input-field { | ||
width: 180px; | ||
height: 40px; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
outline: none; | ||
text-align: center; | ||
} | ||
|
||
.button-blue, | ||
.button-green { | ||
width: 100px; | ||
text-align: center; | ||
margin-left: 10px; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
height: 40px; | ||
color: white; | ||
} | ||
|
||
.button-green { | ||
background-color: #4cd430; | ||
} | ||
|
||
.button-blue { | ||
background-color: #3478d5; | ||
} | ||
|
||
#input-visualizer { | ||
margin: 0 5rem; | ||
margin-top: 2rem; | ||
display: flex; | ||
text-align: center; | ||
} | ||
|
||
#input-visualizer div { | ||
margin-right: 10px; | ||
background-color: #e6852c; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
padding: 10px; | ||
width: 50px; | ||
color: white; | ||
} | ||
|
||
#output-visualizer { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
#output-visualizer div { | ||
margin: 0 5rem; | ||
margin-top: 2rem; | ||
display: flex; | ||
text-align: center; | ||
} | ||
|
||
#output-visualizer div span { | ||
margin-right: 10px; | ||
background-color: #3478d5; | ||
border: 1px solid black; | ||
border-radius: 5px; | ||
padding: 10px; | ||
width: 50px; | ||
color: white; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
|
||
import Header from './components/Header'; | ||
import Menu from './components/Menu'; | ||
import Footer from './components/Footer'; | ||
|
||
const App = () => { | ||
return ( | ||
<div className="pizza-menu_container pizza-menu_body"> | ||
<Header /> | ||
<Menu /> | ||
<Footer /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default App; |
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,20 @@ | ||
import React from 'react'; | ||
|
||
import PlayHeader from 'common/playlists/PlayHeader'; | ||
import App from './App'; | ||
import './styles.css'; | ||
|
||
function PizzaMenu(props: any) { | ||
return ( | ||
<> | ||
<div className="play-details"> | ||
<PlayHeader play={props} /> | ||
<div className="play-details-body"> | ||
<App /> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default PizzaMenu; |
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,27 @@ | ||
# Pizza Menu | ||
|
||
A pizza menu that showcases a variety of pizzas, including detailed information such as ingredients, prices, and availability. Each pizza listing clearly indicates if it’s currently sold out, helping customers make quick and informed choices. | ||
|
||
## Play Demographic | ||
|
||
- Language: ts | ||
- Level: Beginner | ||
|
||
## Creator Information | ||
|
||
- User: aaqib605 | ||
- Gihub Link: https://github.com/aaqib605 | ||
- Blog: https://hashnode.com/@aaqib605 | ||
- Video: | ||
|
||
## Implementation Details | ||
|
||
Update your implementation idea and details here | ||
|
||
## Consideration | ||
|
||
Update all considerations(if any) | ||
|
||
## Resources | ||
|
||
Update external resources(if any) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 @@ | ||
import React from 'react'; | ||
|
||
import Order from './Order'; | ||
|
||
const Footer = () => { | ||
const hour = new Date().getHours(); | ||
const openHour = 12; | ||
const closeHour = 22; | ||
const isOpen = hour >= openHour && hour <= closeHour; | ||
|
||
return ( | ||
<footer className="pizza-menu_footer"> | ||
{isOpen ? ( | ||
<Order closeHour={closeHour} openHour={openHour} /> | ||
) : ( | ||
<p> | ||
We're happy to welcome you between {openHour}:00 and {closeHour}:00. | ||
</p> | ||
)} | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
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,11 @@ | ||
import React from 'react'; | ||
|
||
const Header = () => { | ||
return ( | ||
<header className="pizza-menu_header"> | ||
<h1 className="pizza-menu_logo-title">Fast React Pizza Co.</h1> | ||
</header> | ||
); | ||
}; | ||
|
||
export default Header; |
Oops, something went wrong.