Skip to content

Commit 43e390d

Browse files
Fix link coloring issue
1 parent c874583 commit 43e390d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Box, Flex, Image, Tooltip } from "@chakra-ui/react";
22
import toskaLogo from "assets/toskaLogo.svg";
33
import toskaMopo from "assets/toskaMopo.png";
4+
import Markdown from "components/Markdown";
45
import { Members } from "components/Members";
56
import { Projects } from "components/Projects";
67
import Section from "components/Section";
@@ -11,7 +12,6 @@ import Head from "next/head";
1112
import { join } from "path";
1213
import { FaGamepad, FaGithub } from "react-icons/fa";
1314
import { MdEmail } from "react-icons/md";
14-
import ReactMarkdown from "react-markdown";
1515
import { theme } from "utils/theme";
1616

1717
export const getStaticProps = async () => {
@@ -78,7 +78,7 @@ const IndexPage = ({
7878
sovelluskehitysakatemia
7979
</Box>
8080
<Box mt={12}>
81-
<ReactMarkdown source={introText} />
81+
<Markdown value={introText} />
8282
</Box>
8383
</Section>
8484
<Section bg="BLACK" header="Projektit">

pages/styles.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,3 @@
88
box-shadow: 0px 4px 4px rgba(148, 136, 136, 0.125);
99
transform: scale(1.1);
1010
}
11-
12-
a {
13-
color: #3b82f6;
14-
text-decoration: underline;
15-
}

0 commit comments

Comments
 (0)