Skip to content

Commit ea294fa

Browse files
committed
updating Front-end dev docs to reflect change to Astro (Layout & Page Structure)
1 parent dbf223b commit ea294fa

3 files changed

Lines changed: 332 additions & 232 deletions

File tree

docs/front-end/01-idfive-component-library.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ This will open the "Welcome page", changes made in code will automatically be re
166166
```jsx title="src/components/button-link-set/Button-Link-Set.astro"
167167
---
168168
const { buttonLinkSet } = Astro.props;
169+
// highlight-next-line
169170
import data from './button-link-set.json';
170171
const buttonLinkSetData = buttonLinkSet || data.button_link_set;
171172
import Button from '../button/Button.astro';
@@ -382,7 +383,7 @@ This will open the "Welcome page", changes made in code will automatically be re
382383
}}
383384
];
384385
}
385-
386+
386387
// Save the merged data for use with components on page
387388
// for example the "data." here: <ComponentName componentName={data.page_component_name.component_name} />
388389
const { data } = Astro.props;

docs/front-end/03-page-layout.md

Lines changed: 0 additions & 231 deletions
This file was deleted.

0 commit comments

Comments
 (0)