Skip to content

feat: remove support links #2185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/components/Sidebar/FooterMenu.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ export default class FooterMenu extends React.Component {
position={this.state.position}
onExternalClick={() => this.setState({ show: false })}>
<div className={styles.popup}>
<a href={`${mountPath}logout`}>Log Out <span className={styles.emoji}>👋</span></a>
<a target='_blank' href='http://docs.parseplatform.org/parse-server/guide/'>Server Guide <span className={styles.emoji}>📚</span></a>
<a target='_blank' href='http://stackoverflow.com/questions/tagged/parse.com'>Code-level Questions <span className={styles.emoji}>❓</span></a>
<a target='_blank' href='http://stackoverflow.com/questions/tagged/parse-server'>Server Questions <span className={styles.emoji}>❓</span></a>
<a target='_blank' href='http://serverfault.com/tags/parse'>Deployment/Maintenance <span className={styles.emoji}>⚡️</span></a>
<a href={`${mountPath}logout`}>Log Out</a>
</div>
</Popover>
);
Expand Down
10 changes: 2 additions & 8 deletions src/components/Sidebar/Sidebar.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import SidebarSubItem from 'components/Sidebar/SidebarSubItem.react';
import styles from 'components/Sidebar/Sidebar.scss';
import { CurrentApp } from 'context/currentApp';


const Sidebar = ({
prefix,
action,
Expand Down Expand Up @@ -179,14 +180,7 @@ const Sidebar = ({
<SidebarHeader isCollapsed={!appsMenuOpen && collapsed} />
{sidebarContent}
<div className={styles.footer}>
{!collapsed && (
<>
<a target='_blank' href='http://parseplatform.org/'>Open Source Hub</a>
<a target='_blank' href='https://github.com/parse-community'>GitHub</a>
<a target='_blank' href='http://docs.parseplatform.org/'>Docs</a>
</>
)}
<FooterMenu isCollapsed={!appsMenuOpen && collapsed} />
<FooterMenu isCollapsed={!appsMenuOpen && collapsed} />
</div>
</div>
);
Expand Down
22 changes: 12 additions & 10 deletions src/components/Sidebar/Sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -352,18 +352,18 @@ a.subitem {

.popup {
position: absolute;
bottom: 4px;
left: -183px;
bottom: 12px;
left: -64px;
background: white;
width: 200px;
width: 100px;
border-radius: 5px;

&:after {
@include arrow('down', 12px, 6px, #ffffff);
content: '';
position: absolute;
bottom: -6px;
right: 11px;
right: 42px;
}

a {
Expand All @@ -372,21 +372,23 @@ a.subitem {
height: 30px;
line-height: 31px;
font-size: 13px;
text-align: right;
text-align: center;
border-bottom: 1px solid #e0e0ea;
color: $mainTextColor;
padding-right: 8px;
&:hover{
background-color: darken(white,4%)
}


&:first-child {
border-radius: 5px 5px 0 0;
border-radius: 5px;
// border-radius: 5px 5px 0 0;
}

&:last-child {
border-bottom: 0;
border-radius: 0 0 5px 5px;
border-radius: 5px;
// border-bottom: 0;
// border-radius: 0 0 5px 5px;
}

.emoji{
Expand Down Expand Up @@ -414,4 +416,4 @@ a.subitem {
fill: white;
}
}
}
}