- )}
- {/* MAP / METEO */}
+
- {/* LAST ACTIVITIES */}
-
({
+ [theme.breakpoints.only('sm')]: {
+ flexBasis: '40%',
+ },
+ })}
>
-
- Dernières activités
-
- {activities.slice(0, 3).map((activity, index) => {
- const ActivityIcon = icons[activity.type] || null;
- return (
-
- {activity.type !== ActivityType.GAME && (
- <>
-
-
{DESC[activity.type]},
- le {toDate(activity.createDate as string)}
- {ActivityIcon && (
-
- )}
-
-
-
-
-
- >
- )}
+ {weather !== null && (
+
+
+ {activityUser.city}
- );
- })}
-
- {/* LAST ACTIVITIES */}
- >
+ {localTime}
+ {weather && (
+ <>
+
+ {weather.temperature}°C
+ >
+ )}
+
+ )}
+
+
+
);
};