-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd24cb9
commit a7b17b0
Showing
20 changed files
with
241 additions
and
126 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,8 @@ | ||
export const FilterInfo = () => { | ||
return ( | ||
<div className="flex-col justify-start items-start gap-2 inline-flex"> | ||
<div className="text-zinc-900 text-[32px] font-normal font-['Inter']">find a project</div> | ||
<div className="text-zinc-900 text-base font-normal font-['Inter'] leading-normal">Filter by language or UN Sustainable Development Goal.</div> | ||
</div> | ||
); | ||
}; |
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
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,9 @@ | ||
export const ProjectHeader = () => { | ||
return ( | ||
<div className="flex justify-center"> | ||
<div className="w-[85%] justify-start items-start inline-flex mb-4"> | ||
<div className="text-zinc-900 text-[32px] font-normal font-['Inter']">Projects</div> | ||
</div> | ||
</div> | ||
); | ||
}; |
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 |
---|---|---|
@@ -1,21 +1,16 @@ | ||
import { FaChevronDown } from 'react-icons/fa'; | ||
import { FaChevronUp } from 'react-icons/fa'; | ||
|
||
type RepositoryIssueNumberIndicatorProps = { | ||
isIssueOpen: boolean; | ||
numberOfIssues: number; | ||
}; | ||
|
||
export const RepositoryIssueNumberIndicator = ({ | ||
isIssueOpen, | ||
numberOfIssues | ||
isIssueOpen | ||
}: RepositoryIssueNumberIndicatorProps) => { | ||
return ( | ||
<span | ||
className={`hidden md:inline text-sm border px-3 py-1 ml-2 rounded-full font-semibold ${ | ||
isIssueOpen ? "text-ink-400 bg-juniper border-transparent" : "text-vanilla-200" | ||
}`} | ||
> | ||
{numberOfIssues} | ||
{numberOfIssues >= 10 ? "+" : ""} issue | ||
{numberOfIssues > 1 ? "s" : ""} | ||
<span> | ||
{isIssueOpen ? <FaChevronUp /> : <FaChevronDown />} | ||
</span> | ||
); | ||
}; |
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
Oops, something went wrong.