Skip to content

Commit

Permalink
images corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Fermatka committed May 6, 2024
1 parent 05bd9c5 commit ca61084
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
Binary file removed algrtm/public/heavyIndustry-image.png
Binary file not shown.
Binary file removed algrtm/public/labAssistant-image.png
Binary file not shown.
2 changes: 1 addition & 1 deletion algrtm/src/app/heavyIndustry/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const HeavyIndustry = () => {
<div className="w-full flex flex-col items-center justify-center px-4 md:mx-[2.75rem]">
<DescriptionImageComponent
version="version1"
image="/heavyIndustry-image.png"
image="/heavyIndustry-bg-image.jpeg"
imageWidth={580}
imageHeight={478}
/>
Expand Down
2 changes: 1 addition & 1 deletion algrtm/src/app/medTech/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const MedTech = () => {
<div className="w-full flex flex-col items-center justify-center px-4 md:mx-[2.75rem]">
<DescriptionImageComponent
version="version2"
image="/labAssistant-image.png"
image="/labAssistant-bg-image.jpeg"
imageWidth={580}
imageHeight={478}
/>
Expand Down
16 changes: 2 additions & 14 deletions algrtm/src/components/DescriptionImageComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,7 @@ const DescriptionImageComponent = ({
<div className="mt-4 h6_400 xl:h6">{description}</div>
</div>

{/* <div className="flex shrink-0 w-[26.35rem]">
<Image
src="/labAssistant-image.png"
alt="Image of Lab Assistant during work"
width={580}
height={478}
sizes="100vw"
style={{
width: "100%",
height: "auto",
}}
/>
</div> */}
<div className="flex shrink-0 max-w-[36.25rem]">
<div className="flex shrink-0 max-w-[36.25rem] ">
<Image
src={image}
alt="Image"
Expand All @@ -43,6 +30,7 @@ const DescriptionImageComponent = ({
style={{
width: "100%",
height: "auto",
borderRadius: "7%",
}}
/>
</div>
Expand Down

0 comments on commit ca61084

Please sign in to comment.