Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix GitHub logo for dark mode #3791

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -16,6 +16,7 @@ import Smi from "../../../assets/images/app/projects/smi.svg";
import WebA from "../../../sections/Meshery/How-meshery-works/images/webassembly_logo.svg";
import SMP from "../../../sections/Meshery/How-meshery-works/images/smp-dark-text.png";
import dark_githubLogo from "../../../assets/images/socialIcons/github_black.svg";
import light_githubLogo from "../../../assets/images/socialIcons/github-light.svg";

import { darktheme } from "../../../theme/app/themeStyles";
import lighttheme from "../../../theme/app/themeStyles";
Expand Down Expand Up @@ -46,7 +47,7 @@ const OperatingServiceMeshes = () => {
[
{
title: "GitOps: Configuration as Visual Design",
icon: dark_githubLogo,
icon: theme === "dark" ? light_githubLogo : dark_githubLogo,
description: <p>GitOps is a way to define workflows for declarative configuration using Git. Meshery greatly simplifies configuring and managing cloud native infrastructure at-scale across multiple clusters with a git-integrated experience.</p>
},
{
Expand Down
8 changes: 4 additions & 4 deletions src/sections/Home/Projects-home/index.js
Expand Up @@ -44,7 +44,7 @@ const Projects = () => {
<Col sm={12} md={6} lg={3}>
<Link className="project-card" to="/cloud-native-management/meshmap">
<div className="project__block__inner">
<StaticImage loading="lazy" src={meshmapLogo} alt="MeshMap Logo" width={50} height={80} imgStyle={{ width: "35px", height: "56px"}} />
<StaticImage loading="lazy" src={meshmapLogo} alt="MeshMap Logo" width={50} height={80} imgStyle={{ width: "35px", height: "56px" }} />
<h3>MeshMap</h3>
<p>Visual Infrastructure Management</p>
</div>
Expand All @@ -53,7 +53,7 @@ const Projects = () => {
<Col sm={12} md={6} lg={3}>
<Link className="project-card" to="/cloud-native-management/meshery">
<div className="project__block__inner">
<StaticImage loading="lazy" src={projectImage3} alt="Meshery Logo" width={80} height={80} imgStyle={{ width: "40px", height: "40px"}} />
<StaticImage loading="lazy" src={projectImage3} alt="Meshery Logo" width={80} height={80} imgStyle={{ width: "40px", height: "40px" }} />
<h3>Meshery</h3>
<p>Cloud Native Management</p>
</div>
Expand All @@ -62,7 +62,7 @@ const Projects = () => {
<Col sm={12} md={6} lg={3}>
<Link className="project-card" to="/projects/service-mesh-performance">
<div className="project__block__inner">
<StaticImage loading="lazy" src={projectImage2} alt="SMP Logo" width={294} height={120} imgStyle={{ width: "98px", height: "40px"}} />
<StaticImage loading="lazy" src={projectImage2} alt="SMP Logo" width={294} height={120} imgStyle={{ width: "98px", height: "40px" }} />
<h3>Service Mesh Performance</h3>
<p>The Measurement Standard</p>
</div>
Expand All @@ -71,7 +71,7 @@ const Projects = () => {
<Col sm={12} md={6} lg={3}>
<Link className="project-card" to="/projects/nighthawk">
<div className="project__block__inner">
<StaticImage loading="lazy" src={projectImage4} alt="Nighthawk Logo" width={100} height={80} imgStyle={{ width: "50px", height: "40px"}}/>
<StaticImage loading="lazy" src={projectImage4} alt="Nighthawk Logo" width={100} height={80} imgStyle={{ width: "50px", height: "40px" }}/>
<h3>Nighthawk</h3>
<p>Distributed Performance Management</p>
</div>
Expand Down