-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement the hacktoberfest reports page (#229)
* created reports component, Next is the story. * add reports component to the tools list component * create reports story component... next will be a clean up to my code :) * Made some changes to the reports component * Eslinting fix * refactor styles * updated the return type of th tool display component * add media query for smaller screens * cleaning up the code and testing * more clean up... Fixes #168
- Loading branch information
Showing
4 changed files
with
54 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Title from "components/atoms/Typography/title"; | ||
import SelectReportsFilter from "components/molecules/SelectReportsFilter/select-reports-filter"; | ||
|
||
const Reports = (): JSX.Element => { | ||
return ( | ||
<section className="w-full py-4 px-8 flex justify-center"> | ||
<div className="max-w-4xl"> | ||
<Title className="!font-medium relative !text-left " level={3}> | ||
Contributions Insights | ||
</Title> | ||
<hr className="border-light-slate-6 my-4" /> | ||
<div className="!text-left"> | ||
<SelectReportsFilter | ||
callback={function () { | ||
throw new Error("Function not implemented."); | ||
}} | ||
/> | ||
</div> | ||
<Title className="!font-medium relative mt-16 !text-left " level={3}> | ||
Download History | ||
</Title> | ||
<hr className="border-light-slate-6 my-4" /> | ||
{/* Download History goes here */} | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Reports; |
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,8 @@ | ||
import Reports from "components/organisms/Reports/reports"; | ||
|
||
const StoryConfig = { | ||
title: "Design System/Organisms/Reports" | ||
}; | ||
export default StoryConfig; | ||
|
||
export const ReportsOrganism = (): JSX.Element => <Reports />; |