Profile.js
8.52 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
import React from 'react';
import cx from 'classnames';
import {
Breadcrumb,
BreadcrumbItem,
Row,
Col,
Input,
Label,
Form,
FormGroup,
} from 'reactstrap';
import Widget from '../../../components/Widget';
import p19 from '../../../images/pictures/19.jpg';
import a5 from '../../../images/people/a5.jpg';
import a1 from '../../../images/people/a1.jpg';
import a3 from '../../../images/people/a3.jpg';
import avatar from '../../../images/avatar.png';
import s from './Profile.module.scss';
const Profile = () => (
<div className={s.root}>
<Breadcrumb>
<BreadcrumbItem>YOU ARE HERE</BreadcrumbItem>
<BreadcrumbItem active>Profile</BreadcrumbItem>
</Breadcrumb>
<h1 className="page-title">User - <span className="fw-semi-bold">Profile</span>
</h1>
<Row>
<Col lg={6} xs={12}>
<Widget>
<div className="widget-top-overflow text-white">
<div className="height-250 overflow-hidden">
<img className="img-fluid" src={p19} alt="..." />
</div>
<button className="btn btn-outline btn-sm mb-2">
<i className="fa fa-twitter mr-2" />
Follow
</button>
</div>
<Row>
<Col md={5} xs={12} className="text-center">
<div className={s.profileContactContainer}>
<span className="thumb-xl mb-3">
<img className={[s.profileAvatar, 'rounded-circle'].join(' ')} src={a5} alt="..." />
</span>
<h5 className="fw-normal">Adam <span className="fw-semi-bold">Johns</span></h5>
<p>UI/UX designer</p>
<button className="btn btn-danger btn-sm mb-3">
Send
<i className="fa fa-envelope ml-2" />
</button>
<div>
<ul className={cx(s.profileContacts, 'mt-sm')}>
<li><i className="fa fa-lg fa-phone fa-fw mr-2" /><button className="btn-link"> +375 29 555-55-55</button></li>
<li><i className="fa fa-lg fa-envelope fa-fw mr-2" /><button className="btn-link"> psmith@example.com</button></li>
<li><i className="fa fa-lg fa-map-marker fa-fw mr-2" /><button className="btn-link"> Minsk, Belarus</button></li>
</ul>
</div>
</div>
</Col>
<Col md={7} xs={12}>
<div className="stats-row mt-3">
<div className={[s.profileStat, 'stat-item'].join(' ')}>
<p className={[s.profileStatValue, 'value text-right'].join(' ')}>251</p>
<h6 className="name">Posts</h6>
</div>
<div className={[s.profileStat, 'stat-item'].join(' ')}>
<p className={[s.profileStatValue, 'value text-right'].join(' ')}>9.38%</p>
<h6 className="name">Conversion</h6>
</div>
<div className={[s.profileStat, 'stat-item'].join(' ')}>
<p className={[s.profileStatValue, 'value text-right'].join(' ')}>842</p>
<h6 className="name">Followers</h6>
</div>
</div>
<p>
<span className="badge badge-warning rounded-0"> UI/UX </span>
<span className="badge badge-danger rounded-0 ml-2"> Web Design </span>
<span className="badge badge-default rounded-0 ml-2"> Mobile Apps </span>
</p>
<p className="lead mt-xlg">
My name is Adam Johns and here is my new Sing user profile page.
</p>
<p className="text-muted">
I love reading people's summaries page especially those who are in the same industry as me.
Sometimes it's much easier to find your concentration during the night.
</p>
</Col>
</Row>
</Widget>
</Col>
<Col lg={6} xs={12}>
<section className="activities">
<h2 className="ml-3">Activities</h2>
<section className={s.event}>
<header>
<span className={s.eventAvatar}>
<img className="rounded-circle" src={a5} alt="..." />
</span>
<h5 className={s.eventTitle}><button className="btn-link">Bob Nilson</button> <small><button className="btn-link">@nils</button></small></h5>
<p className={s.eventTimestamp}>February 22, 2014 at 01:59 PM</p>
</header>
<div className={s.eventBody}>
There is no such thing as maturity. There is instead an ever-evolving process of maturing.
Because when there is a maturity, there is ...
</div>
<footer className={s.eventFooter}>
<ul className="post-links">
<li><button className="btn-link">1 hour</button></li>
<li><button className="btn-link"><span className="text-danger"><i className="fa fa-heart" /> Like</span></button></li>
<li><button className="btn-link">Comment</button></li>
</ul>
</footer>
</section>
<section className={s.event}>
<header>
<h5 className={s.eventTitle}><button className="btn-link">Jessica Smith</button> <small>@jess</small></h5>
<p className={s.eventTimestamp}>February 22, 2014 at 01:59 PM</p>
</header>
<div className={s.eventBody}>
Check out this awesome photo I made in Italy last summer. Seems it was lost somewhere deep inside
my brand new HDD 40TB. Thanks god I found it!
</div>
<footer className={s.eventFooter}>
<div className="clearfix">
<ul className="post-links mt-sm pull-left">
<li><button className="btn-link">1 hour</button></li>
<li><button className="btn-link"><span className="text-danger"><i className="fa fa-heart-o" /> Like</span></button></li>
<li><button className="btn-link">Comment</button></li>
</ul>
<span className="thumb thumb-sm pull-right">
<button className="btn-link">
<img className="rounded-circle" alt="..." src={a1} />
</button>
</span>
<span className="thumb thumb-sm pull-right">
<button className="btn-link"><img className="rounded-circle" alt="..." src={a5} /></button>
</span>
<span className="thumb thumb-sm pull-right">
<button className="btn-link"><img className="rounded-circle" alt="..." src={a3} /></button>
</span>
</div>
<ul className="post-comments mt-sm">
<li>
<span className="thumb-xs avatar pull-left mr-sm">
<img className="rounded-circle" src={a1} alt="..." />
</span>
<div className="comment-body">
<h6 className="author fs-sm fw-semi-bold">Ignacio Abad <small>6 mins ago</small></h6>
<p>Hey, have you heard anything about that?</p>
</div>
</li>
<li>
<span className="thumb-xs avatar pull-left mr-sm">
<img className="rounded-circle" src={avatar} alt="..." />
</span>
<div className="comment-body">
<input className="form-control form-control-sm" type="text" placeholder="Write your comment..." />
</div>
</li>
</ul>
</footer>
</section>
<Form className="mt" action="#">
<FormGroup className="mb-2">
<Label className="sr-only" for="new-event">New event</Label>
<Input type="textarea" id="new-event" placeholder="Post something..." rows="3" />
</FormGroup>
<div className="btn-toolbar">
<div className="btn-group">
<button className="btn btn-sm btn-default">
<i className="fa fa-camera fa-lg" />
</button>
<button className="btn btn-sm btn-default">
<i className="fa fa-map-marker fa-lg" />
</button>
</div>
<button type="submit" className="btn btn-danger btn-sm ml-auto">Post</button>
</div>
</Form>
</section>
</Col>
</Row>
</div>
);
export default Profile;