1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-21 10:18:12 +09:00

feat: smart suggestion

This commit is contained in:
2019-08-03 21:51:12 +09:00
parent f4b6140aa6
commit 3982fb5cc4
6 changed files with 91 additions and 30 deletions

View File

@@ -3,7 +3,6 @@ import { useTranslation } from 'react-i18next'
import { FaGithub } from 'react-icons/fa'
import { Card } from '../Cards'
import { DedicatedAvailability } from '../Availability'
import { capitalize } from '../../util/text'
export default function GithubCard({ name }) {
const { t } = useTranslation()
@@ -17,7 +16,7 @@ export default function GithubCard({ name }) {
`${lowerCase}hq`,
`${lowerCase}-team`,
`${lowerCase}-org`,
`${capitalize(name)}-js`,
`${lowerCase}-js`,
]}>
{(name) => (
<DedicatedAvailability