diff --git a/src/components/Producthunt/index.tsx b/src/components/Producthunt/index.tsx new file mode 100644 index 0000000..3b366f4 --- /dev/null +++ b/src/components/Producthunt/index.tsx @@ -0,0 +1,28 @@ +import React from "react"; +import styled from "styled-components"; + +const StyledProducthunt = styled.a` + position: fixed; + bottom: 12px; + right: 12px; +`; + +const StyledImage = styled.img` + width: 250px; + height: 54px; +`; + +export const Producthunt = () => { + return ( + + + + ); +}; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 98a41de..160dbc9 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -8,6 +8,7 @@ import { AiFillGithub } from "react-icons/ai"; import { Footer } from "src/components/Footer"; import Link from "next/link"; import Head from "next/head"; +import { Producthunt } from "src/components/Producthunt"; const StyledHome = styled.div` padding: 24px; @@ -124,6 +125,7 @@ const Home: React.FC = () => { preview +