From 34e9db922f4998a651fe27c6e04f01d1b5b3f46b Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Sat, 4 Jun 2022 17:00:40 +0900 Subject: [PATCH] feat: new card "Fly.io" Fixes #167 --- public/locales/en/translation.json | 3 ++- src/App.tsx | 3 +-- src/components/cards/index.tsx | 2 ++ src/components/cards/providers/FlyIo.tsx | 33 ++++++++++++++++++++++++ src/util/i18n.ts | 2 +- 5 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 src/components/cards/providers/FlyIo.tsx diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index c7c1d60..6d35067 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -49,7 +49,8 @@ "chromeWebStore": "Chrome Web Store", "firefoxAddons": "Firefox Add-ons", "youtube": "YouTube", - "hexpm": "Hex" + "hexpm": "Hex", + "fly": "Fly.io" }, "showMore": "show more", "try": "How about this?", diff --git a/src/App.tsx b/src/App.tsx index d07277d..ce09815 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,7 +5,6 @@ import Home from './pages/Home'; import Search from './pages/Search'; import { GlobalStyle } from './theme'; import { useOpenSearch } from './util/hooks'; -import { isStandalone } from './util/pwa'; export default function App() { const OpenSearch = useOpenSearch('/opensearch.xml'); @@ -21,7 +20,7 @@ export default function App() { } /> - {!isStandalone() &&