Skip to content

Commit

Permalink
Merge pull request #156 from richardjanssen/develop
Browse files Browse the repository at this point in the history
Add some icons
  • Loading branch information
richardjanssen authored Jan 30, 2024
2 parents 4922619 + aec9795 commit e0bef3e
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/app/core/components/icon/icon.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
&.primary-500 {
fill: $primary-500;
}

&.primary-400 {
fill: $primary-400;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ <h2 class="title">{{ highlight.title }}</h2>
<div class="attributes">
<div class="attribute">
<bs-icon class="bs-icon" name="calendar-week"></bs-icon>
<i>{{ highlight.date | date: 'dd-MM-yyyy' }}</i>
<i>{{ highlight.date | date : 'dd-MM-yyyy' }}</i>
</div>
<div class="attribute">
<bs-icon class="bs-icon" name="clock"></bs-icon>
<i>{{ highlight.date | date: 'HH:mm z' }}</i>
<i>{{ highlight.date | date : 'HH:mm z' }}</i>
</div>
<div class="attribute" *ngIf="highlight.distance">
<bs-icon class="bs-icon" name="ruler"></bs-icon>
<i>{{ highlight.distance | distance }}</i>
</div>
<div *ngIf="!highlight.isManual" class="attribute">
<bs-icon class="bs-icon" name="robot"></bs-icon>
<i>Automatische update</i>
<bs-icon class="bs-icon" name="pin-map-fill"></bs-icon>
<i>Gps update</i>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ <h2 class="title">{{ highlight.title }}</h2>
</div>
<div class="attribute" *ngIf="highlight.firstEntered">
<bs-icon class="bs-icon" name="box-arrow-in-right" iconColor="primary-700"></bs-icon>
<i>{{ highlight.firstEntered | date: 'dd-MM-yyyy' }}</i>
<i>{{ highlight.firstEntered | date : 'dd-MM-yyyy' }}</i>
</div>
</div>
</div>
<div class="icon-container">
<icon name="icon-dots" class="icon" iconColor="primary-500"></icon>
<icon name="wilderness-trees" class="icon" iconColor="primary-400"></icon>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
min-height: 80px;
width: 80px;
height: 80px;
padding: $padding;
padding: $paddingSm;
margin-left: auto;
margin-right: auto;

Expand Down
4 changes: 4 additions & 0 deletions src/assets/icons/bootstrap/pin-map-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/assets/icons/wilderness-trees.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e0bef3e

Please sign in to comment.