first commit
This commit is contained in:
commit
3d8c60ee00
41 changed files with 2836 additions and 0 deletions
16
src/components/Special.jsx
Normal file
16
src/components/Special.jsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { Link } from "react-router-dom"
|
||||
import "../styles/Special.css"
|
||||
|
||||
export const Special = ({ image, title, price, children }) => (
|
||||
<section className="column">
|
||||
<img src={image} alt="Picture of Food" />
|
||||
<article>
|
||||
<section className="row specialRow">
|
||||
<h3>{title}</h3>
|
||||
<span>${price}</span>
|
||||
</section>
|
||||
<p>{children}</p>
|
||||
<Link>Order a delivery</Link>
|
||||
</article>
|
||||
</section>
|
||||
)
|
||||
Reference in a new issue