aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2024-01-09 15:32:19 -0500
committerSebastien Castiel <sebastien@castiel.me>2024-01-09 15:32:19 -0500
commit323b0ea1282abc0945cef1ebf8185bdf9a156f5d (patch)
tree5526370fed1acbcb3cc2d43b9b1d0a6264783b47 /src/app
parent5ce96aef30b87a1aeecfac67e99621b06ab64b93 (diff)
Feedback button
Diffstat (limited to 'src/app')
-rw-r--r--src/app/groups/layout.tsx10
-rw-r--r--src/app/layout.tsx2
2 files changed, 9 insertions, 3 deletions
diff --git a/src/app/groups/layout.tsx b/src/app/groups/layout.tsx
index 8c221e1..dadd3a1 100644
--- a/src/app/groups/layout.tsx
+++ b/src/app/groups/layout.tsx
@@ -1,9 +1,13 @@
+import { FeedbackButton } from '@/components/feedback-button/feedback-button'
import { PropsWithChildren } from 'react'
export default function GroupsLayout({ children }: PropsWithChildren<{}>) {
return (
- <main className="flex-1 max-w-screen-md w-full mx-auto px-4 py-6 flex flex-col gap-6">
- {children}
- </main>
+ <>
+ <main className="flex-1 max-w-screen-md w-full mx-auto px-4 py-6 flex flex-col gap-6">
+ {children}
+ </main>
+ <FeedbackButton />
+ </>
)
}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index c6965b9..7ffaab0 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -2,6 +2,7 @@ import { ProgressBar } from '@/components/progress-bar'
import { ThemeProvider } from '@/components/theme-provider'
import { ThemeToggle } from '@/components/theme-toggle'
import { Button } from '@/components/ui/button'
+import { Toaster } from '@/components/ui/toaster'
import { env } from '@/lib/env'
import type { Metadata, Viewport } from 'next'
import PlausibleProvider from 'next-plausible'
@@ -132,6 +133,7 @@ export default function RootLayout({
</span>
</div>
</footer>
+ <Toaster />
</ThemeProvider>
</body>
</html>