Skip to content

Commit

Permalink
Link to new support center from contact page and footer (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
djfarrelly authored Aug 25, 2023
1 parent c2ad530 commit 1a028b4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ NEXT_PUBLIC_LOGIN_URL="https://app.inngest.com/login"
NEXT_PUBLIC_DISCORD_URL="https://discord.gg/mPfcyDEdpx"
NEXT_PUBLIC_API_HOST="https://api.inngest.com"
NEXT_PUBLIC_APP_HOST="https://app.inngest.com"
NEXT_PUBLIC_SUPPORT_URL=$NEXT_PUBLIC_APP_HOST/support

NEXT_PUBLIC_FAVICON="favicon-may-2022.png"

Expand Down
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
NEXT_PUBLIC_GTAG_ID="G-L6WVNHGMHN"
NEXT_PUBLIC_API_HOST="http://127.0.0.1:8090"
NEXT_PUBLIC_APP_HOST="http://127.0.0.1:3000"
NEXT_PUBLIC_SUPPORT_URL=$NEXT_PUBLIC_APP_HOST/support

NEXT_PUBLIC_FAVICON="favicon-may-2022-local.png"
15 changes: 10 additions & 5 deletions pages/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,21 @@ export default function Contact() {
<main className="m-auto max-w-5xl pt-16 pb-8">
<header className="pt-12 lg:pt-24 max-w-4xl m-auto text-center">
<h1 className="text-white font-bold text-2xl md:text-4xl xl:text-5xl mb-2 md:mb-6 tracking-tight lg:leading-loose">
Chat with solutions engineering
Chat with sales engineering
</h1>
<p>
We'll help you evaluate Inngest and show you how Inngest enables
teams to ship more reliable code, faster.
</p>
<p className="mt-4">
Looking for support? <a href="/discord">Chat on Discord</a> or{" "}
<a href="mailto:[email protected]">email us</a>{" "}
</p>
<div className="flex place-content-center">
<p className="mt-4 py-4 px-6 rounded-full bg-white/10 flex gap-2 items-center">
👋&nbsp;&nbsp; Looking for support?{" "}
<a href="/discord">Chat on Discord</a> or{" "}
<a href={process.env.NEXT_PUBLIC_SUPPORT_URL}>
create a support ticket
</a>{" "}
</p>
</div>
</header>

<div className="my-12 grid lg:grid-cols-2 gap-24">
Expand Down
4 changes: 4 additions & 0 deletions shared/Footer/footerLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ const footerLinks = [
label: "Contact Us",
url: "/contact?ref=footer",
},
{
label: "Support",
url: process.env.NEXT_PUBLIC_SUPPORT_URL,
},
],
},
];
Expand Down
1 change: 1 addition & 0 deletions shared/legacy/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const Footer = () => {
<a href="/blog">Blog</a>
<a href="/careers">Careers</a>
<a href="/contact">Contact Us</a>
<a href={process.env.NEXT_PUBLIC_SUPPORT_URL}>Support</a>
</div>
<div>
<p>Community</p>
Expand Down

1 comment on commit 1a028b4

@vercel
Copy link

@vercel vercel bot commented on 1a028b4 Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

website – ./

inngest.vercel.app
website-git-main-inngest.vercel.app
website-inngest.vercel.app
www.inngest.com

Please sign in to comment.