aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/sections/settingsSection.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/ui/sections/settingsSection.js')
-rw-r--r--src/js/ui/sections/settingsSection.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/js/ui/sections/settingsSection.js b/src/js/ui/sections/settingsSection.js
index e2e2fe3..8d8be0f 100644
--- a/src/js/ui/sections/settingsSection.js
+++ b/src/js/ui/sections/settingsSection.js
@@ -14,18 +14,20 @@ debugLog(settings);
export function settingsSection()
{
+ var whereAmI = {
+ element: "div",
+ className:"where-am-i",
+ innerHTML:[
+ {element: "img", src:"./img/logo.png", onclick: "menusel({id:'#/welcome-section'})"},
+ {element: "span", innerText:">"},
+ {element: "h2", innerText:"🔧 Settings"}
+ ]
+ };
var settingsSection = {
element: 'div',
id: "settings-section",
innerHTML: [
- {element: "div",
- className:"where-am-i",
- innerHTML:[
- {element: "img", src:"./img/logo.png", onclick: "menusel({id:'#/welcome-section'})"},
- {element: "span", innerText:">"},
- {element: "h2", innerText:"🔧 Settings"}
- ]
- }
+ whereAmI
]
};