FIX: some fixes for rollout
schooling link, small issues with burger menu
This commit is contained in:
parent
65ebc71431
commit
d24115c865
7 changed files with 25 additions and 12 deletions
|
@ -42,7 +42,7 @@
|
||||||
--color-white: #ecf0f1;
|
--color-white: #ecf0f1;
|
||||||
--color-white-transparent: rgba(236, 240, 241, 0.7);
|
--color-white-transparent: rgba(236, 240, 241, 0.7);
|
||||||
|
|
||||||
--color-black: #2a2723;
|
--color-black: rgb(42, 39, 35);
|
||||||
--color-black-transparent: #2a2723aa;
|
--color-black-transparent: #2a2723aa;
|
||||||
|
|
||||||
--color-orange: #ff9100;
|
--color-orange: #ff9100;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.Intro {
|
.Intro {
|
||||||
background-image: radial-gradient(circle at -50vw -50vh, rgba(255,145,0,0.2) 0%, rgba(0,0,0,0) 63%, rgba(0,0,0,0) 100%);
|
background-image: radial-gradient(circle at -50vw -50vh, rgba(255,145,0,0.2) 0%, var(--color-black) 63%, var(--color-black) 100%);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
|
|
|
@ -122,7 +122,7 @@ const oneOff : Service[] = [
|
||||||
smallClaim: 'Wenn man\'s selber können muss.',
|
smallClaim: 'Wenn man\'s selber können muss.',
|
||||||
icon: 'ph:graduation-cap-thin',
|
icon: 'ph:graduation-cap-thin',
|
||||||
button: 'Frag nach!',
|
button: 'Frag nach!',
|
||||||
link: 'https://tidycal.com/webfussel/project-booking',
|
link: 'https://tidycal.com/webfussel/teaching',
|
||||||
list: [
|
list: [
|
||||||
'Schulungsinhalte klären',
|
'Schulungsinhalte klären',
|
||||||
'Team-Workshops',
|
'Team-Workshops',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="Burger" :class="{ open }">
|
<div class="Burger" :class="{ open }">
|
||||||
<nav class="z-4" ref="nav">
|
<nav class="z-4" ref="navElement">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="({label, to, aria, icon}) in navigation" :key="label">
|
<li v-for="({label, to, aria, icon}) in navigation" :key="label">
|
||||||
<NuxtLink :to="to" :aria-label="aria" active-class="active" class="inline-flex-row big-gap" @click="close">
|
<NuxtLink :to="to" :aria-label="aria" active-class="active" class="inline-flex-row big-gap" @click="close">
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { navigation } from '../utils/navigation'
|
import { navigation } from '../utils/navigation'
|
||||||
|
|
||||||
const navElement = useTemplateRef('nav')
|
const navElement = useTemplateRef('navElement')
|
||||||
|
|
||||||
const nav = useNavigation()
|
const nav = useNavigation()
|
||||||
const close = () => nav.hideNavigation()
|
const close = () => nav.hideNavigation()
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
import { navigation } from '../utils/navigation'
|
import { navigation } from '../utils/navigation'
|
||||||
|
|
||||||
let observer: IntersectionObserver
|
let observer: IntersectionObserver
|
||||||
const header = ref<HTMLElement | null>(null)
|
const header = useTemplateRef('header')
|
||||||
const headerWrapper = ref<HTMLElement | null>(null)
|
const headerWrapper = useTemplateRef('headerWrapper')
|
||||||
const stickyWatch = ref<HTMLElement | null>(null)
|
const stickyWatch = useTemplateRef('stickyWatch')
|
||||||
|
|
||||||
const nav = useNavigation()
|
const nav = useNavigation()
|
||||||
const burgerOpenLabel = 'Burgermenü öffnen'
|
const burgerOpenLabel = 'Burgermenü öffnen'
|
||||||
|
|
|
@ -5,3 +5,12 @@
|
||||||
<SkillsEasy />
|
<SkillsEasy />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
useHead({
|
||||||
|
link: [
|
||||||
|
{ rel: 'preload', as: 'image', href: '/img/profile_big.webp', type: 'image/webp' },
|
||||||
|
{ rel: 'preload', as: 'image', href: '/img/profile_small.webp', type: 'image/webp' },
|
||||||
|
],
|
||||||
|
})
|
||||||
|
</script>
|
|
@ -9,6 +9,10 @@ export default defineNuxtConfig({
|
||||||
routes: [
|
routes: [
|
||||||
'/',
|
'/',
|
||||||
'/imp',
|
'/imp',
|
||||||
|
'/booking',
|
||||||
|
'/flatrate',
|
||||||
|
'/references',
|
||||||
|
'/contact',
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -39,6 +43,10 @@ export default defineNuxtConfig({
|
||||||
routeRules: {
|
routeRules: {
|
||||||
'/': { prerender: true },
|
'/': { prerender: true },
|
||||||
'/imp': { prerender: true },
|
'/imp': { prerender: true },
|
||||||
|
'/booking': { prerender: true },
|
||||||
|
'/flatrate': { prerender: true },
|
||||||
|
'/references': { prerender: true },
|
||||||
|
'/contact': { prerender: true },
|
||||||
},
|
},
|
||||||
|
|
||||||
app: {
|
app: {
|
||||||
|
@ -48,10 +56,6 @@ export default defineNuxtConfig({
|
||||||
},
|
},
|
||||||
head: {
|
head: {
|
||||||
htmlAttrs: { lang: 'de' },
|
htmlAttrs: { lang: 'de' },
|
||||||
link: [
|
|
||||||
{ rel: 'preload', as: 'image', href: '/img/profile_big.webp', type: 'image/webp' },
|
|
||||||
{ rel: 'preload', as: 'image', href: '/img/profile_small.webp', type: 'image/webp' },
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue