Add a badge on locations for new photos
- The last updated date is taken from the latest photo of each location (without any other API call, just some data manipulation) - Manipulation of data in the preload request instead of the code
This commit is contained in:
@@ -35,18 +35,29 @@
|
||||
font-size: rem(48px);
|
||||
}
|
||||
}
|
||||
.mask-city {
|
||||
height: 40px;
|
||||
margin: 24px 0 16px;
|
||||
|
||||
@include breakpoint (md) {
|
||||
height: 64px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
// Masks
|
||||
.mask-city {
|
||||
height: 40px;
|
||||
margin: 16px 0 12px;
|
||||
|
||||
@include breakpoint (md) {
|
||||
height: 64px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
.mask-country {
|
||||
height: 16px;
|
||||
}
|
||||
.mask-country {
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
// Badge
|
||||
.badge {
|
||||
margin-top: 16px;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
// Hover
|
||||
&:hover {
|
||||
|
||||
Reference in New Issue
Block a user