doc: add checkout ads and texts with its styles
This commit is contained in:
1 parent
b736a4602f
commit
1d7386db3f
2 files changed
+34
-1
No files matched your search
@@ -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";
|
import "./Checkout.css";
|
||||||
|
|
||||||
function Checkout() {
|
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;
|
export default Checkout;
|
||||||
Reference in new issue
Block a user