Skip to content

Commit 40339d2

Browse files
authored
Merge pull request #111 from back4app/revert_getting_started_button
fix: Revert Getting Started button
2 parents aacc817 + 059227f commit 40339d2

File tree

5 files changed

+5
-33
lines changed

5 files changed

+5
-33
lines changed

src/components/Sidebar/Sidebar.scss

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -260,31 +260,6 @@
260260
}
261261
}
262262

263-
.section_header_external_link {
264-
color: white;
265-
margin: 10px;
266-
height: 40px;
267-
background-color: #4caf50;
268-
border-radius: 3px;
269-
display: flex;
270-
justify-content: center;
271-
align-items: center;
272-
font-weight: bold;
273-
font-size: 16px;
274-
line-height: normal;
275-
font-family: Raleway;
276-
277-
&:hover {
278-
color: white;
279-
background-color: #57c55b;
280-
}
281-
282-
&:focus {
283-
color: white;
284-
text-decoration: none;
285-
}
286-
}
287-
288263
.section_contents {
289264
background: #0e69a0;
290265
padding: 16px 14px 16px 50px;

src/components/Sidebar/SidebarSection.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let SidebarSection = ({ active, children, name, link, icon, style, primaryBackgr
2626

2727
const linkComponent = link.startsWith('/')
2828
? <Link style={style} className={styles.section_header} to={{ pathname: link || '' }}>{iconContent}<span>{name}</span></Link>
29-
: <a style={style} className={styles.section_header_external_link} href={link} target="_blank" onClick={() => sendEvent()}>{iconContent}<span>{name}</span></a>;
29+
: <a style={style} className={styles.section_header} href={link} target="_blank" onClick={() => sendEvent()}>{iconContent}<span>{name}</span></a>;
3030
return (
3131
<div className={classes.join(' ')}>
3232
{active ?

src/dashboard/DashboardView.react.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ export default class DashboardView extends React.Component {
196196

197197
if (coreSubsections.length > 0) {
198198
appSidebarSections.push({
199-
name: 'Get Started!',
200-
icon: 'get-started',
201-
link: `${b4aSettings.DASHBOARD_PATH}/apidocs/${this.context.currentApp.applicationId}`
199+
name: 'API Reference',
200+
icon: 'api-reference',
201+
link: `${b4aSettings.DASHBOARD_PATH}/apidocs/${this.context.currentApp.applicationId}`,
202202
});
203203
appSidebarSections.push({
204204
name: 'Core',

src/icons/api-reference.svg

Lines changed: 1 addition & 0 deletions
Loading

src/icons/get-started.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)