Skip to content

Commit

Permalink
feat: use default layout for landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
janfrl committed Jan 18, 2025
1 parent 6066439 commit cfe5623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ useSeoMeta({

<template>
<UMain :class="page?.ui?.wrapper" class="break-words">
<UPageBody :prose="page?.prose !== false" class="pb-32" :class="[page?.ui?.body]">
<slot />
</UPageBody>
<slot />
</UMain>
</template>
4 changes: 2 additions & 2 deletions app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ useSeoMeta({
</script>

<template>
<div v-if="page">
<NuxtLayout v-if="page">
<ULandingSection
v-if="page.hero"
v-bind="(page.hero as any)"
Expand Down Expand Up @@ -69,5 +69,5 @@ useSeoMeta({
</template>
</ULandingSection>
</div>
</div>
</NuxtLayout>
</template>

0 comments on commit cfe5623

Please sign in to comment.