-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address design review: remove ec2 instance eice flow
- Loading branch information
Showing
6 changed files
with
86 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** | ||
* Teleport | ||
* Copyright (C) 2024 Gravitational, Inc. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
import React from 'react'; | ||
import { Link as InternalLink } from 'react-router-dom'; | ||
import { OutlineInfo } from 'design/Alert/Alert'; | ||
import { Box } from 'design'; | ||
|
||
import cfg from 'teleport/config'; | ||
|
||
import { InfoIcon } from '../Shared/InfoIcon'; | ||
import { Mark } from '../Shared'; | ||
|
||
export const SingleEc2InstanceInstallation = () => ( | ||
<OutlineInfo mt={3} linkColor="buttons.link.default"> | ||
<Box> | ||
<InfoIcon /> | ||
</Box> | ||
<Box> | ||
Auto discovery will enroll all EC2 instances found in a region. If you | ||
want to enroll a <Mark>single</Mark> EC2 instance instead, consider | ||
following the{' '} | ||
<InternalLink | ||
to={{ | ||
pathname: cfg.routes.discover, | ||
state: { searchKeywords: 'linux' }, | ||
}} | ||
> | ||
Teleport service installation | ||
</InternalLink>{' '} | ||
flow instead. | ||
</Box> | ||
</OutlineInfo> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* Teleport | ||
* Copyright (C) 2024 Gravitational, Inc. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
import styled from 'styled-components'; | ||
import { Info } from 'design/Icon'; | ||
|
||
export const InfoIcon = styled(Info)` | ||
background-color: ${p => p.theme.colors.link}; | ||
border-radius: 100px; | ||
height: 32px; | ||
width: 32px; | ||
color: ${p => p.theme.colors.text.primaryInverse}; | ||
margin-right: ${p => p.theme.space[2]}px; | ||
`; |