project images

Signed-off-by: PRavaga <trueravaga@gmail.com>
This commit is contained in:
PRavaga 2023-09-07 00:16:39 +04:00
parent d5fe05bf6e
commit 433001c2a9
No known key found for this signature in database
GPG key ID: 2A5FC2B63150943E
7 changed files with 7 additions and 17 deletions

BIN
src/assets/bazaar_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View file

@ -1,22 +1,14 @@
import React from "react";
import { useColorMode } from "@docusaurus/theme-common";
import styles from "./Projects.module.css";
function Projects({ projects }) {
// const { colorMode } = useColorMode();
const colorMode = "light";
return (
<div>
<div className={styles.projects}>
{projects.map((project) => (
<a href={project.link} key={project.name}>
<img
src={
colorMode === "light" ? project.logo.light : project.logo.dark
}
alt={project.name}
width="280px"
/>
<img src={project.logo} alt={project.name} width="280px" />
</a>
))}
</div>

View file

@ -3,11 +3,9 @@ import styles from "./StartPage.module.css";
import StartArticle from "../../components/StartArticle/StartArticle";
import LearnMore from "../../components/LearnMore/LearnMore";
import Projects from "../../components/Projects/Projects";
import layerLogoDark from "../../../static/img/projects/confidential-bridge_logo_1_dark.png";
import layerLogo from "../../../static/img/projects/confidential-bridge_logo_1.png";
import zanoLogo from "../../../static/img/projects/zano_white_theme.png";
import zanoLogoDark from "../../../static/img/projects/zano_block.png";
import bazaarLogo from "../../../static/img/projects/bazaar_wordmark.png";
import zanoTradeLogo from "../../assets/zano-trade_logo.png";
import clBridgeLogo from "../../assets/confidential_bridge_logo.png";
import bazaarLogo from "../../assets/bazaar_logo.png";
const content = [
{
@ -84,14 +82,14 @@ const projects = [
{
name: "Confidential Bridge",
link: "https://bridge.confidentiallayer.com",
logo: { light: layerLogo, dark: layerLogoDark },
logo: clBridgeLogo,
},
{
name: "Zano Trade",
link: "https://trade.zano.org",
logo: { light: zanoLogo, dark: zanoLogoDark },
logo: zanoTradeLogo,
},
{ name: "Bazaar", link: "#", logo: { light: bazaarLogo, dark: bazaarLogo } },
{ name: "Bazaar", link: "#", logo: bazaarLogo },
];
function StartPage() {