import React, { ReactElement } from 'react' import { useSiteMetadata } from '../../../hooks/useSiteMetadata' import Icon from '../../atoms/Icon' import * as styles from './Actions.module.css' interface ActionProps { title: string text: string icon: string url?: string onClick?(): void } const Action = ({ title, text, url, icon, onClick }: ActionProps) => { return (

{title}

{text}

) } export default function PostActions({ githubLink }: { githubLink: string }): ReactElement { const { author } = useSiteMetadata() return (
) }