Skip to content

Commit

Permalink
background images added to OurWork.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Fermatka committed May 6, 2024
1 parent bd5c782 commit bd506b3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
Binary file added algrtm/public/heavyIndustry-bg-image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added algrtm/public/labAssistant-bg-image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added algrtm/public/pianoPlaying-bg-image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions algrtm/src/components/OurWork.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Image from "next/image";
import React from "react";
import CustomLink from "./shared/CustomLink";
import CustomIcon from "./shared/CustomIcon";
Expand All @@ -8,8 +7,8 @@ const OurWork = () => {
<section className="mt-[2.75rem] w-full justify-center items-center text-center max-w-[78.25rem] flex flex-col gap-6 mx-[1rem] md:max-w-[54.875rem] md:mt-[7.75rem md:mx-[4.56rem] xl:m-[5.88rem] bg-neutralLight-neutral100 dark:bg-neutralDark-neutral100">
<h4 className="h4 lg:h2">Our work</h4>
<div className="flex flex-col lg:flex-row w-full gap-[1.5rem] md:flex-row xl:gap-[2rem] mt-[2rem]">
<div className="rounded-[2rem] bg-neutralLight-neutral10 w-[21.44rem] text-neutralLight-neutral100">
<div className="mt-[9rem] lg:mt-[10.29rem] xl:mt-[8.48rem] flex flex-col items-start text-start gap-[1.5rem] mx-[1.5rem] my-[2.75rem] lg:m-[2rem] xl:m-[2.75rem]">
<div className="rounded-[2rem] max-w-[20.25rem] text-neutralLight-neutral100 bg-[url('/heavyIndustry-bg-image.jpeg')]">
<div className="flex flex-col items-start mt-[9rem] lg:mt-[10.29rem] xl:mt-[8.48rem] text-start gap-[1.5rem] mx-[1.5rem] mb-[2.75rem] lg:m-[2rem] xl:m-[2.75rem] ">
<h5 className="h5_small mt-[3rem]">Heavy Industry </h5>
<p className="p2">Cement Manufacturing Data Laboratory</p>
<div className="flex items-start">
Expand All @@ -23,8 +22,8 @@ const OurWork = () => {
</div>
</div>
</div>
<div className="rounded-[2rem] bg-neutralLight-neutral10 w-[21.44rem] text-neutralLight-neutral100">
<div className="mt-[9rem] lg:mt-[10.29rem] xl:mt-[8.48rem] flex flex-col items-start text-start gap-[1.5rem] mx-[1.5rem] my-[2.75rem] lg:m-[2rem] xl:m-[2.75rem]">
<div className="rounded-[2rem] bg-[url('/labAssistant-bg-image.jpeg')] w-[21.44rem] text-neutralLight-neutral100">
<div className="flex flex-col items-start mt-[9rem] lg:mt-[10.29rem] xl:mt-[8.48rem] text-start gap-[1.5rem] mx-[1.5rem] mb-[2.75rem] lg:m-[2rem] xl:m-[2.75rem]">
<h5 className="h5_small mt-[3rem]">Med Tech </h5>
<p className="p2">
ECG Signal Analysis Engine for Multi-lead Holter Exams
Expand All @@ -40,8 +39,8 @@ const OurWork = () => {
</div>
</div>
</div>
<div className="rounded-[2rem] bg-neutralLight-neutral10 w-[21.44rem] text-neutralLight-neutral100">
<div className="mt-[9rem] lg:mt-[10.29rem] xl:mt-[8.48rem] flex flex-col items-start text-start gap-[1.5rem] mx-[1.5rem] my-[2.75rem] lg:m-[2rem] xl:m-[2.75rem]">
<div className="rounded-[2rem] bg-[url('/pianoPlaying-bg-image.jpeg')] w-[21.44rem] text-neutralLight-neutral100">
<div className="flex flex-col items-start mt-[9rem] lg:mt-[10.29rem] xl:mt-[8.48rem] text-start gap-[1.5rem] mx-[1.5rem] mb-[2.75rem] lg:m-[2rem] xl:m-[2.75rem]">
<h5 className="h5_small mt-[3rem]">Piano for AI</h5>
<p className="p2">
We open the door to a mathematical understanding of music
Expand Down
5 changes: 5 additions & 0 deletions algrtm/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ module.exports = {
lg: "1024px", // Large screens, laptops
xl: "1440px", // Extra large screens, desktops
},
// backgroundImage: {
// "heavy-industry": "url('/heavyIndustry-bg-image.jpeg')",
// "lab-assistant": "url('/labAssistant-bg-image.jpeg')",
// "piano-playing": "url('/pianoPlaying-bg-image.jpeg')",
// },
},
},
plugins: [],
Expand Down

0 comments on commit bd506b3

Please sign in to comment.