Skip to content

Commit

Permalink
Add support for books data in Data and FilePage components
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricdcc committed Feb 6, 2025
1 parent e4009cd commit 3b4c1f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/pages/data_explorer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ const Data = (data) => {
"Features" : data.data.Features,
"Services" : data.data.Services,
"Contacts" : data.data.Contacts,
"TData" : data.data.TData
"TData" : data.data.TData,
"Books" : data.data.Books,
};

return (
<div>
<Navigation data={landingPageData.Header}/>
<Navigation data={landingPageData.Header} books={landingPageData.Books}/>
<DataFiles data={landingPageData.TData}/>
<Footer/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/filepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const FilePage = (props) => {

return (
<div style={filepagestyle}>
<Navigation data={props.data.Header}/>
<Navigation data={props.data.Header} books={props.data.Books}/>
<SingleFileContents data={filee}/>
<Footer/>
</div>
Expand Down

0 comments on commit 3b4c1f2

Please sign in to comment.