-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sample): update structure and content
- Loading branch information
1 parent
2d1bc3a
commit 294f7c0
Showing
15 changed files
with
652 additions
and
53 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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,64 @@ | ||
|
||
<template> | ||
<core-structure id="layout"> | ||
<core-structure id="page"> | ||
<core-structure> | ||
<component | ||
:is="component" | ||
v-for="({component, props}, index) in content.slice(0,1)" | ||
:key="index" | ||
v-bind="props" | ||
critical | ||
/> | ||
<core-structure> | ||
<component | ||
:is="component" | ||
v-for="({component, props}, index) in content.slice(1)" | ||
:key="index" | ||
v-bind="props" | ||
:critical="index < 1" | ||
/> | ||
</core-structure> | ||
</core-structure> | ||
</core-structure> | ||
</core-structure> | ||
</template> | ||
|
||
<script> | ||
import speedkitHydrate from 'nuxt-speedkit/hydrate'; | ||
import CoreStructure from '@foundation/core/Structure'; | ||
export default { | ||
layout: 'test', | ||
components: { | ||
CoreStructure, | ||
OrganismStage: speedkitHydrate(() => import('@/components/organisms/Stage')), | ||
OrganismText: speedkitHydrate(() => import('@/components/organisms/Text')), | ||
OrganismGallery: speedkitHydrate(() => import('@/components/organisms/Gallery')), | ||
OrganismTextImage: speedkitHydrate(() => import('@/components/organisms/TextImage')), | ||
OrganismTeaserWall: speedkitHydrate(() => import('@/components/organisms/TeaserWall')), | ||
OrganismAccordeon: speedkitHydrate(() => import('@/components/organisms/Accordeon')), | ||
OrganismInfos: speedkitHydrate(() => import('@/components/organisms/Infos')) | ||
}, | ||
data () { | ||
return { | ||
content: [ | ||
{ | ||
component: 'OrganismGallery', | ||
props: { | ||
headline: { | ||
overline: null, | ||
text: 'Gallery' | ||
} | ||
} | ||
} | ||
] | ||
}; | ||
} | ||
}; | ||
</script> |
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
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
Oops, something went wrong.