doc: add checkout ads and texts with its styles
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
.checkout {
|
||||
display: flex;
|
||||
padding: 20px;
|
||||
background-color: white;
|
||||
height: max-content;
|
||||
}
|
||||
|
||||
.checkout__ad {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.checkout__title {
|
||||
margin-right: 10px;
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid lightgray;
|
||||
}
|
||||
@@ -2,7 +2,23 @@ import React from "react";
|
||||
import "./Checkout.css";
|
||||
|
||||
function Checkout() {
|
||||
return <section className="checkout">Checkout</section>;
|
||||
return (
|
||||
<section className="checkout">
|
||||
<article className="checkout__left">
|
||||
<img
|
||||
className="checkout__ad"
|
||||
src="https://images-na.ssl-images-amazon.com/images/G/02/UK_CCMP/TM/OCC_Amazon1._CB423492668_.jpg"
|
||||
alt="amazon ads"
|
||||
/>
|
||||
|
||||
<article>
|
||||
<h2 className="checkout__title">Your Shopping Basket</h2>
|
||||
</article>
|
||||
</article>
|
||||
|
||||
<article className="checkout__right"></article>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
export default Checkout;
|
||||
|
||||
Reference in New Issue
Block a user