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.

composables/landing-page/useLandingContent.ts
useLandingContent(modules: Record<string, LandingPageContent>, fallback: LandingPageContent): { content: any; }
Returnscontent

useLandingSeo()

Sets the title, description, Open Graph and structured data of a landing.

composables/landing-page/useLandingSeo.ts
useLandingSeo(seo: MaybeRefOrGetter<LandingSeo>): void

useLandingIntent()

The intent picked in the hero, shared with the estimator and the portfolio.

composables/landing-page/useLandingIntent.ts
useLandingIntent(): { intent: any; setIntent: (value: string) => void; }
ReturnsintentsetIntent

useLandingTeamSize()

The team size of the pricing seats slider.

composables/landing-page/useLandingTeamSize.ts
useLandingTeamSize(): { teamSize: any; setTeamSize: (value: number) => void; }
ReturnsteamSizesetTeamSize

useCookieConsent()

Reads and saves cookie consent: hasConsent(id), hasDecided, openPreferences()…

composables/landing-page/useCookieConsent.ts
useCookieConsent(setup?: CookieConsentConfig): { consent: any; config: any; hasDecided: any; canCustomize: any; hasConsent: (id: string) => boolean; save: (categories: Record<string, boolean>) => void; isPreferencesOpen: any; …
ReturnsconsentconfighasDecidedcanCustomizehasConsentsaveisPreferencesOpenopenPreferences

useDevicePlatform()

The visitor’s platform (iOS, Android, macOS, Windows…), resolved after mount.

composables/landing-page/useDevicePlatform.ts
useDevicePlatform(): { platform: any; isMobile: any; }
ReturnsplatformisMobile
© 2026 melsami UI.
Developer documentation for melsami UI.