From e110d54ea74e53b63277ae5829b79a3a11c69a1a Mon Sep 17 00:00:00 2001 From: okorie2 Date: Wed, 4 Dec 2024 22:09:16 +0000 Subject: [PATCH] feat:link asset previews --- .../nonAuthUserLibrary/assetsList.tsx | 27 ++++++++++--------- .../components/nonAuthUserLibrary/style.ts | 1 + src/app/modules/home-module/index.tsx | 5 ++-- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/app/modules/home-module/components/nonAuthUserLibrary/assetsList.tsx b/src/app/modules/home-module/components/nonAuthUserLibrary/assetsList.tsx index 2fb1bde01..d4a2a82cb 100644 --- a/src/app/modules/home-module/components/nonAuthUserLibrary/assetsList.tsx +++ b/src/app/modules/home-module/components/nonAuthUserLibrary/assetsList.tsx @@ -23,7 +23,7 @@ export default function AssetsList() { gap: 48px; `} > -
+ Climate Report

Climate data report

Report

-
-
+ + IATI Country Chart

IATI Country Incoming Funds 2024

Chart

-
+
-
+ Budget Chart

Budget Flow

Chart

-
+
-
+ Malaria Report

Report

-
+
-
+ gender Report

Gender based violence

Report

-
-
+ + Budget Data

Budget 2011

Data

-
+
); diff --git a/src/app/modules/home-module/components/nonAuthUserLibrary/style.ts b/src/app/modules/home-module/components/nonAuthUserLibrary/style.ts index 7daaf60fe..db927b6ea 100644 --- a/src/app/modules/home-module/components/nonAuthUserLibrary/style.ts +++ b/src/app/modules/home-module/components/nonAuthUserLibrary/style.ts @@ -2,6 +2,7 @@ import { css } from "styled-components"; export const style = { assetCard: css` + text-decoration: none; > p:nth-of-type(1) { color: #231d2c; font-family: "GothamNarrow-Bold", sans-serif; diff --git a/src/app/modules/home-module/index.tsx b/src/app/modules/home-module/index.tsx index d3252754a..95940b7ae 100644 --- a/src/app/modules/home-module/index.tsx +++ b/src/app/modules/home-module/index.tsx @@ -8,6 +8,7 @@ import HomeFooter from "app/modules/home-module/components/Footer"; import AssetsCollection from "./components/AssetCollection"; import Hero from "./components/hero"; import NonAuthUserLibrary from "./components/nonAuthUserLibrary"; +import { Box } from "@material-ui/core"; export default function HomeModule() { useTitle("DX Dataxplorer"); @@ -25,8 +26,8 @@ export default function HomeModule() { background-color: #f2f7fd; `} > - {!isAuthenticated ? : <>} - {/* */} + {!isAuthenticated ? : } + {!isAuthenticated ? : }