c9911cc262
New standalone apps/website (Nuxt 4) serving the public marketing site at dezky.local / www.dezky.local. The customer portal moves off the root domain to app.dezky.local only. Landing page ported from the Dezky design handoff: light theme, Danish default, hero variant A, with a working da/en toggle. Self-contained colour system threaded through components (utils/landingTokens.ts), full bilingual copy (utils/landingCopy.ts), and shared state (composables/useLanding.ts). Sections live under components/landing/* with the Node logo under components/brand/*. Wired into docker-compose (website service, volume, Traefik labels, network aliases) and bootstrap.sh (hosts list + service URLs).
29 lines
914 B
Vue
29 lines
914 B
Vue
<script setup lang="ts">
|
|
// Monospace "NN — label" section header with an underline. Ported from
|
|
// landing-sections.jsx SectionLabel. Pass the full "01 — udfordringen" string.
|
|
import { useTheme } from '~/composables/useLanding'
|
|
|
|
const props = defineProps<{ label: string }>()
|
|
const t = useTheme()
|
|
|
|
const parts = computed(() => {
|
|
const [index, ...rest] = props.label.split(' — ')
|
|
return { index, text: rest.join(' — ') }
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div :style="{
|
|
display: 'flex', alignItems: 'center', gap: '14px',
|
|
paddingBottom: '24px', marginBottom: '56px',
|
|
borderBottom: `1px solid ${t.border}`,
|
|
fontFamily: '\'JetBrains Mono\', monospace',
|
|
fontSize: '11px', letterSpacing: '0.16em', textTransform: 'uppercase',
|
|
color: t.fgMuted,
|
|
}">
|
|
<span :style="{ color: t.fgDim }">{{ parts.index }}</span>
|
|
<span>—</span>
|
|
<span>{{ parts.text }}</span>
|
|
</div>
|
|
</template>
|