-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(updated 404 page): modified to include constants and urls
- Loading branch information
1 parent
0c9486e
commit 4d32df3
Showing
3 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ import { CreateModulePopover } from './create-module-popover'; | |
import type { IconNames } from '@/primitives/icon'; | ||
import { Icon } from '@/primitives/icon'; | ||
import { Button } from '@/primitives/button'; | ||
import { constants } from '@/constants'; | ||
|
||
const iconSize = 15; | ||
|
||
|
@@ -94,7 +95,11 @@ export async function SideMenu() { | |
className="justify-start gap-3 font-normal" | ||
asChild | ||
> | ||
<a href="mailto:[email protected]"> | ||
<a | ||
href={constants.feedback} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<MessageSquareMore size={15} strokeWidth={1.5} /> Feedback | ||
</a> | ||
</Button> | ||
|
@@ -103,7 +108,7 @@ export async function SideMenu() { | |
className="justify-start gap-3 font-normal" | ||
asChild | ||
> | ||
<a href="mailto:[email protected]"> | ||
<a href={constants.support} target="_blank" rel="noopener noreferrer"> | ||
<CircleHelpIcon size={15} strokeWidth={1.5} /> Help & Support | ||
</a> | ||
</Button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,8 @@ export const constants = { | |
domain: 'https://enoflow.vercel.app', | ||
discord: 'https://discord', | ||
twitter: 'https://x.com', | ||
feedback: 'mailto:[email protected]', | ||
support: 'mailto:[email protected]', | ||
}; | ||
|
||
export const features = (iconSize: number) => [ | ||
|