-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhero8.js
More file actions
71 lines (65 loc) · 2.06 KB
/
Copy pathhero8.js
File metadata and controls
71 lines (65 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import React, { Fragment } from 'react'
import PropTypes from 'prop-types'
import './hero8.css'
const Hero8 = (props) => {
return (
<div className="hero8-header26 thq-section-padding">
<div className="hero8-max-width thq-flex-column thq-section-max-width">
<div className="hero8-column">
<div className="hero8-content">
<h1 className="hero8-text1 thq-heading-1">
{props.heading1 ?? (
<Fragment>
<span className="hero8-text6">Welcome </span>
</Fragment>
)}
</h1>
<p className="hero8-text2 thq-body-large">
{props.content1 ?? (
<Fragment>
<span className="hero8-text5">
Discover our unique collection of modern furniture and
designer-made home decoration items
</span>
</Fragment>
)}
</p>
<div className="hero8-actions">
<button className="thq-button-filled hero8-button1">
<span className="thq-body-small">
{props.action1 ?? (
<Fragment>
<span className="hero8-text7">Explore More</span>
</Fragment>
)}
</span>
</button>
<button className="thq-button-outline hero8-button2">
<span className="thq-body-small">
{props.action2 ?? (
<Fragment>
<span className="hero8-text8">Shop Now</span>
</Fragment>
)}
</span>
</button>
</div>
</div>
</div>
</div>
</div>
)
}
Hero8.defaultProps = {
content1: undefined,
heading1: undefined,
action1: undefined,
action2: undefined,
}
Hero8.propTypes = {
content1: PropTypes.element,
heading1: PropTypes.element,
action1: PropTypes.element,
action2: PropTypes.element,
}
export default Hero8