Skip to content

Commit

Permalink
add windows to old-version-tabs.js
Browse files Browse the repository at this point in the history
Signed-off-by: Donny Yung <donaldyung@datawire.io>

Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
  • Loading branch information
Donny Yung authored and LukeShu committed Aug 4, 2021
1 parent ccd4fd6 commit 0059f23
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install/old-version-tabs.js
Expand Up @@ -8,6 +8,7 @@ import Box from '@material-ui/core/Box';
import CodeBlock from '@src/components/CodeBlock';
import LinuxIcon from '@src/assets/icons/linux.inline.svg';
import AppleIcon from '@src/assets/icons/apple.inline.svg';
import WindowsIcon from '@src/assets/icons/windows.inline.svg';

function TabPanel(props) {
const { children, value, index, ...other } = props;
Expand Down Expand Up @@ -63,6 +64,7 @@ export default function SimpleTabs() {
<Tabs value={value} onChange={handleChange} aria-label="operating system tabs">
<Tab icon={<AppleIcon />} label="macOS" {...a11yProps(0)} style={{ minWidth: "10%", textTransform: 'none' }} />
<Tab icon={<LinuxIcon />} label="Linux" {...a11yProps(1)} style={{ minWidth: "10%", textTransform: 'none' }} />
<Tab icon={<WindowsIcon />} label="Windows" {...a11yProps(1)} style={{ minWidth: "10%", textTransform: 'none' }} />
</Tabs>
</AppBar>
<TabPanel value={value} index={0}>
Expand All @@ -79,6 +81,13 @@ export default function SimpleTabs() {
}
</CodeBlock>
</TabPanel>
<TabPanel value={value} index={2}>
<CodeBlock>
{
'https://app.getambassador.io/download/tel2/windows/amd64/x.y.z/telepresence.zip'
}
</CodeBlock>
</TabPanel>
</div >
);
}

0 comments on commit 0059f23

Please sign in to comment.