Skip to content

Commit

Permalink
text and icon change for saved page on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
yzlucas committed Nov 1, 2024
1 parent 94326ad commit 46c0e19
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div [class]="isMobileView() ? '' : 'desktop-container'">
<div class="section">
<div class="section-header-row">
<span class="section-header">Saved Locations</span>
<span class="section-header">Saved Locations & Notifications</span>
<span class="section-button" (click)="addNewLocation()" *ngIf="savedLocations?.length < 3">
<img alt="icon" src="/assets/images/svg-icons/Type.svg" class="button-icon">
Add new
Expand All @@ -15,7 +15,7 @@
<div class="section-card" *ngIf="!savedLocations.length" (click)="addNewLocation()">
<div class="add-location-content">
<img alt="icon" class="location-icon" src="/assets/images/svg-icons/carbon_location.svg">
<span>Add a saved location</span>
<span>Add a saved location to receive notifications</span>
</div>
</div>
<div *ngIf="savedLocations.length">
Expand Down Expand Up @@ -113,7 +113,8 @@
</div>
<div class="section-card-wildfires" *ngIf="!wildFireWatchlist.length">
<div class="saved-wildfires-content">
<span>You haven't saved any Wildfires yet</span>
<img alt="icon" class="location-icon" src="/assets/images/svg-icons/saved-blue-border.svg">
<span>Save a wildfire on the map to easily find here later</span>
</div>
</div>
<div *ngIf="wildFireWatchlist.length" class="saved-wildfires">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
font-style: normal;
font-weight: 500;
line-height: normal;
min-width: 100px;
}

.section-card {
Expand All @@ -68,7 +69,8 @@
justify-content: center;

.add-location-content {
padding: 72px 0;
padding: 72px 26px;
display: flex;

span {
padding-left: 9px;
Expand All @@ -87,8 +89,9 @@
}

.saved-wildfires-content {
padding: 72px 0;

padding: 72px 26px;
display: flex;

span {
padding-left: 9px;
color: var(--Gray-1, #242424);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,9 @@ import { IconGallery, IconItem, Meta, Title } from '@storybook/blocks';
</IconItem>
<IconItem name="saved">
<img src="assets\images\svg-icons\saved.svg" />
</IconItem>
<IconItem name="saved-blue-border">
<img src="assets\images\svg-icons\saved-blue-border.svg" />
</IconItem>
<IconItem name="search">
<img src="assets\images\svg-icons\search.svg" />
Expand Down

0 comments on commit 46c0e19

Please sign in to comment.