Skip to content

Commit 3d5fec2

Browse files
authored
Merge pull request #3 from jonerickson/feature/support
Add support page
2 parents aab4848 + cf1fd0b commit 3d5fec2

File tree

8 files changed

+86
-16
lines changed

8 files changed

+86
-16
lines changed

next.config.mjs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@ import remarkGfm from 'remark-gfm';
44

55
/** @type {import('next').NextConfig} */
66
const nextConfig = {
7-
async redirects() {
8-
return [
9-
{
10-
source: '/support/:path*',
11-
destination: '/contact',
12-
permanent: true,
13-
},
14-
];
15-
},
167
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
178
experimental: {
189
outputFileTracingIncludes: {

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"eslint": "^8.56.0",
3737
"eslint-config-next": "^14.0.4",
3838
"eslint-config-prettier": "^9.1.0",
39+
"lucide-react": "^0.468.0",
3940
"prettier": "^3.3.3",
4041
"prettier-plugin-tailwindcss": "^0.6.8",
4142
"sharp": "0.33.1"

src/app/contact/page.jsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { SimpleLayout } from '@/components/SimpleLayout';
22
import { ContactUsForm } from '@/components/ContactUsForm';
33
import { sendContactFormMessage } from '@/lib/mail';
44
import { revalidatePath } from 'next/cache';
5+
import Link from 'next/link';
56

67
export const metadata = {
78
title: 'Contact',
@@ -38,6 +39,13 @@ export default function Contact() {
3839
title='Send us a message.'
3940
intro='Reach out if you have a question about our services, need support help or just general advice on how to tackle your next project. We are always here to help!'
4041
>
42+
<div className='mb-8 text-sm font-semibold text-zinc-800'>
43+
If you are looking for support needs, please first check out our{' '}
44+
<Link href='/support' className='underline' target='_blank'>
45+
support
46+
</Link>{' '}
47+
page.
48+
</div>
4149
<ContactUsForm siteKey={siteKey} sendMessage={sendMessage} />
4250
</SimpleLayout>
4351
);

src/app/page.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ export default async function Home() {
279279
business shine in a competitive landscape.
280280
</p>
281281
<div className='mt-6 flex flex-row gap-2'>
282-
<Button href='/contact'>Get started</Button>
283-
<Button variant='secondary' href='/contact'>
284-
Contact us
282+
<Button href='/contact'>Contact us</Button>
283+
<Button variant='secondary' href='/support'>
284+
Get support
285285
</Button>
286286
</div>
287287
<div className='mt-6 flex gap-6'>

src/app/support/page.jsx

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
import { SimpleLayout } from '@/components/SimpleLayout';
2+
import { Mail, Slack, SquarePen } from 'lucide-react';
3+
import { Button } from '@/components/Button';
4+
5+
export const metadata = {
6+
title: 'Support',
7+
description: 'Get help on a project or with a service.',
8+
};
9+
10+
export default function Support() {
11+
return (
12+
<SimpleLayout
13+
title='Get help.'
14+
intro="We offer multiple ways to get assistance with our products and services. Please choose one of the options below for support. If you're still unable to find the help you need, feel free to reach out to us via email."
15+
>
16+
<div className='flex flex-col space-y-8'>
17+
<div className=''>
18+
<div className='font-bold'>Slack</div>
19+
<div className='text-sm text-zinc-600'>
20+
Slack offers a collaborative and community-driven space where you
21+
can easily ask questions and receive support from both our team and
22+
fellow users. It&apos;s often the quickest way to get assistance and
23+
fosters a more interactive, support-focused environment.
24+
</div>
25+
</div>
26+
<div className=''>
27+
<div className='font-bold'>Email</div>
28+
<div className='text-sm text-zinc-600'>
29+
For more complex issues or when sensitive information—such as
30+
emails, passwords, or login credentials—needs to be securely
31+
exchanged, email is the preferred method of communication. It
32+
ensures a private and direct channel for resolving your concerns.
33+
</div>
34+
</div>
35+
<div className=''>
36+
<div className='font-bold'>Contact Form</div>
37+
<div className='text-sm text-zinc-600'>
38+
For a faster way to reach our support team, use the contact form to
39+
email us directly.
40+
</div>
41+
</div>
42+
<div className='flex flex-row items-center space-x-4'>
43+
<Button href='https://slack.deschutesdesigngroup.com' target='_blank'>
44+
<Slack className='size-4' />
45+
Join Slack
46+
</Button>
47+
<Button
48+
variant='secondary'
49+
href='mailto:support@deschutesdesigngroup.com'
50+
>
51+
<Mail className='size-4' />
52+
Email us
53+
</Button>
54+
<Button variant='secondary' href='/contact'>
55+
<SquarePen className='size-4' />
56+
Contact form
57+
</Button>
58+
</div>
59+
</div>
60+
</SimpleLayout>
61+
);
62+
}

src/components/Footer.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ export function Footer() {
4343
>
4444
Clients
4545
</NavLink>
46-
<NavLink href='mailto:support@deschutesdesigngroup.com'>
47-
Support
48-
</NavLink>
46+
<NavLink href='/support'>Support</NavLink>
4947
<NavLink href='/contact'>Contact</NavLink>
5048
</div>
5149
<p className='text-sm text-zinc-400 dark:text-zinc-500'>

tailwind.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const typographyPlugin = require('@tailwindcss/typography');
2-
32
const typographyStyles = require('./typography');
43

54
/** @type {import('tailwindcss').Config} */

0 commit comments

Comments
 (0)