mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 12:30:32 +09:00
feat: disable google
This commit is contained in:
parent
102b98b76a
commit
3e3171d553
@ -17,7 +17,6 @@ import S3Card from './components/cards/S3Card'
|
|||||||
import JsOrgCard from './components/cards/JsOrgCard'
|
import JsOrgCard from './components/cards/JsOrgCard'
|
||||||
import GithubSearchCard from './components/cards/GithubSearchCard'
|
import GithubSearchCard from './components/cards/GithubSearchCard'
|
||||||
import AppStoreCard from './components/cards/AppStoreCard'
|
import AppStoreCard from './components/cards/AppStoreCard'
|
||||||
import GoogleCard from './components/cards/GoogleCard'
|
|
||||||
|
|
||||||
import Welcome from './components/Welcome'
|
import Welcome from './components/Welcome'
|
||||||
import Footer from './components/Footer'
|
import Footer from './components/Footer'
|
||||||
@ -108,7 +107,6 @@ export default function App() {
|
|||||||
<Cards>
|
<Cards>
|
||||||
<GithubSearchCard query={query} />
|
<GithubSearchCard query={query} />
|
||||||
<AppStoreCard query={query} />
|
<AppStoreCard query={query} />
|
||||||
<GoogleCard query={query} />
|
|
||||||
</Cards>
|
</Cards>
|
||||||
</SearchResult>
|
</SearchResult>
|
||||||
) : (
|
) : (
|
||||||
|
@ -14,7 +14,6 @@ import {
|
|||||||
FaSlack,
|
FaSlack,
|
||||||
FaAws,
|
FaAws,
|
||||||
FaJsSquare,
|
FaJsSquare,
|
||||||
FaGoogle,
|
|
||||||
} from 'react-icons/fa'
|
} from 'react-icons/fa'
|
||||||
import { IoIosBeer } from 'react-icons/io'
|
import { IoIosBeer } from 'react-icons/io'
|
||||||
import { DiRust } from 'react-icons/di'
|
import { DiRust } from 'react-icons/di'
|
||||||
@ -73,9 +72,6 @@ export default function Welcome() {
|
|||||||
<ListItem>
|
<ListItem>
|
||||||
<FaAppStore /> {t('providers.appStore')}
|
<FaAppStore /> {t('providers.appStore')}
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem>
|
|
||||||
<FaGoogle /> {t('providers.google')}
|
|
||||||
</ListItem>
|
|
||||||
</List>
|
</List>
|
||||||
</Container>
|
</Container>
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@ import { FaGoogle, FaInfoCircle } from 'react-icons/fa'
|
|||||||
import { Card, Result } from '../Cards'
|
import { Card, Result } from '../Cards'
|
||||||
|
|
||||||
function Search({ query }) {
|
function Search({ query }) {
|
||||||
const term = `${query} app service -twitter -facebook -amazon -vimeo -linkedin -site:dictionary.cambridge.org -site:weblio.jp -site:appbank.net -いかがでした -キャンペーン`
|
const term = `intitle:"${query}" app -site:dictionary.cambridge.org -site:weblio.jp`
|
||||||
const response = useFetch(`/availability/google/${encodeURIComponent(term)}`)
|
const response = useFetch(`/availability/google/${encodeURIComponent(term)}`)
|
||||||
const items = response.result
|
const items = response.result
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user