diff --git a/components/Backpack.vue b/components/Backpack.vue
new file mode 100644
index 0000000..94a7c1a
--- /dev/null
+++ b/components/Backpack.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/FlagFigure.vue b/components/FlagFigure.vue
index a8aa1dc..17a1b05 100644
--- a/components/FlagFigure.vue
+++ b/components/FlagFigure.vue
@@ -22,9 +22,11 @@
class="flag"
v-show="isHalfRaised"
/>
+
+
@@ -32,6 +34,8 @@
import Flag from './Flag.vue'
import Pole from './Pole'
import Wreath from './Wreath'
+import Backpack from "@/components/Backpack";
+import GraduationHat from "@/components/GraduationHat";
const raisedState = 'Raised'
const halfRaisedState = 'HalfRaised'
@@ -39,6 +43,8 @@ const halfRaisedState = 'HalfRaised'
export default {
name: 'FlagFigure',
components: {
+ GraduationHat,
+ Backpack,
Wreath,
Flag,
Pole
diff --git a/components/GraduationHat.vue b/components/GraduationHat.vue
new file mode 100644
index 0000000..621e1d6
--- /dev/null
+++ b/components/GraduationHat.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/functions/date.js b/functions/date.js
index a5a95dc..d05175a 100644
--- a/functions/date.js
+++ b/functions/date.js
@@ -25,6 +25,7 @@ export async function handler(event) {
if (event.httpMethod !== 'GET') {
return response.methodNotAllowed
}
+ return response.fallback
const date = new Date()
if (helpers.sundown(date)) {
diff --git a/functions/date/helpers.js b/functions/date/helpers.js
index 2d5f04b..ea845d5 100644
--- a/functions/date/helpers.js
+++ b/functions/date/helpers.js
@@ -5,7 +5,8 @@ const loadConfig = (envData) => {
}
if (env.apiKey === undefined || env.projectId === undefined) {
- return require('./firebaseConfig')
+ const configFile = require('./firebaseConfig')
+ return configFile.config
}
return env