diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-06-02 15:01:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 15:01:16 -0500 |
commit | ad4eaf5ed2e35233ecc7b29ddcafc52c2001dcd1 (patch) | |
tree | 3146096481eb8641cf41c50c3ed3202dcb97bad0 /src/lib/constants.ts | |
parent | e8843ded5bf1f3d97b735ffe8f8553de46f9b18b (diff) | |
download | voidsky-ad4eaf5ed2e35233ecc7b29ddcafc52c2001dcd1.tar.zst |
Move suggested follow recommendations to the server (#836)
* Move suggested follow recommendations to the server * fix search results color in dark mode --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 170fe640f..0a6956909 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -35,67 +35,6 @@ export function TEAM_HANDLES(serviceUrl: string) { } } -// NOTE -// this is a temporary list that we periodically update -// it is used in the search interface if the user doesn't follow anybody -// -prf -export const PROD_SUGGESTED_FOLLOWS = [ - 'bsky.app', - 'jay.bsky.team', - 'pfrazee.com', - 'why.bsky.team', - 'dholms.xyz', - 'emily.bsky.team', - 'rose.bsky.team', - 'jack.bsky.social', - 'faithlove.art', - 'annaghughes.bsky.social', - 'astrokatie.com', - 'whysharksmatter.bsky.social', - 'jamesgunn.bsky.social', - 'seangunn.bsky.social', - 'kumail.bsky.social', - 'craignewmark.bsky.social', - 'xychelsea.tv', - 'catsofyore.bsky.social', - 'mcq.bsky.social', - 'mmasnick.bsky.social', - 'kelseyhightower.com', - 'aliafonzy.bsky.social', - 'bradfitz.com', - 'danabramov.bsky.social', - 'shinyakato.dev', - 'karpathy.bsky.social', - 'lookitup.baby', - 'pariss.blacktechpipeline.com', - 'swiftonsecurity.com', - 'ericajoy.astrel.la', - 'b0rk.jvns.ca', - 'vickiboykis.com', - 'brooke.vibe.camp', - 'amir.blue', - 'moskov.bsky.social', - 'neilhimself.bsky.social', - 'kylierobison.com', - 'carnage4life.bsky.social', - 'lolennui.bsky.social', -] -export const STAGING_SUGGESTED_FOLLOWS = ['arcalinea', 'paul', 'paul2'].map( - handle => `${handle}.staging.bsky.dev`, -) -export const DEV_SUGGESTED_FOLLOWS = ['alice', 'bob', 'carla'].map( - handle => `${handle}.test`, -) -export function SUGGESTED_FOLLOWS(serviceUrl: string) { - if (serviceUrl.includes('localhost')) { - return DEV_SUGGESTED_FOLLOWS - } else if (serviceUrl.includes('staging')) { - return STAGING_SUGGESTED_FOLLOWS - } else { - return PROD_SUGGESTED_FOLLOWS - } -} - export const STAGING_DEFAULT_FEED = (rkey: string) => `at://did:plc:wqzurwm3kmaig6e6hnc2gqwo/app.bsky.feed.generator/${rkey}` export const PROD_DEFAULT_FEED = (rkey: string) => |