Skip to content

Commit

Permalink
Added dark and light mode images on the whole page
Browse files Browse the repository at this point in the history
Signed-off-by: Ajay Singh <[email protected]>
  • Loading branch information
Ajay-singh1 committed Dec 19, 2024
1 parent dbe16d7 commit e4805c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sections/AWS-Diagram/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const Header = () => {
</div>
</Col>
<Col className="col catalog" md={6}>
<img src={isDark ? AWSCardLight : AWSCardDark} alt="catalog" />
<img src={isDark ? AWSCardDark : AWSCardLight} alt="catalog" />
</Col>
</Row>
</Container>
Expand Down
4 changes: 2 additions & 2 deletions src/sections/Kubernetes-Diagram/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import FeatureHero from "../FeatureHero";
import Reviews from "../Pricing/review-slider";
import Diagram from "./diagram";
import KubernetesDark from "./images/kubernetes.svg";
// import KubernetesLight from "./images/kubernetes-light.svg";
import KubernetesLight from "./images/kubernetes-light.svg";
import { useStyledDarkMode } from "../../theme/app/useStyledDarkMode";

const KubernetesDiagramPage = () => {
Expand All @@ -12,7 +12,7 @@ const KubernetesDiagramPage = () => {
let data = {
heading: "Kubernetes Orchestration and Diagramming software",
sub_heading: "Orchestrate and design Kubernetes architecture diagrams easily with predefined templates and symbols designed for professionals.",
image: isDark ? KubernetesDark : KubernetesDark
image: isDark ? KubernetesDark : KubernetesLight
};
return (
<>
Expand Down

0 comments on commit e4805c6

Please sign in to comment.