From def515b370a92f94c729ecf7656161aca25bd4dd Mon Sep 17 00:00:00 2001 From: urluckyturtle01 <101178012+urluckyturtle01@users.noreply.github.com> Date: Mon, 9 Dec 2024 08:49:33 +0000 Subject: [PATCH] ok --- .../landing/components/StoriesSection/index.js | 4 ++-- pages/landing/index.js | 18 +++--------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/pages/landing/components/StoriesSection/index.js b/pages/landing/components/StoriesSection/index.js index 67dffddd..a1fc3954 100644 --- a/pages/landing/components/StoriesSection/index.js +++ b/pages/landing/components/StoriesSection/index.js @@ -1,6 +1,6 @@ import cx from "classnames"; import Image from "next/image"; - +import Link from "next/link"; import Section from "components/Section"; import { getId } from "helpers/utils"; @@ -60,7 +60,7 @@ const StoriesSection = ({ insightStories = [] }) => {
{insightStories - .map((insightStory, index) => ( + .map((insightStory.link, index) => ( ))}
diff --git a/pages/landing/index.js b/pages/landing/index.js index 27ce2ff0..36038a38 100644 --- a/pages/landing/index.js +++ b/pages/landing/index.js @@ -197,17 +197,13 @@ const insightStories = [ title: "State of Raydium Q3 2024", description: "State of Raydium Q3 2024", - action: { - type: "link", - target: "_blank", - href: "https://messari.io/report/state-of-raydium-q3-2024", - }, footer: { icon: "/assets/images/landing/messari.png", width: "114px", height: "18px", desc: "Nov 7, 2024" }, + link:"https://www.artemis.xyz/research/raydium-king-of-solana-de-fi", }, { media: { @@ -217,17 +213,13 @@ const insightStories = [ title: "Raydium: King of Solana Defi", description: "Raydium: King of Solana Defi", - action: { - type: "link", - target: "_blank", - href: "https://www.artemis.xyz/research/raydium-king-of-solana-de-fi", - }, footer: { icon: "/assets/images/landing/artemis.png", width: "147px", height: "18px", desc: "Nov 7, 2024" }, + link: "https://www.artemis.xyz/research/raydium-king-of-solana-de-fi", }, { media: { @@ -237,17 +229,13 @@ const insightStories = [ title: "State of Metaplex Q1 2023", description: "State of Metaplex Q1 2023", - action: { - type: "link", - target: "_blank", - href: "https://messari.io/report/state-of-metaplex-q1-2023", - }, footer: { icon: "/assets/images/landing/messari.png", width: "114px", height: "18px", desc: "Apr 14, 2023" }, + link: "https://www.artemis.xyz/research/raydium-king-of-solana-de-fi", }, ];