Added achievement data
This commit is contained in:
@@ -551,6 +551,14 @@ export default defineComponent({
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.flight-map-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 7/10;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.map-container {
|
.map-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
|
|||||||
@@ -118,4 +118,29 @@ function navigateTo(view: ProfileView) {
|
|||||||
.view-btn-label {
|
.view-btn-label {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ── Mobile: 2×2 grid ── */
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.view-toolbar {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-btn {
|
||||||
|
border-right: 1px solid rgba(255,193,7,0.15);
|
||||||
|
border-bottom: 1px solid rgba(255,193,7,0.15);
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove right border on even buttons (right column) */
|
||||||
|
.view-btn:nth-child(2n) {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove bottom border on last row */
|
||||||
|
.view-btn:nth-last-child(-n+2) {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ async function dismissToast(notification: Notification) {
|
|||||||
await axios.patch(`/notifications/${notification.id}/read`)
|
await axios.patch(`/notifications/${notification.id}/read`)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(page.achievement_notifications)
|
|
||||||
watch(
|
watch(
|
||||||
() => page.achievement_notifications,
|
() => page.achievement_notifications,
|
||||||
handleNewNotifications,
|
handleNewNotifications,
|
||||||
|
|||||||
Reference in New Issue
Block a user