Update blog link to not be /latest, and use constant in mobile nav
This commit is contained in:
parent
8d367a09fe
commit
b3f996595f
@ -6,6 +6,7 @@ import { Link } from 'react-router-dom';
|
|||||||
|
|
||||||
import { WrapGrid, WrapProps } from 'ts/components/newLayout';
|
import { WrapGrid, WrapProps } from 'ts/components/newLayout';
|
||||||
import { WebsitePaths } from 'ts/types';
|
import { WebsitePaths } from 'ts/types';
|
||||||
|
import { constants } from 'ts/utils/constants';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
isToggled: boolean;
|
isToggled: boolean;
|
||||||
@ -41,7 +42,7 @@ export class MobileNav extends React.PureComponent<Props> {
|
|||||||
<Link to={WebsitePaths.AboutMission}>About</Link>
|
<Link to={WebsitePaths.AboutMission}>About</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://blog.0xproject.com/latest" target="_blank">
|
<a href={constants.URL_BLOG} target="_blank">
|
||||||
Blog
|
Blog
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -74,7 +74,7 @@ export const constants = {
|
|||||||
URL_ANGELLIST: 'https://angel.co/0xproject/jobs',
|
URL_ANGELLIST: 'https://angel.co/0xproject/jobs',
|
||||||
URL_APACHE_LICENSE: 'http://www.apache.org/licenses/LICENSE-2.0',
|
URL_APACHE_LICENSE: 'http://www.apache.org/licenses/LICENSE-2.0',
|
||||||
URL_BITLY_API: 'https://api-ssl.bitly.com',
|
URL_BITLY_API: 'https://api-ssl.bitly.com',
|
||||||
URL_BLOG: 'https://blog.0xproject.com/latest',
|
URL_BLOG: 'https://blog.0xproject.com',
|
||||||
URL_DISCOURSE_FORUM: 'https://forum.0x.org',
|
URL_DISCOURSE_FORUM: 'https://forum.0x.org',
|
||||||
URL_ECOSYSTEM_APPLY: 'https://0x.smapply.io/',
|
URL_ECOSYSTEM_APPLY: 'https://0x.smapply.io/',
|
||||||
URL_ECOSYSTEM_BLOG_POST: 'https://blog.0xproject.com/announcing-the-0x-ecosystem-acceleration-program-89d1cb89d565',
|
URL_ECOSYSTEM_BLOG_POST: 'https://blog.0xproject.com/announcing-the-0x-ecosystem-acceleration-program-89d1cb89d565',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user