1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-16 20:20:38 +09:00

fix: update twitter

This commit is contained in:
uetchy 2020-07-03 12:46:34 +09:00
parent fe5f2004bf
commit 1d1aaf33e4
2 changed files with 10 additions and 14 deletions

View File

@ -48,7 +48,7 @@
<meta property="og:type" content="website" />
<meta property="og:image" content="https://namae.dev/social.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@uetschy" />
<meta name="twitter:creator" content="@uechz" />
<meta name="twitter:image" content="https://namae.dev/social.png" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat:600&display=swap"

View File

@ -1,11 +1,11 @@
import React from 'react';
import { OutboundLink } from 'react-ga';
import { useTranslation } from 'react-i18next';
import { FaGithub, FaProductHunt, FaTwitter } from 'react-icons/fa';
import styled from 'styled-components';
import {useTranslation} from 'react-i18next';
import {FaTwitter, FaGithub, FaProductHunt} from 'react-icons/fa';
import {OutboundLink} from 'react-ga';
const Footer: React.FC = () => {
const {t} = useTranslation();
const { t } = useTranslation();
return (
<Container>
@ -30,11 +30,10 @@ const Footer: React.FC = () => {
</span>{' '}
by{' '}
<OutboundLink
to="https://twitter.com/uetschy"
to="https://twitter.com/uechz"
eventLabel="Author Page"
aria-label="Author page"
target="_blank"
>
target="_blank">
<Bold>Yasuaki Uechi</Bold>
</OutboundLink>
</p>
@ -48,24 +47,21 @@ const Footer: React.FC = () => {
)}&url=${encodeURIComponent('https://namae.dev')}`}
eventLabel="Tweet"
aria-label="Tweet this page"
target="_blank"
>
target="_blank">
<FaTwitter />
</OutboundLink>
<OutboundLink
to="https://www.producthunt.com/posts/namae"
eventLabel="ProductHunt"
aria-label="Go to ProductHunt page"
target="_blank"
>
target="_blank">
<FaProductHunt />
</OutboundLink>
<OutboundLink
to="https://github.com/uetchy/namae"
eventLabel="GitHub Repo"
aria-label="Go to GitHub repository"
target="_blank"
>
target="_blank">
<FaGithub />
</OutboundLink>
</Links>