-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1371 from dpc-sdp/fix/sd-476-check-empty-document
[SD-476] Check empty document
- Loading branch information
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
examples/nuxt-app/layers/fixture-api/pages/_fixture/document.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<TideBaseLayout | ||
:site="site" | ||
:page="page" | ||
:siteSection="page.siteSection" | ||
:background="page.background" | ||
:pageTitle="page.title" | ||
:pageLanguage="page.lang" | ||
:updatedDate="page.created" | ||
:showContentRating="page.showContentRating" | ||
> | ||
<template #aboveBody="{ hasBreadcrumbs }"> | ||
<TideHeroHeader :header="page.header" :hasBreadcrumbs="hasBreadcrumbs" /> | ||
</template> | ||
<template #body> | ||
<RplContent :html="fixture.processed" /> | ||
</template> | ||
</TideBaseLayout> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import site from '../../test/fixtures/site/vic.json' | ||
import fixture from '../../../../../../packages/ripple-tide-api/src/utils/markup-transpiler/complex.fixture' | ||
const page = { | ||
siteSection: '', | ||
background: '', | ||
lang: 'en', | ||
created: '2021-10-01T00:00:00Z', | ||
showContentRating: false, | ||
title: 'Document test', | ||
header: { | ||
title: 'Document test' | ||
} | ||
} | ||
</script> |
Oops, something went wrong.