Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add footer component #30

Merged
merged 6 commits into from
Apr 25, 2024
Merged

feat: add footer component #30

merged 6 commits into from
Apr 25, 2024

Conversation

AdelineA
Copy link
Collaborator

  • add footer component

@AdelineA AdelineA requested a review from kareraolivier April 18, 2024 06:56
@AdelineA AdelineA requested a review from NNesta April 18, 2024 08:53
@AdelineA AdelineA self-assigned this Apr 18, 2024
.filter((source) => source && !source.includes("Open Access"))
.filter((source) => source) as string[];

export const uniqueDataSources = Array.from(new Set(dataSources));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this name of this variable to name that give hint what it hold

<div
key={index}
className="flex gap-5 w-full justify-center items-center"
>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you align the content to the right side as on the design

@AdelineA AdelineA added the ready for review The pr is ready for reviews label Apr 19, 2024
Copy link
Collaborator

@NNesta NNesta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -0,0 +1,9 @@
import output from "../../../public/data.json";

const dataResources = output
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be in the src/data folder

import { getColorByAccess } from "../../utils/helpers";
import { filteredResources } from "./data-resources";

const Footer = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put this component inside components folder

Copy link
Collaborator

@NNesta NNesta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NNesta NNesta requested a review from musayann April 24, 2024 13:51
@musayann musayann merged commit 7eb57c5 into main Apr 25, 2024
@musayann musayann deleted the ft/footer branch April 25, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review The pr is ready for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants