Skip to content

Commit

Permalink
[#1462] Add power-bi chart on the landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
ifirmawan committed Jul 17, 2024
1 parent 5e636f8 commit 2a5b130
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/src/pages/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,15 @@ const Home = () => {
mapValues={mapValues}
setMapValues={setMapValues}
/> */}
{/* TODO Visualisation */}
</div>
</div>
<div className="home-even power-bi">
<iframe
title="Landing page"
src="https://app.powerbi.com/view?r=eyJrIjoiNjY0ODMwZTQtMGRhZS00ZTU5LWEzNzUtM2IyMzY3ZjBiN2M0IiwidCI6ImIxNzBlMTE1LWRjM2QtNGU5Mi04NWJlLWU0YjMwMDljNWRjMiIsImMiOjl9&navContentPaneEnabled=false"
allowFullScreen={true}
/>
</div>
<div className="home-odd contact">
<h2>{text.contactText}</h2>
<Row align="middle" justify="center">
Expand Down
12 changes: 12 additions & 0 deletions frontend/src/pages/home/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,17 @@
text-align: center;
}
}

.power-bi {
height: 1566px;
overflow: hidden;
iframe {
width: 100%;
height: 100%;
min-height: 480px;
border: none;
zoom: 4;
}
}
}
}

0 comments on commit 2a5b130

Please sign in to comment.