mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +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 GithubSearchCard from './components/cards/GithubSearchCard'
|
||||
import AppStoreCard from './components/cards/AppStoreCard'
|
||||
import GoogleCard from './components/cards/GoogleCard'
|
||||
|
||||
import Welcome from './components/Welcome'
|
||||
import Footer from './components/Footer'
|
||||
@ -108,7 +107,6 @@ export default function App() {
|
||||
<Cards>
|
||||
<GithubSearchCard query={query} />
|
||||
<AppStoreCard query={query} />
|
||||
<GoogleCard query={query} />
|
||||
</Cards>
|
||||
</SearchResult>
|
||||
) : (
|
||||
|
@ -14,7 +14,6 @@ import {
|
||||
FaSlack,
|
||||
FaAws,
|
||||
FaJsSquare,
|
||||
FaGoogle,
|
||||
} from 'react-icons/fa'
|
||||
import { IoIosBeer } from 'react-icons/io'
|
||||
import { DiRust } from 'react-icons/di'
|
||||
@ -73,9 +72,6 @@ export default function Welcome() {
|
||||
<ListItem>
|
||||
<FaAppStore /> {t('providers.appStore')}
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<FaGoogle /> {t('providers.google')}
|
||||
</ListItem>
|
||||
</List>
|
||||
</Container>
|
||||
)
|
||||
|
@ -6,7 +6,7 @@ import { FaGoogle, FaInfoCircle } from 'react-icons/fa'
|
||||
import { Card, Result } from '../Cards'
|
||||
|
||||
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 items = response.result
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user