@@ -8,38 +8,38 @@ import { enhanceArticleType } from '../types/article';
88import { StandardLayout } from './StandardLayout' ;
99
1010const meta = {
11- title : 'Layouts/Audio ' ,
11+ title : 'Layouts/Standard ' ,
1212 component : StandardLayout ,
1313} satisfies Meta < typeof StandardLayout > ;
1414
1515export default meta ;
1616
1717type Story = StoryObj < typeof meta > ;
1818
19- const appsArticle = enhanceArticleType ( AudioFixture , 'Apps' ) ;
19+ const appsAudioArticle = enhanceArticleType ( AudioFixture , 'Apps' ) ;
2020
21- if ( appsArticle . design !== ArticleDesign . Audio ) {
21+ if ( appsAudioArticle . design !== ArticleDesign . Audio ) {
2222 throw new Error (
23- `Expected ArticleDesign.Audio, got: ${ String ( appsArticle . design ) } ` ,
23+ `Expected ArticleDesign.Audio, got: ${ String ( appsAudioArticle . design ) } ` ,
2424 ) ;
2525}
2626
27- export const Apps : Story = {
27+ export const AppsAudio : Story = {
2828 args : {
2929 renderingTarget : 'Apps' ,
30- article : appsArticle . frontendData ,
30+ article : appsAudioArticle . frontendData ,
3131 format : {
32- design : appsArticle . design ,
33- display : appsArticle . display ,
34- theme : appsArticle . theme ,
32+ design : appsAudioArticle . design ,
33+ display : appsAudioArticle . display ,
34+ theme : appsAudioArticle . theme ,
3535 } ,
3636 } ,
3737 parameters : {
3838 formats : [
3939 {
40- design : appsArticle . design ,
41- display : appsArticle . display ,
42- theme : appsArticle . theme ,
40+ design : appsAudioArticle . design ,
41+ display : appsAudioArticle . display ,
42+ theme : appsAudioArticle . theme ,
4343 } ,
4444 ] ,
4545 config : {
@@ -54,34 +54,34 @@ export const Apps: Story = {
5454 } ,
5555} ;
5656
57- const webArticle = enhanceArticleType ( AudioFixture , 'Web' ) ;
57+ const webAudioArticle = enhanceArticleType ( AudioFixture , 'Web' ) ;
5858
59- if ( webArticle . design !== ArticleDesign . Audio ) {
59+ if ( webAudioArticle . design !== ArticleDesign . Audio ) {
6060 throw new Error (
61- `Expected ArticleDesign.Audio, got: ${ String ( webArticle . design ) } ` ,
61+ `Expected ArticleDesign.Audio, got: ${ String ( webAudioArticle . design ) } ` ,
6262 ) ;
6363}
6464
65- export const Web : Story = {
65+ export const WebAudio : Story = {
6666 args : {
6767 renderingTarget : 'Web' ,
6868 NAV : {
69- ...extractNAV ( webArticle . frontendData . nav ) ,
70- selectedPillar : getCurrentPillar ( webArticle . frontendData ) ,
69+ ...extractNAV ( webAudioArticle . frontendData . nav ) ,
70+ selectedPillar : getCurrentPillar ( webAudioArticle . frontendData ) ,
7171 } ,
72- article : webArticle . frontendData ,
72+ article : webAudioArticle . frontendData ,
7373 format : {
74- design : webArticle . design ,
75- display : webArticle . display ,
76- theme : webArticle . theme ,
74+ design : webAudioArticle . design ,
75+ display : webAudioArticle . display ,
76+ theme : webAudioArticle . theme ,
7777 } ,
7878 } ,
7979 parameters : {
8080 formats : [
8181 {
82- design : webArticle . design ,
83- display : webArticle . display ,
84- theme : webArticle . theme ,
82+ design : webAudioArticle . design ,
83+ display : webAudioArticle . display ,
84+ theme : webAudioArticle . theme ,
8585 } ,
8686 ] ,
8787 chromatic : {
0 commit comments