Tell FB employees to use MSC instead of downloading
Reviewed By: mweststrate Differential Revision: D23265192 fbshipit-source-id: 0c8bb5dd281e6d23efe72b708e1954db54f9d5f1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0b528f19ce
commit
79b1f8a1c1
@@ -15,7 +15,7 @@
|
||||
"@docusaurus/preset-classic": "^2.0.0-alpha.61",
|
||||
"classnames": "^2.2.6",
|
||||
"docblock-parser": "^1.0.0",
|
||||
"docusaurus-plugin-internaldocs-fb": "^0.3.3",
|
||||
"docusaurus-plugin-internaldocs-fb": "^0.3.4",
|
||||
"file-cli": "^1.2.0",
|
||||
"glob": "^7.1.3",
|
||||
"react": "^16.13.1",
|
||||
|
||||
@@ -10,8 +10,11 @@
|
||||
import React from 'react';
|
||||
import Layout from '@theme/Layout';
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import {usePluginData} from '@docusaurus/useGlobalData';
|
||||
|
||||
export default function Index() {
|
||||
const {FB_INTERNAL} = usePluginData('internaldocs-fb');
|
||||
|
||||
return (
|
||||
<Layout title="Extensible mobile app debugger">
|
||||
<div>
|
||||
@@ -24,6 +27,12 @@ export default function Index() {
|
||||
desktop interface. Use Flipper as is or extend it using the plugin
|
||||
API.
|
||||
</h2>
|
||||
{FB_INTERNAL ? (
|
||||
<h2>
|
||||
Facebook employees should download the internal version of
|
||||
Flipper from Managed Software Center
|
||||
</h2>
|
||||
) : (
|
||||
<div>
|
||||
<p
|
||||
className="landing-btn landing-btn-left landing-btn-label"
|
||||
@@ -51,6 +60,7 @@ export default function Index() {
|
||||
Learn more
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
<div className="slideshow">
|
||||
<img src={useBaseUrl('img/logs.png')} className="splashScreen" />
|
||||
<img
|
||||
@@ -149,12 +159,14 @@ export default function Index() {
|
||||
className="landing-btn primary">
|
||||
Integrate Flipper In Your App
|
||||
</a>
|
||||
{FB_INTERNAL ? null : (
|
||||
<a
|
||||
href="https://www.facebook.com/fbflipper/public/mac"
|
||||
target="_blank"
|
||||
className="landing-btn">
|
||||
Download Flipper
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</Layout>
|
||||
|
||||
@@ -4384,10 +4384,10 @@ doctrine@^3.0.0:
|
||||
dependencies:
|
||||
esutils "^2.0.2"
|
||||
|
||||
docusaurus-plugin-internaldocs-fb@^0.3.3:
|
||||
version "0.3.3"
|
||||
resolved "https://registry.yarnpkg.com/docusaurus-plugin-internaldocs-fb/-/docusaurus-plugin-internaldocs-fb-0.3.3.tgz#f59b6d6cf11e2ab73d9a3622e7629ab5f92ef0bc"
|
||||
integrity sha512-9xPQWw04M6v3uN9spxHovGDhAVsjLbQUmq8ngZZVzZxysMOEIFs/bt5TS6LLDRUfKoZ/JB2V6eIoYihsNOmWoQ==
|
||||
docusaurus-plugin-internaldocs-fb@^0.3.4:
|
||||
version "0.3.4"
|
||||
resolved "https://registry.yarnpkg.com/docusaurus-plugin-internaldocs-fb/-/docusaurus-plugin-internaldocs-fb-0.3.4.tgz#15f0c1c2aec2623065a75a4d477606b85c75d1d9"
|
||||
integrity sha512-vXyGClSrMvlH3H/rMJ6UbIBFVklSgpCnO5CPwGyPQS6G8Kp7MqjBcFQCRZ1sWTzbow6iMhC9UpQSoeWRNXwD/w==
|
||||
|
||||
dom-converter@^0.2:
|
||||
version "0.2.0"
|
||||
|
||||
Reference in New Issue
Block a user