diff --git a/src/themes/vikunja/layouts/home/index.html b/src/themes/vikunja/layouts/home/index.html deleted file mode 100644 index 550ab24..0000000 --- a/src/themes/vikunja/layouts/home/index.html +++ /dev/null @@ -1,36 +0,0 @@ -{{ partial "header.html" . }} - - - - - {{ partial "navbar.html" . }} - - - - - {{ .Content }} - - - - - - - - - - - - - {{ range $index, $element := .Data.Pages }} - {{ if eq .Section "features" }} - - {{ .Content }} - - {{ end }} - {{ end }} - - - - - -{{ partial "footer.html" . }} diff --git a/src/themes/vikunja/layouts/home/single.html b/src/themes/vikunja/layouts/home/single.html index 550ab24..c381406 100644 --- a/src/themes/vikunja/layouts/home/single.html +++ b/src/themes/vikunja/layouts/home/single.html @@ -1,6 +1,6 @@ {{ partial "header.html" . }} - + {{ partial "navbar.html" . }} @@ -11,26 +11,6 @@ {{ .Content }} - - - - - - - - - - - {{ range $index, $element := .Data.Pages }} - {{ if eq .Section "features" }} - - {{ .Content }} - - {{ end }} - {{ end }} - - - {{ partial "footer.html" . }} diff --git a/src/themes/vikunja/src/main.scss b/src/themes/vikunja/src/main.scss index 2c63e4a..9d202d8 100644 --- a/src/themes/vikunja/src/main.scss +++ b/src/themes/vikunja/src/main.scss @@ -6,12 +6,15 @@ @import "../node_modules/bulma/bulma"; @import '../node_modules/bulmaswatch/materia/overrides'; - .homepage-hero{ height: 100vh; min-height: 700px; overflow: hidden; + background: url('../images/bg.jpg') no-repeat center; + -webkit-background-size: cover; + background-size: cover; + .hero-body .container{ padding: 3em 0 1em; @@ -63,6 +66,10 @@ } } +.footer { + padding: 1.5rem 1rem; +} + // Mobile Styles .navbar-background{ diff --git a/src/themes/vikunja/static/images/bg.jpg b/src/themes/vikunja/static/images/bg.jpg new file mode 100644 index 0000000..6bd060b Binary files /dev/null and b/src/themes/vikunja/static/images/bg.jpg differ