Landing

LandingPage

Renders a whole landing from its content: navbar, sections, footer and the page-level widgets.

components/landing/LandingPage.vue

Usage

Every landing page is three lines: load the content, set the SEO and render it.

pages/landing/services.vue
<template>
  <LandingPage
    :content="content"
    :handlers="{ booking: mockBookCall, lead: mockSendLead, contact: mockSendContact }"
  />
</template>

<script setup lang="ts">
import { studioContent, studioFallback } from '~/content/studio'
import { mockBookCall, mockSendContact, mockSendLead } from '~/mocks/forms.mock'

definePageMeta({
  layout: 'landing-page',
})

const { content } = useLandingContent(studioContent, studioFallback)

useLandingSeo(() => content.value.seo)
</script>

A new landing is a new folder in content/ (one module per language plus shared.ts) and a page like this one. Reorder, add or drop sections by editing the sections array.

Give a landing its own brand

By default a landing uses the app theme and the melsami logo. Add brand to the content to give it its own look, as the demo studio (Merova Studio) and app (Orbello) do:

content/product/shared.ts
export const brand: LandingBrand = {
  name: 'orbello',
  theme: 'orbello',
  headingFont: "'Schibsted Grotesk', 'Plus Jakarta Sans', sans-serif",
  headingWeight: 800,
}
  • name replaces the logo in the nav bar and the footer with a wordmark (BaseAppLogo name).
  • theme names three Vuetify themes: <theme> (light), <theme>-dark and <theme>-brand (the brand tone sections, the highlighted plan and the dark cards). Add the brand to LANDING_SAMPLE_BRANDS in config/landing-samples.config.ts, with one small palette per variant, and landingBrandTheme() in config/theme.config.ts builds the three themes. LandingPage registers them when it renders, so only that page ships their CSS.
  • headingFont and headingWeight set --v-font-heading and --v-font-heading-weight for the whole landing. Load the font through LANDING_SAMPLE_FONTS in config/landing-samples.config.ts.

Blocks read the brand with useLandingBrand() (pageTheme, brandTheme, fontStyle), so a custom block that needs the dark brand surface uses brandTheme instead of a fixed 'brand'.

API

Props

Name
Type
Default
Description
content
required
LandingPageContent—The whole landing: brand, seo, nav, sections, footer and the widgets.
handlersLandingHandlers{}The submit handlers: quote, contact, lead, booking, waitlist.
© 2026 melsami UI.
Developer documentation for melsami UI.