From dd9d3351b82530e1988116d8846ef47d8a4d3db4 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Mon, 29 Jan 2018 23:41:43 -0800 Subject: [PATCH] Added social links (#535) --- server/__snapshots__/mailer.test.js.snap | 2 +- server/emails/components/Footer.js | 15 +++++++++++++++ server/pages/components/Navigation.js | 7 +++++++ shared/utils/routeHelpers.js | 2 +- 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/server/__snapshots__/mailer.test.js.snap b/server/__snapshots__/mailer.test.js.snap index a10b13842..be082375d 100644 --- a/server/__snapshots__/mailer.test.js.snap +++ b/server/__snapshots__/mailer.test.js.snap @@ -42,7 +42,7 @@ Object { Outline is a place for your team to build and share knowledge. -
 

Welcome to Outline!

Outline is a place for your team to build and share knowledge.

To get started, head to your dashboard and try creating a collection to help document your workflow, create playbooks or help with team onboarding.

You can also import existing Markdown document by drag and dropping them to your collections

 

View my dashboard

 
Outline
+
 

Welcome to Outline!

Outline is a place for your team to build and share knowledge.

To get started, head to your dashboard and try creating a collection to help document your workflow, create playbooks or help with team onboarding.

You can also import existing Markdown document by drag and dropping them to your collections

 

View my dashboard

 
OutlineTwitterSpectrum
diff --git a/server/emails/components/Footer.js b/server/emails/components/Footer.js index 8f295a2ad..0aa0cb732 100644 --- a/server/emails/components/Footer.js +++ b/server/emails/components/Footer.js @@ -2,6 +2,7 @@ import React from 'react'; import { Table, TBody, TR, TD } from 'oy-vey'; import { color } from '../../../shared/styles/constants'; +import { twitterUrl, spectrumUrl } from '../../../shared/utils/routeHelpers'; export default () => { const style = { @@ -13,7 +14,15 @@ export default () => { const linkStyle = { color: color.slate, + fontWeight: 500, textDecoration: 'none', + marginRight: '10px', + }; + + const externalLinkStyle = { + color: color.slate, + textDecoration: 'none', + margin: '0 10px', }; return ( @@ -24,6 +33,12 @@ export default () => { Outline + + Twitter + + + Spectrum + diff --git a/server/pages/components/Navigation.js b/server/pages/components/Navigation.js index fd50f35d3..613f8cf31 100644 --- a/server/pages/components/Navigation.js +++ b/server/pages/components/Navigation.js @@ -9,6 +9,7 @@ import { about, privacy, githubUrl, + twitterUrl, spectrumUrl, blogUrl, } from '../../../shared/utils/routeHelpers'; @@ -25,6 +26,9 @@ function TopNavigation() { About + + Twitter + Changelog @@ -45,6 +49,9 @@ function BottomNavigation() {
GitHub
+
+ Twitter +
Spectrum
diff --git a/shared/utils/routeHelpers.js b/shared/utils/routeHelpers.js index 1997e6f48..e593f94c5 100644 --- a/shared/utils/routeHelpers.js +++ b/shared/utils/routeHelpers.js @@ -34,7 +34,7 @@ export function blogUrl(): string { } export function twitterUrl(): string { - return 'https://twitter.com/getoutline'; + return 'https://twitter.com/outlinewiki'; } export function spectrumUrl(): string {