about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-20 17:22:36 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-20 17:22:36 +0000
commitcf9d884b5bd6f7feb1231e3ddc882b07b44b7343 (patch)
treeb27aef01d04e039c413dc995b2b7187d489c8add /src
parenteacd1cbe2af2446140a8a05140e89941f779c2ff (diff)
downloadvoidsky-cf9d884b5bd6f7feb1231e3ddc882b07b44b7343.tar.zst
use inlinelink instead of textlink
Diffstat (limited to 'src')
-rw-r--r--src/view/com/auth/SplashScreen.web.tsx27
1 files changed, 10 insertions, 17 deletions
diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx
index 7e5ddaffb..e8f312491 100644
--- a/src/view/com/auth/SplashScreen.web.tsx
+++ b/src/view/com/auth/SplashScreen.web.tsx
@@ -1,7 +1,6 @@
 import React from 'react'
 import {View, Pressable} from 'react-native'
 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
-import {TextLink} from '../util/Link'
 import {ErrorBoundary} from 'view/com/util/ErrorBoundary'
 import {CenteredView} from '../util/Views'
 import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
@@ -16,6 +15,7 @@ import {atoms as a, useTheme} from '#/alf'
 import {Button, ButtonText} from '#/components/Button'
 import {ChevronBottom_Stroke2_Corner0_Rounded as ChevronDown} from '#/components/icons/Chevron'
 import {Text} from '#/components/Typography'
+import {InlineLink} from '#/components/Link'
 
 export const SplashScreen = ({
   onDismiss,
@@ -128,7 +128,6 @@ export const SplashScreen = ({
 }
 
 function Footer() {
-  const {_} = useLingui()
   const t = useTheme()
 
   const langPrefs = useLanguagePrefs()
@@ -162,21 +161,15 @@ function Footer() {
         a.flex_1,
         t.atoms.border_contrast_medium,
       ]}>
-      <TextLink
-        href="https://bsky.social"
-        text={_(msg`Business`)}
-        style={{color: t.palette.primary_500}}
-      />
-      <TextLink
-        href="https://bsky.social/about/blog"
-        text={_(msg`Blog`)}
-        style={{color: t.palette.primary_500}}
-      />
-      <TextLink
-        href="https://bsky.social/about/join"
-        text={_(msg`Jobs`)}
-        style={{color: t.palette.primary_500}}
-      />
+      <InlineLink to="https://bsky.social">
+        <Trans>Business</Trans>
+      </InlineLink>
+      <InlineLink to="https://bsky.social/about/blog">
+        <Trans>Blog</Trans>
+      </InlineLink>
+      <InlineLink to="https://bsky.social/about/join">
+        <Trans>Jobs</Trans>
+      </InlineLink>
 
       <View style={a.flex_1} />