Skip to content

Commit a43bf1a

Browse files
committed
Merge branch 'nik-tweak-footer' into 'master'
chore: adjust footer and left sidebar in Platform's Console See merge request postgres-ai/database-lab!541
2 parents 2cc3dcb + b3af1c0 commit a43bf1a

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

ui/packages/platform/src/components/ContentLayout/Footer/index.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const Footer = () => {
5959

6060
return (
6161
<div className={classes.footer}>
62-
<div className={classes.footerCopyrightItem}>2021 © Postgres.ai</div>
62+
<div className={classes.footerCopyrightItem}>{new Date().getFullYear()} © Postgres.ai</div>
6363
<div className={classes.footerItem}>
6464
<Link href={settings.rootUrl + '/docs'} target="_blank">
6565
Documentation
@@ -85,12 +85,9 @@ export const Footer = () => {
8585
</div>
8686
<div className={classes.footerItemSeparator}>|</div>
8787
<div className={classes.footerItem}>
88-
<span
89-
onClick={() => window.Intercom && window.Intercom('show')}
90-
style={{ cursor: 'pointer' }}
91-
>
88+
<Link href={settings.rootUrl + '/contact'} target="_blank">
9289
Ask support
93-
</span>
90+
</Link>
9491
</div>
9592
</div>
9693
)

ui/packages/platform/src/components/IndexPage.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -954,16 +954,17 @@ function SupportMenu(props) {
954954
</a>
955955
</ListItem>
956956
<ListItem button className={props.classes.bottomFixedMenuItem}>
957-
<span
957+
<a
958958
className={props.classes.menuSectionHeaderLink}
959-
activeClassName={props.classes.menuSectionHeaderActiveLink}
960-
onClick={() => window.Intercom && window.Intercom('show')}
959+
activeClassName={props.classes.menuSectionHeaderLink}
960+
target='_blank'
961+
href={settings.rootUrl + '/contact'}
961962
>
962963
<span className={props.classes.menuSectionHeaderIcon}>
963964
{icons.supportIcon}
964965
</span>
965966
Ask support
966-
</span>
967+
</a>
967968
</ListItem>
968969
</List>
969970
);

0 commit comments

Comments
 (0)