diff --git a/website/src/pages/index.js b/website/src/pages/index.js index eb9722892..3eea8fe06 100644 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -11,11 +11,9 @@ import React from 'react'; import Layout from '@theme/Layout'; import useBaseUrl from '@docusaurus/useBaseUrl'; import {usePluginData} from '@docusaurus/useGlobalData'; -import {isInternal} from 'internaldocs-fb-helpers'; +import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers'; export default function Index() { - const FB_INTERNAL = isInternal(); - return (
@@ -28,16 +26,15 @@ export default function Index() { desktop interface. Use Flipper as is or extend it using the plugin API. - {FB_INTERNAL ? ( +

Facebook employees should download the internal version of Flipper from Managed Software Center

- ) : ( +
+
-

+

Download

- )} +
Integrate Flipper In Your App - {FB_INTERNAL ? null : ( + Download Flipper - )} +