Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
feat: dashbaord followers
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaOak committed Dec 17, 2019
1 parent a75faa2 commit 3a20f8c
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 25 deletions.
30 changes: 20 additions & 10 deletions src/components/info-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,26 @@ class infoCard extends LitElement {
return html`
<div class="box info">
<div class="content info-card">
<h3>
<strong>USER DASHBOARD</strong>
</h3>
<p>
Welcome to your dashboard. From here, you can access different sections of the OAE.
</p>
<hr class="navbar-divider" />
<a>
Open Link
</a>
<nav class="level news-feed-top">
<div class="level-left">
<div class="level-item">
<div class="column is-flex news-feed-nav">
<figure class="image avatar-news-feed">
<img class="is-rounded avatar-news-feed" src="/images/avatar.jpg" />
</figure>
<section class=infoBox-followers">
<h4>
<a class="feed-user">Michael Brown</a>
</h4>
<p>
Following since October 2019
</p>
</section>
</div>
</div>
</div>
</hr>
</nav>
</div>
</div>
`;
Expand Down
17 changes: 5 additions & 12 deletions style/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,10 @@ body {
font-size: 1em;
}

h2 {
color: green;
text-decoration-style: dotted;
text-decoration: underline;
font-size: 3rem;
}

.hero-body {
margin: 0;
padding: 0;
background-color: #FAFAFA;
background-color: #fafafa;
}

.container.is-fluid {
Expand Down Expand Up @@ -135,7 +128,7 @@ h2 {

.column.is-narrow {
background-color: white;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
z-index: 1;
width: 210px;
padding: 0;
Expand Down Expand Up @@ -263,9 +256,9 @@ a.network {
}

.activity-dashboard h3 {
color: black;
font-weight: bold;
font-size: 14px;
color: #212121;
font-weight: 600;
font-size: 16px;
}

.main-left {
Expand Down
21 changes: 18 additions & 3 deletions style/info-box.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
// Cards
.box {
margin: 0;
margin: 0;
}

.info-card p {
margin-top: 10px;
* {
font-size: 13px;
}

.avatar-news-feed img {
height: 100%;
object-fit: cover;
}

.avatar-news-feed {
width: 50px;
height: 50px;
margin-right: 15px;
}

.info-box p {
color: #BDBDBD;
}
1 change: 1 addition & 0 deletions style/news-feed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@

.icon-feed {
color: #0060df;
margin-left: 5px;
}

.news-pin {
Expand Down

1 comment on commit 3a20f8c

@datreeio
Copy link

@datreeio datreeio bot commented on 3a20f8c Dec 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Rules (6 / 6) Passed

👑 Good job! this pull request is aligned with your organization's best practices!

👉 You can review your rules settings at smart policy management 👈

👉 click here to view a full list of the events 👈

Please sign in to comment.