-
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement contribution page (#263)
* add grid template column sizes for mobile and desktop * include domain for unsplash images * update card props to match incoming datas * created contributors component * add to tools display component, finishing touches left * added contributors story * update story props * update naming convention on contributors component
- Loading branch information
Showing
11 changed files
with
226 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import useContributorData from "lib/hooks/useContributorData"; | ||
import ContributorCard from "../ContributorCard/contributor-card"; | ||
const Contributors = (): JSX.Element =>{ | ||
const contributorData = useContributorData(); | ||
const randomArray = Array.apply(null, Array(9)); | ||
return ( | ||
<div className="w-full grid grid-cols-automobile md:grid-cols-autodesktop gap-3"> | ||
{randomArray.map((contributor, index) => ( | ||
<ContributorCard key={index} className="" contributor={{ ...contributorData }} /> | ||
))} | ||
</div> | ||
); | ||
}; | ||
export default Contributors; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import Contributors from "components/organisms/Contributors/contributors"; | ||
|
||
const StoryConfig = { | ||
title: "Design System/Organisms/Contributors", | ||
}; | ||
export default StoryConfig; | ||
|
||
const ContributorsTemplate = (): JSX.Element => <Contributors />; | ||
export const ContributorsStory = ContributorsTemplate.bind({}); | ||
|
Oops, something went wrong.