add new home layout

This commit is contained in:
Nuno Coração
2022-10-16 17:25:13 +01:00
parent ac1a2126a1
commit e891c8b68d
12 changed files with 107 additions and 31 deletions

View File

@@ -1,6 +1,5 @@
var layouts = [
"background",
"hero",
"profile",
"card",
@@ -11,8 +10,6 @@ var currentLayout = 0
function switchHomeLayout() {
//document.getElementById(
var old = currentLayout
currentLayout = currentLayout == layouts.length - 1 ? 0 : currentLayout + 1