diff --git a/.eslintignore b/.eslintignore index f7182818..c87c9b39 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,8 +4,6 @@ /node_modules /.pnp .pnp.js -package.json -yarn.lock # testing /coverage @@ -25,12 +23,14 @@ yarn.lock npm-debug.log* yarn-debug.log* yarn-error.log* +.pnpm-debug.log* # local env files -.env.local -.env.development.local -.env.test.local -.env.production.local +.env*.local # vercel .vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/.gitignore b/.gitignore index 1437c53f..c87c9b39 100644 --- a/.gitignore +++ b/.gitignore @@ -23,12 +23,14 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +.pnpm-debug.log* # local env files -.env.local -.env.development.local -.env.test.local -.env.production.local +.env*.local # vercel .vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/README.md b/README.md index 0eae6ec3..3f0f0ea0 100644 --- a/README.md +++ b/README.md @@ -2,32 +2,6 @@ [あなたのオタクタイプ診断 by あにまーれ (あにまーれ診断)](https://shindan.animare.cafe/) は有閑喫茶あにまーれや有閑喫茶あにまーれに所属するメンバーを題材とした非公式のウェブサービスです。[あなたのオタクタイプ診断 by IRIAM](https://shindan.iriam.com/) をオリジナルとして、デザインやレイアウトの転用をしていますが素材の流用は一切行っていません。 -## 一覧 - -| ID | タイプ | 名前 | -| -------------- | -------------- | ---------- | -| [`3bXvK25U`][] | お料理系メイド | 因幡はねる | -| [`4yoyHoB7`][] | メガネ系先生 | 因幡はねる | -| [`DAltKHae`][] | 最速系書家 | 因幡はねる | -| [`hUuAaZpw`][] | 清楚系うさぎ | 因幡はねる | -| [`jk54nVLu`][] | 努力系ゲーマー | 因幡はねる | -| [`kJN5x4Vl`][] | 料理上手系店員 | 因幡はねる | -| [`rKAeiUil`][] | 3D 系うさぎ | 因幡はねる | -| [`sJEfGEiw`][] | サンタ系彼女 | 因幡はねる | -| [`Tm3fKyEP`][] | 知性派系アナ | 因幡はねる | -| [`xGr4nzdz`][] | 浴衣系彼女 | 因幡はねる | - ## ライセンス [MIT](LICENSE) - -[`3bxvk25u`]: https://shindan.animare.cafe/s/3bXvK25U?s=true -[`4yoyhob7`]: https://shindan.animare.cafe/s/4yoyHoB7?s=true -[`daltkhae`]: https://shindan.animare.cafe/s/DAltKHae?s=true -[`huuaazpw`]: https://shindan.animare.cafe/s/hUuAaZpw?s=true -[`jk54nvlu`]: https://shindan.animare.cafe/s/jk54nVLu?s=true -[`kjn5x4vl`]: https://shindan.animare.cafe/s/kJN5x4Vl?s=true -[`rkaeiuil`]: https://shindan.animare.cafe/s/rKAeiUil?s=true -[`sjefgeiw`]: https://shindan.animare.cafe/s/sJEfGEiw?s=true -[`tm3fkyep`]: https://shindan.animare.cafe/s/Tm3fKyEP?s=true -[`xgr4nzdz`]: https://shindan.animare.cafe/s/xGr4nzdz?s=true diff --git a/components/footer.tsx b/components/footer.tsx index e00b981f..7939e690 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -3,8 +3,6 @@ import styled from 'styled-components' import pkg from '../package.json' -import type { VFC } from 'react' - const Content = styled.footer` align-items: center; background-color: #fff; @@ -15,7 +13,7 @@ const Content = styled.footer` padding: 20px 12px 32px; ` -const ReleaseLink = styled.a` +const ReleaseLink = styled(Link)` color: #000; display: block; font-size: 1.2rem; @@ -38,17 +36,15 @@ const Copyright = styled.p` } ` -const Footer: VFC = () => { +export default function Footer(): JSX.Element { return ( - - - Version {pkg.version.split('.').slice(0, 2).join('.')} - - + + Version {pkg.version.split('.').slice(0, 2).join('.')} + - {'Copyright 2018-2022 '} + {'Copyright 2018-2023 '} Haneru Developers @@ -56,5 +52,3 @@ const Footer: VFC = () => { ) } - -export default Footer diff --git a/components/header.tsx b/components/header.tsx index bd0bba6b..9ae89019 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -6,8 +6,6 @@ import twitterLogo from '../assets/twitter.svg' import { createLineShareURL, createTweetURL } from '../lib/share' import pkg from '../package.json' -import type { VFC } from 'react' - const Container = styled.header` align-items: center; display: flex; @@ -18,7 +16,7 @@ const Container = styled.header` width: 100%; ` -const Logo = styled.a` +const Logo = styled(Link)` background-color: #212121; border-radius: 3px; color: #fff; @@ -70,12 +68,12 @@ const ShareLogo = styled.img` } ` -const Header: VFC = () => { +export default function Header(): JSX.Element { return ( - - ANiMARE - + + ANiMARE +