diff --git a/components/Navigator.tsx b/components/Navigator.tsx index 4ef8d5a..e527073 100644 --- a/components/Navigator.tsx +++ b/components/Navigator.tsx @@ -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 ( - - + +
+ Created by{" "} @ritz078 diff --git a/package.json b/package.json index ddfe902..e13be3f 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,7 @@ "json-ts": "^1.6.4", "json_typegen_wasm": "^0.3.3", "jsonld": "^1.6.2", + "load-script": "^1.0.0", "lodash": "^4.17.15", "markdown": "^0.5.0", "monaco-editor": "^0.17.1", diff --git a/pages/_app.tsx b/pages/_app.tsx index c7dcf71..3bbe3c6 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,6 +1,6 @@ import React from "react"; import App, { Container } from "next/app"; -import { Button, Text, Pane, Popover, Link, Heading } from "evergreen-ui"; +import { Button, Pane } from "evergreen-ui"; import Navigator from "@components/Navigator"; import "@styles/main.css"; @@ -121,41 +121,6 @@ export default class extends App { - ( - - - Your Data is always with you. - - - - This website doesn't track your data. The code of this - website is open source which you can find{" "} - - on GitHub - - . All the transformations except{" "} - - TypeScript to Flow - {" "} - work entirely on the client side. - - - )} - > - -