mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
updates to handle more than one weather widget
This commit is contained in:
parent
dc6b172df9
commit
7b6cbb4ee1
4 changed files with 50 additions and 28 deletions
|
@ -1,9 +1,10 @@
|
|||
import Weather from "components/widgets/weather/weather";
|
||||
import WeatherApi from "components/widgets/weather/weather";
|
||||
import OpenWeatherMap from "components/widgets/openweathermap/weather";
|
||||
import Resources from "components/widgets/resources/resources";
|
||||
|
||||
const widgetMappings = {
|
||||
weather: Weather,
|
||||
weather: WeatherApi, // This key will be deprecated in the future
|
||||
weatherapi: WeatherApi,
|
||||
openweathermap: OpenWeatherMap,
|
||||
resources: Resources,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue