nex session

This commit is contained in:
2023-07-16 11:50:53 +00:00
parent bfa53f6b95
commit 8128f4f641
13 changed files with 318 additions and 56 deletions

View File

@@ -2,8 +2,10 @@
import { navigate } from "svelte-routing/src/history"
import { navigation, pages, rerender } from "../store"
let nextpage = $navigation?.pages[0]
$: nextpage = $navigation?.pages[0]
function getNextPage(pages) {
if (location.pathname == "/") return
if (location.pathname == "/" || location.pathname == "") return
let currPage = pages.find(
(page) => Object.values($pages)?.find((o) => o.id == page.page)?.path == location.pathname
)
@@ -48,7 +50,8 @@
</div>
<div class="contact">
<button>0711 644 700-0</button>
<button>info@fontis.de</button>
<button> <a href="mailto:info@fontis.de" class="button"> info@fontis.de</a></button>
</div>
</div>
</div>
@@ -100,6 +103,10 @@
}
button {
color: @font-color-secondary;
a {
color: @font-color-secondary;
font-weight: normal;
}
}
@media @tablet {
padding: 80px 40px;