refactor: [UEPR-121] add embedded ideas project to banner

This commit is contained in:
MiroslavDionisiev 2024-12-09 15:51:45 +02:00
parent 3ce5091b00
commit 66d7e52bba
3 changed files with 12 additions and 5 deletions

View file

@ -23,7 +23,7 @@
background: white;
border-radius: 8px;
width: 640px;
width: 656px;
box-shadow: 0 0 0 4px $ui-blue-25percent;

View file

@ -113,9 +113,12 @@ const Ideas = () => {
return (
<div>
<div className="banner-wrapper">
<img
alt={intl.formatMessage({id: 'ideas.headerImageDescription'})}
src="/images/ideas/banner.svg"
<iframe
src="https://scratch.mit.edu/projects/1093752362/embed"
width="485"
height="402"
allowfullscreen
className="ideas-project"
/>
<div className="banner-description">
<div className="title">

View file

@ -17,6 +17,10 @@ $base-bg: $ui-white;
padding: 3rem 0;
background-color: $ui-aqua;
.ideas-project {
border: none;
}
.banner-description {
display: flex;
flex-direction: column;
@ -259,7 +263,7 @@ $base-bg: $ui-white;
//4 columns
@media #{$small} {
.banner-wrapper {
img {
.ideas-project {
display: none;
}
}