API reference
Landing
Content, SEO, consent and shared state of the landing pages.
The Landing section explains how a landing is built from content.
useLandingContent()
Picks the content module of the current language, with a fallback, and points its links at the demo and the docs when NUXT_PUBLIC_DEMO_URL or NUXT_PUBLIC_DOCS_URL is set.
useLandingContent(modules: Record<string, LandingPageContent>, fallback: LandingPageContent): { content: any; }Returns
contentuseLandingSeo()
Sets the title, description, Open Graph and structured data of a landing.
useLandingSeo(seo: MaybeRefOrGetter<LandingSeo>): void
useLandingIntent()
The intent picked in the hero, shared with the estimator and the portfolio.
useLandingIntent(): { intent: any; setIntent: (value: string) => void; }Returns
intentsetIntentuseLandingTeamSize()
The team size of the pricing seats slider.
useLandingTeamSize(): { teamSize: any; setTeamSize: (value: number) => void; }Returns
teamSizesetTeamSizeuseCookieConsent()
Reads and saves cookie consent: hasConsent(id), hasDecided, openPreferences()…
useCookieConsent(setup?: CookieConsentConfig): { consent: any; config: any; hasDecided: any; canCustomize: any; hasConsent: (id: string) => boolean; save: (categories: Record<string, boolean>) => void; isPreferencesOpen: any; …Returns
consentconfighasDecidedcanCustomizehasConsentsaveisPreferencesOpenopenPreferencesuseDevicePlatform()
The visitor’s platform (iOS, Android, macOS, Windows…), resolved after mount.
useDevicePlatform(): { platform: any; isMobile: any; }Returns
platformisMobile