Search.js
10.1 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
/* eslint-disable jsx-a11y/href-no-hash */
import React from 'react';
import {
Row,
Col,
ButtonGroup,
Button,
Nav,
NavItem,
NavLink,
Pagination,
PaginationLink,
PaginationItem,
Badge,
UncontrolledButtonDropdown,
DropdownMenu,
DropdownToggle,
DropdownItem,
} from 'reactstrap';
import s from './Search.module.scss';
import i1 from '../../../../images/search/1.jpg';
import i2 from '../../../../images/search/5.jpg';
import i3 from '../../../../images/search/3.jpg';
import i4 from '../../../../images/search/13.jpg';
class Search extends React.Component {
render() {
return (
<div className={s.root}>
<ol className="breadcrumb">
<li className="breadcrumb-item">YOU ARE HERE</li>
<li className="breadcrumb-item active">Search Results</li>
</ol>
<h1 className="page-title">Matching - <span className="fw-semi-bold">Results</span></h1>
<div className="btn-toolbar justify-content-between">
<div className="d-inline-flex">
<UncontrolledButtonDropdown>
<DropdownToggle color="default" caret>
Popular
</DropdownToggle>
<DropdownMenu>
<DropdownItem>All</DropdownItem>
<DropdownItem>Popular</DropdownItem>
<DropdownItem>Interesting</DropdownItem>
<DropdownItem>Latest</DropdownItem>
</DropdownMenu>
</UncontrolledButtonDropdown>
<UncontrolledButtonDropdown>
<DropdownToggle color="default" caret>
All Time
</DropdownToggle>
<DropdownMenu>
<DropdownItem>Last 24h</DropdownItem>
<DropdownItem>Last Month</DropdownItem>
<DropdownItem>Last Year</DropdownItem>
</DropdownMenu>
</UncontrolledButtonDropdown>
</div>
<ButtonGroup>
<Button color="gray" className="active"><i className="fa fa-th-list" /></Button>
<Button color="gray"><i className="fa fa-th-large" /></Button>
</ButtonGroup>
</div>
<Row className="mt-3 d-block">
<Col xl={3} sm={12} className="float-xl-right">
<h5>Results <span className="fw-semi-bold">Filtering</span></h5>
<p className="text-muted fs-mini">Listed content is categorized by the following groups:</p>
<Nav className={`nav-pills flex-column nav-stacked ${s.searchResultCategories} mt`}>
<NavItem>
<NavLink href="#">
Hot Ideas
<Badge color="default" pill className="float-right">34</Badge>
</NavLink>
</NavItem>
<NavItem>
<NavLink href="#">
Latest Pictures
<Badge color="default" pill className="float-right">9</Badge>
</NavLink>
</NavItem>
<NavItem>
<NavLink href="#">Labels of Day</NavLink>
</NavItem>
<NavItem>
<NavLink href="#">Recent Movies</NavLink>
</NavItem>
<NavItem>
<NavLink href="#">
Globals
<Badge color="default" pill className="float-right">18</Badge>
</NavLink>
</NavItem>
</Nav>
</Col>
<Col xl={9} sm={12}>
<p className={s.searchResultsCount}>About 94 700 000 (0.39 sec.) results</p>
<section className={`${s.searchResultItem}`}>
<button className={`btn-link ${s.imageLink}`}>
<img className={s.image} src={i1} alt="" />
</button>
<div className={s.searchResultItemBody}>
<Row>
<Col md={9}>
<h4 className={s.searchResultItemHeading}>
<button className="btn-link">Next generation admin template</button>
</h4>
<p className={s.info}>
New York, NY 20188
</p>
<p className={s.description}>
Not just usual Metro. But something bigger. Not just usual widgets, but real
widgets. Not just yet another admin template,
but next generation admin template.
</p>
</Col>
<Col md={3} xs={12} className="text-center">
<p className="value3 mt-sm">
$9, 700
</p>
<p className="fs-mini text-muted">
PER WEEK
</p>
<Button color="info" size="sm">Learn More</Button>
</Col>
</Row>
</div>
</section>
<section className={s.searchResultItem}>
<button className={`btn-link ${s.imageLink}`}>
<img className={s.image} src={i2} alt="" />
</button>
<div className={s.searchResultItemBody}>
<Row>
<Col md={9}>
<h4 className={s.searchResultItemHeading}>
<button className="btn-link">Try. Posted by Okendoken</button>
<small>
<span className="badge badge-pill badge-danger float-right">
<span className="fw-normal"> Best Deal!</span>
</span>
</small>
</h4>
<p className={s.info}>
Los Angeles, NY 20188
</p>
<p className={s.description}>
You will never know exactly how something will go until you try it. You can
think three hundred times and still have no precise result.
</p>
</Col>
<Col md={3} xs={12} className="text-center">
<p className="value3 mt-sm">
$10, 300
</p>
<p className="fs-mini text-muted">
PER WEEK
</p>
<Button color="info" size="sm">Learn More</Button>
</Col>
</Row>
</div>
</section>
<section className={s.searchResultItem}>
<button className={`btn-link ${s.imageLink}`}>
<img className={s.image} src={i3} alt="" />
</button>
<div className={s.searchResultItemBody}>
<Row>
<Col md={9}>
<h4 className={s.searchResultItemHeading}>
<button className="btn-link">Vitaut the Great</button>
</h4>
<p className={s.info}>
New York, NY 20188
</p>
<p className={s.description}>
The Great Prince of the Grand Duchy of Lithuania he had stopped the invasion
to Europe of Timur (Tamerlan) from Asia heading a big Army
of Belarusians, Lithuanians.
</p>
</Col>
<Col md={3} xs={12} className="text-center">
<p className="value3 mt-sm">
$3, 200
</p>
<p className="fs-mini text-muted">
PER WEEK
</p>
<Button color="info" size="sm">Learn More</Button>
</Col>
</Row>
</div>
</section>
<section className={s.searchResultItem}>
<button className={`btn-link ${s.imageLink}`}>
<img className={s.image} src={i4} alt="" />
</button>
<div className={s.searchResultItemBody}>
<Row>
<Col md={9}>
<h4 className={s.searchResultItemHeading}>
<button className="btn-link">Can I use CSS3 Radial-Gradient?</button>
</h4>
<p className={s.info}>
Minsk, NY 20188
</p>
<p className={s.description}>
Yes you can! Further more, you should!
It let's you create really beautiful images
either for elements or for the entire background.
</p>
</Col>
<Col md={3} xs={12} className="text-center">
<p className="value3 mt-sm">
$2, 400
</p>
<p className="fs-mini text-muted">
PER MONTH
</p>
<Button color="info" size="sm">Learn More</Button>
</Col>
</Row>
</div>
</section>
<div className="d-flex justify-content-center mt-3">
<Pagination>
<PaginationItem disabled>
<PaginationLink previous href="#">Prev</PaginationLink>
</PaginationItem>
<PaginationItem active>
<PaginationLink href="#">1</PaginationLink>
</PaginationItem>
<PaginationItem>
<PaginationLink href="#">2</PaginationLink>
</PaginationItem>
<PaginationItem>
<PaginationLink href="#">3</PaginationLink>
</PaginationItem>
<PaginationItem>
<PaginationLink href="#">4</PaginationLink>
</PaginationItem>
<PaginationItem>
<PaginationLink href="#">5</PaginationLink>
</PaginationItem>
<PaginationItem>
<PaginationLink next href="#">Next</PaginationLink>
</PaginationItem>
</Pagination>
</div>
</Col>
</Row>
</div>);
}
}
export default Search;