Skip to content

Commit

Permalink
Merge pull request #269 from mstable/feat/update-lts-logo-link
Browse files Browse the repository at this point in the history
feat: update lts logo link
  • Loading branch information
dimlbc authored Aug 9, 2023
2 parents 22f6157 + 6292830 commit a31daa7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
13 changes: 3 additions & 10 deletions apps/lts/src/components/Topnav.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { SettingsButton } from '@frontend/lts-settings';
import { MSTABLE_LANDING_PAGE_URL } from '@frontend/shared-constants';
import { MStable, MStableShort } from '@frontend/shared-icons';
import {
OpenAccountModalButton,
Expand All @@ -15,7 +16,6 @@ import {
useTheme,
} from '@mui/material';
import { useNavigate } from '@tanstack/react-location';
import produce from 'immer';
import { useIntl } from 'react-intl';

import { routes } from '../routes';
Expand Down Expand Up @@ -47,15 +47,8 @@ export const Topnav = () => {
<Button
variant="text"
color="inherit"
onClick={() => {
navigate({
to: '/',
search: produce((draft) => {
delete draft.address;
}),
});
window.scrollTo({ top: 0, behavior: 'smooth' });
}}
href={MSTABLE_LANDING_PAGE_URL}
rel="noopener noreferrer"
sx={{ ml: -2 }}
>
{wide ? <MStable sx={{ minWidth: 120 }} /> : <MStableShort />}
Expand Down
1 change: 1 addition & 0 deletions libs/shared/constants/src/mstable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export const GITHUB = 'https://github.com/mstable';
export const TWITTER = 'https://twitter.com/mstable_';
export const MEDIUM = 'https://medium.com/mstable';
export const EMAIL = 'mailto:[email protected]';
export const MSTABLE_LANDING_PAGE_URL = 'https://mstable.org/';
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"license": "GNU",
"scripts": {
"start": "nx serve mstable",
"start:lts": "nx serve lts",
"build": "nx build mstable",
"i18n:clear": "rimraf i18n-extractions",
"codegen": "nx run mstable-data-access:codegen",
Expand Down

0 comments on commit a31daa7

Please sign in to comment.