Skip to content

Commit

Permalink
feat: update i/o super tiles
Browse files Browse the repository at this point in the history
* Remove CodeStream super tile component
* Make Guided install tile full width
* Update copy for Guided install tile
  • Loading branch information
aswanson-nr committed Dec 27, 2021
1 parent 9272c5f commit 0d9dbd0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 113 deletions.
11 changes: 1 addition & 10 deletions COMPONENT_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ You can see the difference in what is displayed below:

### Usage

The `SuperTiles` component renders the `GuidedInstallTile` and `CodeStreamTile` (treatment) components.
The `SuperTiles` component renders the `GuidedInstallTile` component.

To include it:

Expand Down Expand Up @@ -484,12 +484,3 @@ The `GuidedInstallTile` component includes custom content relevant to the guided
<GuidedInstallTile />
```

### CodeStreamTile

### Usage

The `CodeStreamTile` component includes custom content relevant to New Relic CodeStream.

```html
<CodeStreamTile />
```
92 changes: 0 additions & 92 deletions src/components/CodeStreamTile.js

This file was deleted.

9 changes: 5 additions & 4 deletions src/components/GuidedInstallTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const GuidedInstallTile = () => {
line-height: 20px;
`}
>
First Steps
First step
</span>
<h2
css={css`
Expand All @@ -63,7 +63,7 @@ const GuidedInstallTile = () => {
}
`}
>
Guided Install
Guided install
</h2>
<span
css={css`
Expand All @@ -74,8 +74,9 @@ const GuidedInstallTile = () => {
}
`}
>
Install the New Relic agent with a single command line and start
monitoring your log and infrastructure data in real time.
Many engineers start here. You'll install an agent with a single
command line and start monitoring your log and infrastructure data
in real time.
</span>
</div>
<div>
Expand Down
8 changes: 1 addition & 7 deletions src/components/SuperTiles.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { css } from '@emotion/react';
import CodeStreamTile from './CodeStreamTile';
import GuidedInstallTile from './GuidedInstallTile';

const SuperTiles = () => {
Expand All @@ -10,15 +9,10 @@ const SuperTiles = () => {
display: grid;
margin-bottom: 16px;
gap: 16px;
grid-template-columns: repeat(2, 1fr);
@media (max-width: 1180px) {
grid-template-columns: repeat(1, 1fr);
}
grid-template-columns: repeat(1, 1fr);
`}
>
<GuidedInstallTile />
<CodeStreamTile />
</div>
);
};
Expand Down

0 comments on commit 0d9dbd0

Please sign in to comment.