diff --git a/apps/frontend/src/components/layout/layout.settings.tsx b/apps/frontend/src/components/layout/layout.settings.tsx index 7eaa9fc5..0c8b0a5c 100644 --- a/apps/frontend/src/components/layout/layout.settings.tsx +++ b/apps/frontend/src/components/layout/layout.settings.tsx @@ -23,6 +23,7 @@ import isBetween from 'dayjs/plugin/isBetween'; import { ShowLinkedinCompany } from '@gitroom/frontend/components/launches/helpers/linkedin.component'; import { SettingsComponent } from '@gitroom/frontend/components/layout/settings.component'; import { Onboarding } from '@gitroom/frontend/components/onboarding/onboarding'; +import { Support } from '@gitroom/frontend/components/layout/support'; dayjs.extend(utc); dayjs.extend(weekOfYear); @@ -52,6 +53,7 @@ export const LayoutSettings = ({ children }: { children: ReactNode }) => { +
diff --git a/apps/frontend/src/components/layout/support.tsx b/apps/frontend/src/components/layout/support.tsx new file mode 100644 index 00000000..7a777e91 --- /dev/null +++ b/apps/frontend/src/components/layout/support.tsx @@ -0,0 +1,8 @@ +'use client'; + +export const Support = () => { + if (!process.env.NEXT_PUBLIC_DISCORD_SUPPORT) return null + return ( +
window.open(process.env.NEXT_PUBLIC_DISCORD_SUPPORT)}>Discord Support
+ ) +} \ No newline at end of file