Skip to content

Commit

Permalink
feat: remove support and documentation links (parse-community#2203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored Jul 4, 2022
1 parent 8e28b2a commit 35e4476
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
8 changes: 2 additions & 6 deletions src/components/Sidebar/FooterMenu.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class FooterMenu extends React.Component {

toggle() {
let pos = Position.inWindow(this.moreRef.current);
pos.x += 24;
pos.x += 95;
this.setState({
show: true,
position: pos
Expand All @@ -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
7 changes: 0 additions & 7 deletions src/components/Sidebar/Sidebar.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,6 @@ 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} />
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/components/Sidebar/Sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -363,16 +363,16 @@ a.subitem {
content: '';
position: absolute;
bottom: -6px;
right: 11px;
right: 94px;
}

a {
@include NotoSansFont;
display: block;
height: 30px;
line-height: 31px;
height: 40px;
line-height: 41px;
font-size: 13px;
text-align: right;
text-align: center;
border-bottom: 1px solid #e0e0ea;
color: $mainTextColor;
padding-right: 8px;
Expand All @@ -381,12 +381,12 @@ a.subitem {
}

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

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

.emoji{
Expand Down

0 comments on commit 35e4476

Please sign in to comment.