-
Notifications
You must be signed in to change notification settings - Fork 36
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
c987e0e
commit 24260e1
Showing
17 changed files
with
98 additions
and
351 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export const BinaryCode = () => { | ||
return ( | ||
<div | ||
className="opacity-20 text-vanilla-100 font-bold font-['Inter']" | ||
style={{ position: "relative",paddingLeft: "70%", top: "-300px" }} | ||
><p style={{fontSize:48}}> | ||
01111001010111100101 | ||
<br /> 110111010110111100101 | ||
<br /> 1101110101101111001{" "} | ||
<br /> | ||
<br /> 10111100101</p> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
export const GeneralFilter = ({ filter, setFilter }) => { | ||
|
||
return ( | ||
<input type="text" value={filter} onChange={(e) => setFilter(e.target.value)} placeholder="Search Repositories" className="flex-1 mx-2 border rounded-sm p-2 mb-4" /> | ||
); | ||
}; |
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 Select from "react-select"; | ||
|
||
export const LanguageFilter = ({ setSelectedLanguages, languageOptions }) => { | ||
return ( | ||
<> | ||
<label className="p-2">Filter by Language</label> | ||
<Select isMulti closeMenuOnSelect={false} className="flex-1 mx-2 rounded-sm p-2 mb-4" onChange={(selectedOptions) => setSelectedLanguages(selectedOptions.map((option) => option.value))} options={languageOptions} classNamePrefix="select" /> | ||
</> | ||
); | ||
}; |
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,19 @@ | ||
import Select from "react-select"; | ||
|
||
export const SDGFilter = ({ setSelectedTopics, topicOptions }) => { | ||
return ( | ||
<> | ||
<label className="p-2">Sustainable Development Goal (SDG)</label> | ||
<Select | ||
isMulti | ||
className="flex-1 mx-2 rounded-sm p-2 mb-4" | ||
options={topicOptions} | ||
getOptionLabel={(option) => option.label} | ||
getOptionValue={(option) => option.value ?? ""} | ||
onChange={(selectedOptions) => | ||
setSelectedTopics(selectedOptions.map((option) => option.value ?? "")) | ||
} | ||
/> | ||
</> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.