File tree Expand file tree Collapse file tree 4 files changed +18
-9
lines changed
examples/ecommerce-jewellery-store/src Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,15 @@ export const BackgroundImage = (props: BackgroundImageProps) => {
2323 height : "100%"
2424 } } >
2525 < div className = "k-text-center k-text-white k-pt-25" >
26- < h1
27- className = "k-h1 k-font-bold"
28- >
26+ < h1 className = "k-h1 k-font-bold" >
2927 { title }
3028 </ h1 >
3129 < p className = "k-font-size-lg k-mb-4 k-font-bold k-text-uppercase" > { subtitle } </ p >
32- < span className = "k-gap-9" > </ span >
33- < Button themeColor = "primary" className = "k-mb-4" onClick = { onButtonClick } >
34- { buttonText }
35- </ Button >
30+ { buttonText && (
31+ < Button themeColor = "primary" className = "k-mb-4" onClick = { onButtonClick } >
32+ { buttonText }
33+ </ Button >
34+ ) }
3635 </ div >
3736 </ div >
3837 </ section >
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Layout } from "@/components/Layout" ;
3- import { CustomSection } from "@/components/CustomizedSection" ;
43import CardNumber from "@/components/CardNumber" ;
54import ExpiryDate from "@/components/ExpiryDate" ;
65import PasswordInput from "@/components/PasswordInput" ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2+ import { Layout } from "@/components/Layout" ;
3+ import { BackgroundImage } from '../components/BackgroundImage' ;
4+ import present from "@/assets/present.png" ;
5+ import { Button } from "@progress/kendo-react-buttons" ;
26
37const ThankYou : React . FC = ( ) => {
48 return (
59 < >
6- Thank you page
10+ < BackgroundImage img = { present } title = "" subtitle = "" />
11+ < Layout >
12+ < div className = "k-d-flex k-flex-col k-justify-content-center k-align-items-center k-h-100 k-text-center" >
13+ < h1 > Thank You For Your Order!</ h1 >
14+ < p > You have submitted your order</ p >
15+ < Button className = "k-mt-6" > Back to Shopping</ Button >
16+ </ div >
17+ </ Layout >
718 </ >
819 ) ;
920} ;
You can’t perform that action at this time.
0 commit comments