project images
Signed-off-by: PRavaga <trueravaga@gmail.com>
This commit is contained in:
parent
d5fe05bf6e
commit
433001c2a9
7 changed files with 7 additions and 17 deletions
BIN
src/assets/bazaar_logo.png
Normal file
BIN
src/assets/bazaar_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
BIN
src/assets/confidential_bridge_logo.png
Normal file
BIN
src/assets/confidential_bridge_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
src/assets/confidential_layer_logo.png
Normal file
BIN
src/assets/confidential_layer_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
BIN
src/assets/confidential_money_logo.png
Normal file
BIN
src/assets/confidential_money_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
BIN
src/assets/zano-trade_logo.png
Normal file
BIN
src/assets/zano-trade_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue