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

chore: tidy up name list

This commit is contained in:
2019-08-01 00:58:44 +09:00
parent 92529201e8
commit 19ffa22c29
4 changed files with 91 additions and 68 deletions

View File

@@ -10,11 +10,12 @@ export default function DomainCard({ name }) {
<Card
title="Domain"
key={lowerCase}
nameList={[`${lowerCase}.app`, `${lowerCase}.dev`, `${lowerCase}.org`]}
nameList={[`${lowerCase}.com`, `${lowerCase}app.com`, `${lowerCase}.app`]}
alternativeList={[
`${lowerCase}app.com`,
`get${lowerCase}.com`,
`${lowerCase}.dev`,
`${lowerCase}.io`,
`${lowerCase}.build`,
`get${lowerCase}.com`,
]}>
{(name) => (
<DedicatedAvailability

View File

@@ -14,15 +14,14 @@ export default function NpmCard({ name }) {
name={name}
service="npm"
link={`https://www.npmjs.com/package/${name}`}
prefix="npmjs.com/"
icon={<FaNpm />}
/>
<DedicatedAvailability
name={name}
service="npm-org"
link={`https://www.npmjs.com/org/${name}`}
prefix="npmjs.com/~"
suffix=" (Org)"
prefix="@"
suffix=" (Organization)"
icon={<FaNpm />}
/>
</>