@@ -13,8 +13,6 @@ import {
1313} from './Tools' ;
1414import { RecoilRoot , useRecoilValue } from 'recoil' ;
1515
16- interface AppProps { }
17-
1816function FeatureFilters ( ) {
1917 return (
2018 < >
@@ -24,16 +22,24 @@ function FeatureFilters() {
2422 </ >
2523 ) ;
2624}
27-
25+ const githubLogo = (
26+ < svg width = "24" height = "24" fill = "currentColor" className = "text-white mr-3 " >
27+ < path
28+ fill-rule = "evenodd"
29+ clip-rule = "evenodd"
30+ d = "M12 2C6.477 2 2 6.463 2 11.97c0 4.404 2.865 8.14 6.839 9.458.5.092.682-.216.682-.48 0-.236-.008-.864-.013-1.695-2.782.602-3.369-1.337-3.369-1.337-.454-1.151-1.11-1.458-1.11-1.458-.908-.618.069-.606.069-.606 1.003.07 1.531 1.027 1.531 1.027.892 1.524 2.341 1.084 2.91.828.092-.643.35-1.083.636-1.332-2.22-.251-4.555-1.107-4.555-4.927 0-1.088.39-1.979 1.029-2.675-.103-.252-.446-1.266.098-2.638 0 0 .84-.268 2.75 1.022A9.606 9.606 0 0112 6.82c.85.004 1.705.114 2.504.336 1.909-1.29 2.747-1.022 2.747-1.022.546 1.372.202 2.386.1 2.638.64.696 1.028 1.587 1.028 2.675 0 3.83-2.339 4.673-4.566 4.92.359.307.678.915.678 1.846 0 1.332-.012 2.407-.012 2.734 0 .267.18.577.688.48C19.137 20.107 22 16.373 22 11.969 22 6.463 17.522 2 12 2z"
31+ > </ path >
32+ </ svg >
33+ ) ;
2834function FeaturesAndTable ( ) {
35+ const [ toolData , setToolData ] = useState ( initialToolData ) ;
2936 useEffect ( ( ) => {
3037 async function _fetchGithubData ( ) {
3138 setToolData ( await fetchGithubData ( ) ) ;
3239 }
3340 _fetchGithubData ( ) ;
3441 } , [ ] ) ;
3542
36- const [ toolData , setToolData ] = useState ( initialToolData ) ;
3743 const featureFilters = useRecoilValue ( recoilFilters ) ;
3844 const data = useMemo ( ( ) => getTableData ( toolData , featureFilters ) , [
3945 toolData ,
@@ -52,7 +58,7 @@ function App() {
5258 < RecoilRoot >
5359 < div className = "w-full h-full content-center items-center flex flex-col" >
5460 < nav className = "bg-blue-800 p-2 w-full mb-10" >
55- < div className = "w-full container mx-auto flex flex-wrap items-center justify-between mt-0 py-2" >
61+ < div className = "w-full flex flex-wrap items-center justify-between mt-0 py-2" >
5662 < div className = "pl-4 flex items-center" >
5763 < img
5864 alt = "Python logo"
@@ -62,14 +68,19 @@ function App() {
6268 The Big List of Python Packaging and Distribution Tools
6369 </ div >
6470 </ div >
71+ < div className = "text-white" >
72+ < a href = "https://github.com/cs01/python-packaging-tools" >
73+ { githubLogo }
74+ </ a >
75+ </ div >
6576 </ div >
6677 </ nav >
6778 < div className = "container w-full mx-15" >
6879 < FeaturesAndTable />
6980 </ div >
7081 < footer className = "w-full flex items-center bg-black mt-20 h-64 text-white " >
71- < div className = "w-full text-center" >
72- < a href = "http://grassfedcode.com" > grassfedcode.com</ a >
82+ < div className = "w-full text-xl text- center text-blue-800 " >
83+ a < a href = "http://grassfedcode.com" > grassfedcode.com</ a > project
7384 </ div >
7485 </ footer >
7586 </ div >
0 commit comments