Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

replace with Custom Image component

AykutSaraca8526336f683
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 55413a30..a76c75ef 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,8 +1,8 @@
-import Image from "next/image";
import React from "react";
import { Button } from "src/components/Button";
import { Container } from "src/components/Container";
import { Navbar } from "src/components/Navbar";
+import { Image } from "src/components/Image";
import styled from "styled-components";
import { AiFillGithub } from "react-icons/ai";
import { Footer } from "src/components/Footer";
@@ -65,7 +65,7 @@ const Home: React.FC = () => {
</a>
</Link>
</StyledContent>
- <Image src="/graphs.svg" width={500} height={400} alt="graphs" />
+ <Image src="graphs.svg" width={500} height={400} alt="graphs" />
</Container>
<Container reverse>
@@ -82,7 +82,7 @@ const Home: React.FC = () => {
</a>
</Link>
</StyledContent>
- <Image src="/graphs3.svg" width={500} height={400} alt="preview" />
+ <Image src="graphs3.svg" width={500} height={400} alt="preview" />
</Container>
<Container>
@@ -98,7 +98,7 @@ const Home: React.FC = () => {
</a>
</Link>
</StyledContent>
- <Image src="/graphs4.svg" width={500} height={400} alt="preview" />
+ <Image src="graphs4.svg" width={500} height={400} alt="preview" />
</Container>
<Container reverse>
@@ -118,7 +118,7 @@ const Home: React.FC = () => {
</a>
</Link>
</StyledContent>
- <Image src="/graphs5.svg" width={500} height={400} alt="preview" />
+ <Image src="graphs5.svg" width={500} height={400} alt="preview" />
</Container>
<Footer />
</StyledHome>