Cleanup, fix header links on subdomains

This commit is contained in:
Tom Moor
2018-11-12 20:22:01 -08:00
parent bad8718a6b
commit 2e3737c6f5
3 changed files with 11 additions and 15 deletions

View File

@ -53,22 +53,26 @@ export function mailToUrl(): string {
return 'mailto:hello@getoutline.com';
}
export function features(): string {
return `${process.env.URL}/#features`;
}
export function developers(): string {
return '/developers';
return `${process.env.URL}/developers`;
}
export function changelog(): string {
return '/changelog';
return `${process.env.URL}/changelog`;
}
export function signin(service: string = 'slack'): string {
return `/auth/${service}`;
return `${process.env.URL}/auth/${service}`;
}
export function about(): string {
return '/about';
return `${process.env.URL}/about`;
}
export function privacy(): string {
return '/privacy';
return `${process.env.URL}/privacy`;
}