Codefund 1 (#144)

* feat(ts-to-flow): add server side converter for typescript to flow (#138)

* feat(ts-to-flow): add server side converter for typescript to flow

* fixes

* added codefund URL

* fixes
This commit is contained in:
Ritesh Kumar authored and GitHub committed 2019-08-18 17:45:34 +05:30
1 parent 0d35f1ac37
commit a7e8e375e9
6 files changed
+41 -41

No files matched your search

+11 -3
View File
@@ -1,13 +1,20 @@
import React, { Fragment } from "react";
import React, { Fragment, useEffect } from "react";
import { Heading, Pane, Text } from "evergreen-ui";
import { categorizedRoutes, Route } from "@utils/routes";
import Link from "next/link";
import { useRouter } from "next/router";
import SearchBox from "@components/Searchbox";
import loadScript from "load-script";
export default function() {
const router = useRouter();
useEffect(() => {
loadScript("https://codefund.io/properties/367/funder.js", {
async: true
});
}, []);
return (
<Pane
width={240}
@@ -74,8 +81,9 @@ export default function() {
})}
</Pane>
<Pane paddingY={15} background="#f6f6f6" borderTop>
<Heading size={400} textAlign="center">
<Pane borderTop>
<div id="codefund" />
<Heading size={400} paddingY={15} textAlign="center">
Created by{" "}
<Link href="https://twitter.com/ritz078">
<a target="_blank">@ritz078</a>