diff --git a/ui-display/frontend-app/src/App.js b/ui-display/frontend-app/src/App.js
index 2103f63..19102cf 100644
--- a/ui-display/frontend-app/src/App.js
+++ b/ui-display/frontend-app/src/App.js
@@ -37,18 +37,18 @@ function App() {
-
+
Joke of the day:
-
+
-
+
What's a bee's favourite novel?
-
+
-
+
The Great Gats-bee!
-
+
diff --git a/ui-display/frontend-app/src/components/widgets/SuggestedActivityWidget.js b/ui-display/frontend-app/src/components/widgets/SuggestedActivityWidget.js
index 87e19c2..fc2938f 100644
--- a/ui-display/frontend-app/src/components/widgets/SuggestedActivityWidget.js
+++ b/ui-display/frontend-app/src/components/widgets/SuggestedActivityWidget.js
@@ -20,7 +20,7 @@ const weatherConditionText = {
const Activities = ({ currentCondition }) => {
// hard code this value for now
if (!currentCondition) {
- currentCondition = 'Clouds';
+ currentCondition = 'Clear';
}
// Get the corresponding activity based on the weatherCondition
const activity = weatherActivities[currentCondition] || 'movie';
diff --git a/ui-display/frontend-app/src/components/widgets/WeatherWidget.js b/ui-display/frontend-app/src/components/widgets/WeatherWidget.js
index af22bac..230dc5a 100644
--- a/ui-display/frontend-app/src/components/widgets/WeatherWidget.js
+++ b/ui-display/frontend-app/src/components/widgets/WeatherWidget.js
@@ -10,7 +10,7 @@ class WeatherWidget extends Component {
componentDidMount() {
this.fetchWeatherCondition();
- this.refreshInterval = setInterval(this.fetchWeatherCondition, 3600000);
+ this.refreshInterval = setInterval(this.fetchWeatherCondition, 10000);
}
componentWillUnmount() {
@@ -19,7 +19,7 @@ class WeatherWidget extends Component {
fetchWeatherCondition = () => {
const apiKey = 'e032a9d4b172cf16a8f75efac7a4470c';
- const stLuciaLat = 27.5021;
+ const stLuciaLat = -27.5021;
const stLuciaLon = 152.9968;
const apiUrl = `https://api.openweathermap.org/data/2.5/weather?lat=${stLuciaLat}&lon=${stLuciaLon}&appid=${apiKey}&units=metric`;