mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +09:00
fix: sort out suggestions
This commit is contained in:
parent
f41768dd12
commit
081dc50c43
@ -8,11 +8,11 @@ const DomainCard: React.FC<{query: string}> = ({query}) => {
|
||||
const {t} = useTranslation();
|
||||
const lowerCase = query.toLowerCase();
|
||||
|
||||
const names = [`${lowerCase}.com`, `${lowerCase}.app`];
|
||||
const names = [`${lowerCase}.com`, `${lowerCase}.app`, `${lowerCase}.dev`];
|
||||
const moreNames = [
|
||||
`${lowerCase}app.com`,
|
||||
`get${lowerCase}.com`,
|
||||
`${lowerCase}.dev`,
|
||||
`${lowerCase}.org`,
|
||||
`${lowerCase}.io`,
|
||||
`${lowerCase}.tools`,
|
||||
];
|
||||
|
@ -8,12 +8,12 @@ const GithubCard: React.FC<{query: string}> = ({query}) => {
|
||||
const {t} = useTranslation();
|
||||
const lowerCase = query.toLowerCase();
|
||||
|
||||
const names = [query];
|
||||
const names = [query, `${lowerCase}-dev`];
|
||||
const moreNames = [
|
||||
`${lowerCase}hq`,
|
||||
`${lowerCase}-team`,
|
||||
`${lowerCase}-org`,
|
||||
`${lowerCase}-js`,
|
||||
`${lowerCase}js`,
|
||||
];
|
||||
|
||||
return (
|
||||
|
@ -10,14 +10,13 @@ const TwitterCard: React.FC<{query: string}> = ({query}) => {
|
||||
const lowerCase = query.toLowerCase();
|
||||
const capitalCase = capitalize(query);
|
||||
|
||||
const names = [query];
|
||||
const names = [query, `${capitalCase}App`, `${lowerCase}hq`];
|
||||
const moreNames = [
|
||||
`${lowerCase}app`,
|
||||
`hey${lowerCase}`,
|
||||
`${capitalCase}Team`,
|
||||
`${capitalCase}HQ`,
|
||||
`${lowerCase}_official`,
|
||||
`${lowerCase}-support`,
|
||||
`${lowerCase}_org`,
|
||||
`${capitalCase}JS`,
|
||||
];
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user