Skip to content

Commit 4b16ff1

Browse files
committed
Update routing. Add profile view
1 parent df834e3 commit 4b16ff1

File tree

2 files changed

+69
-4
lines changed

2 files changed

+69
-4
lines changed
Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,68 @@
1-
<p>
2-
profile works!
3-
</p>
1+
<main class="profile-page">
2+
<section class="section-profile-cover section-shaped my-0">
3+
<div class="shape shape-style-1 shape-primary shape-skew alpha-4">
4+
<span></span>
5+
<span></span>
6+
<span></span>
7+
<span></span>
8+
<span></span>
9+
<span></span>
10+
<span></span>
11+
</div>
12+
</section>
13+
<section class="section section-skew">
14+
<div class="container">
15+
<div class="card card-profile shadow mt--300">
16+
<div class="px-4">
17+
<div class="row justify-content-center">
18+
<div class="col-lg-3 order-lg-2">
19+
<div class="card-profile-image">
20+
<a href="#">
21+
<img src="../assets/img/theme/team-4-800x800.jpg" class="rounded-circle">
22+
</a>
23+
</div>
24+
</div>
25+
<div class="col-lg-4 order-lg-3 text-lg-right align-self-lg-center">
26+
<div class="card-profile-actions py-4 mt-lg-0">
27+
<a href="#" class="btn btn-sm btn-info mr-4">Connect</a>
28+
<a href="#" class="btn btn-sm btn-default float-right">Message</a>
29+
</div>
30+
</div>
31+
<div class="col-lg-4 order-lg-1">
32+
<div class="card-profile-stats d-flex justify-content-center">
33+
<div>
34+
<span class="heading">22</span>
35+
<span class="description">Friends</span>
36+
</div>
37+
<div>
38+
<span class="heading">10</span>
39+
<span class="description">Photos</span>
40+
</div>
41+
<div>
42+
<span class="heading">89</span>
43+
<span class="description">Comments</span>
44+
</div>
45+
</div>
46+
</div>
47+
</div>
48+
<div class="text-center mt-5">
49+
<h3>Jessica Jones
50+
<span class="font-weight-light">, 27</span>
51+
</h3>
52+
<div class="h6 font-weight-300"><i class="ni location_pin mr-2"></i>Bucharest, Romania</div>
53+
<div class="h6 mt-4"><i class="ni business_briefcase-24 mr-2"></i>Solution Manager - Creative Tim Officer</div>
54+
<div><i class="ni education_hat mr-2"></i>University of Computer Science</div>
55+
</div>
56+
<div class="mt-5 py-5 border-top text-center">
57+
<div class="row justify-content-center">
58+
<div class="col-lg-9">
59+
<p>An artist of considerable range, Ryan — the name taken by Melbourne-raised, Brooklyn-based Nick Murphy — writes, performs and records all of his own music, giving it a warm, intimate feel with a solid groove structure. An artist of considerable range.</p>
60+
<a href="#">Show more</a>
61+
</div>
62+
</div>
63+
</div>
64+
</div>
65+
</div>
66+
</div>
67+
</section>
68+
</main>

src/app/app.routing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const routes: Routes = [
4545
},
4646
{
4747
path: '',
48-
redirectTo: 'access/login',
48+
redirectTo: 'main/home',
4949
pathMatch: 'full'
5050
}
5151
];

0 commit comments

Comments
 (0)