From 90529555c11dfb79bba264515f10172b8fa7aa92 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 13 Dec 2022 09:30:42 +0100 Subject: feat: Small changes to frontpage --- code/api/src/Services/VaultService.cs | 2 +- code/frontpage/assets/js/mermaid.js | 2 +- code/frontpage/config/_default/menus/menus.en.toml | 5 ----- code/frontpage/config/_default/params.toml | 2 +- code/frontpage/layouts/index.html | 16 ++++++++++------ .../layouts/partials/head/resource-hints.html | 7 ++----- code/frontpage/layouts/partials/header/header.html | 18 ++++++++---------- 7 files changed, 23 insertions(+), 29 deletions(-) diff --git a/code/api/src/Services/VaultService.cs b/code/api/src/Services/VaultService.cs index 3745096..14fb3fb 100644 --- a/code/api/src/Services/VaultService.cs +++ b/code/api/src/Services/VaultService.cs @@ -71,10 +71,10 @@ public class VaultService DB_PORT = "5432", DB_NAME = "greatoffice_ivar_dev", DB_PASSWORD = "ivar123", + DB_USER = "postgres", CANONICAL_FRONTEND_URL = "http://localhost:5173", CANONICAL_BACKEND_URL = "http://localhost:5000", POSTMARK_TOKEN = "b530c311-45c7-43e5-aa48-f2c992886e51", - DB_USER = "postgres", QUARTZ_DB_HOST = "localhost", QUARTZ_DB_PORT = "5432", QUARTZ_DB_NAME = "greatoffice_quartz_ivar_dev", diff --git a/code/frontpage/assets/js/mermaid.js b/code/frontpage/assets/js/mermaid.js index b214d5f..98d67e1 100644 --- a/code/frontpage/assets/js/mermaid.js +++ b/code/frontpage/assets/js/mermaid.js @@ -2,7 +2,7 @@ import mermaid from 'mermaid'; var config = { theme: 'default', - fontFamily: '"Jost", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";', + fontFamily: '-apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";', }; document.addEventListener('DOMContentLoaded', () => { diff --git a/code/frontpage/config/_default/menus/menus.en.toml b/code/frontpage/config/_default/menus/menus.en.toml index 467bcdb..59e8fbb 100644 --- a/code/frontpage/config/_default/menus/menus.en.toml +++ b/code/frontpage/config/_default/menus/menus.en.toml @@ -3,11 +3,6 @@ url = "/docs/" weight = 10 -[[main]] - name = "Blog" - url = "/blog/" - weight = 20 - [[main]] name = "Contact" url = "/contact/" diff --git a/code/frontpage/config/_default/params.toml b/code/frontpage/config/_default/params.toml index 4e4f045..476fe7e 100644 --- a/code/frontpage/config/_default/params.toml +++ b/code/frontpage/config/_default/params.toml @@ -4,7 +4,7 @@ title = "Greatoffice" titleSeparator = "-" titleAddition = "Great" -description = "Greatoffice is a set of useful tools you can use to manage your business." +description = "Greatoffice is a set of tools you can use to manage your business." ## Documentation # docsVersion = "0.3" diff --git a/code/frontpage/layouts/index.html b/code/frontpage/layouts/index.html index 62abf7f..ca44125 100644 --- a/code/frontpage/layouts/index.html +++ b/code/frontpage/layouts/index.html @@ -1,14 +1,18 @@ {{ define "main" }}
-
-
+
+

{{ .Title }}

-
+

{{ .Params.lead | safeHTML }}

GPLv3 Licensed. - License file + License + + - + + Source

@@ -20,7 +24,7 @@ {{ if eq $.Site.Language.LanguageName "English" }}
-
+

Projects

Manage your projects with time tracking, planning and ecomnomics all built-in.

@@ -55,7 +59,7 @@ {{ define "sidebar-footer" }}
-
+
{{- .Content -}}
diff --git a/code/frontpage/layouts/partials/head/resource-hints.html b/code/frontpage/layouts/partials/head/resource-hints.html index 73bccd9..6ebcdeb 100644 --- a/code/frontpage/layouts/partials/head/resource-hints.html +++ b/code/frontpage/layouts/partials/head/resource-hints.html @@ -1,7 +1,4 @@ - - - {{ if .Site.Params.options.kaTex -}} - - + + {{ end -}} \ No newline at end of file diff --git a/code/frontpage/layouts/partials/header/header.html b/code/frontpage/layouts/partials/header/header.html index b835635..7869784 100644 --- a/code/frontpage/layouts/partials/header/header.html +++ b/code/frontpage/layouts/partials/header/header.html @@ -6,7 +6,7 @@
{{ end -}} -