From 2661e2cfa05941547b60264634627340efda3f31 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Mon, 28 Jun 2021 20:58:00 -0400 Subject: [PATCH] Update all naturalcrit links to https --- .../brewRenderer/notificationPopup/notificationPopup.jsx | 2 +- client/homebrew/editor/metadataEditor/metadataEditor.jsx | 2 +- client/homebrew/navbar/account.navitem.jsx | 2 +- client/homebrew/pages/editPage/editPage.jsx | 4 ++-- shared/naturalcrit/nav/nav.jsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx b/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx index ea202deae..f561298a3 100644 --- a/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx +++ b/client/homebrew/brewRenderer/notificationPopup/notificationPopup.jsx @@ -23,7 +23,7 @@ const NotificationPopup = createClass({ psa : function(){ return
  • Google Drive Integration!
    - We have added Google Drive integration to the Homebrewery! Sign in with + We have added Google Drive integration to the Homebrewery! Sign in with your Google account to link it with your Homebrewery profile. A new button in the Edit page will let you transfer your file to your personal Google Drive storage, and Google will keep a backup of each version! No more lost work surprises!

    diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.jsx b/client/homebrew/editor/metadataEditor/metadataEditor.jsx index ed9cabcd1..9d8090845 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.jsx +++ b/client/homebrew/editor/metadataEditor/metadataEditor.jsx @@ -72,7 +72,7 @@ const MetadataEditor = createClass({ const title = `${meta.title} [${meta.systems.join(' ')}]`; const text = `Hey guys! I've been working on this homebrew. I'd love your feedback. Check it out. -**[Homebrewery Link](http://homebrewery.naturalcrit.com/share/${shareLink})**`; +**[Homebrewery Link](https://homebrewery.naturalcrit.com/share/${shareLink})**`; return `https://www.reddit.com/r/UnearthedArcana/submit?title=${encodeURIComponent(title)}&text=${encodeURIComponent(text)}`; }, diff --git a/client/homebrew/navbar/account.navitem.jsx b/client/homebrew/navbar/account.navitem.jsx index f40fc92de..60129dc80 100644 --- a/client/homebrew/navbar/account.navitem.jsx +++ b/client/homebrew/navbar/account.navitem.jsx @@ -25,7 +25,7 @@ const Account = createClass({ ; } - return + return login ; } diff --git a/client/homebrew/pages/editPage/editPage.jsx b/client/homebrew/pages/editPage/editPage.jsx index 91151ea37..a643296d4 100644 --- a/client/homebrew/pages/editPage/editPage.jsx +++ b/client/homebrew/pages/editPage/editPage.jsx @@ -304,7 +304,7 @@ const EditPage = createClass({ You must be signed in to a Google account to transfer between the homebrewery and Google Drive! + href={`https://www.naturalcrit.com/login?redirect=${this.state.url}`}>
    Sign In
    @@ -332,7 +332,7 @@ const EditPage = createClass({ You must be signed in to a Google account to save this to
    Google Drive!
    + href={`https://www.naturalcrit.com/login?redirect=${this.state.url}`}>
    Sign In
    diff --git a/shared/naturalcrit/nav/nav.jsx b/shared/naturalcrit/nav/nav.jsx index 8add62b0f..37243ea98 100644 --- a/shared/naturalcrit/nav/nav.jsx +++ b/shared/naturalcrit/nav/nav.jsx @@ -17,7 +17,7 @@ const Nav = { } }), logo : function(){ - return
    + return NaturalCrit