File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import ProtectedDisplay from '@components/ProtectedDisplay/ProtectedDisplay';
33import Navbar from '@components/Navbar/Navbar' ;
44import HackbotWidgetWrapper from '../_components/Hackbot/HackbotWidgetWrapper' ;
55import { HackerProfile } from '@typeDefs/hackbot' ;
6+ import FeedbackButton from '../_components/FeedbackButton' ;
67
78export default async function Layout ( {
89 children,
@@ -26,6 +27,7 @@ export default async function Layout({
2627 >
2728 < Navbar />
2829 { children }
30+ < FeedbackButton />
2931 < HackbotWidgetWrapper initialProfile = { profile } />
3032 </ ProtectedDisplay >
3133 ) ;
Original file line number Diff line number Diff line change 1+ export default function FeedbackButton ( ) {
2+ return (
3+ < a
4+ href = "https://forms.gle/DVYARWyFM58iWqNZA"
5+ target = "_blank"
6+ rel = "noreferrer"
7+ aria-label = "Open feedback form"
8+ className = "group fixed bottom-4 left-0 z-50 rounded-r-xl border border-slate-200 bg-white px-2.5 py-3 text-slate-700 shadow-sm transition-colors hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-slate-300 focus:ring-offset-2"
9+ >
10+ < span className = "flex items-center gap-1.5" >
11+ < span className = "origin-center whitespace-nowrap text-[10px] font-medium tracking-[0.18em] [writing-mode:vertical-rl] rotate-180 uppercase" >
12+ Feedback
13+ </ span >
14+ </ span >
15+ </ a >
16+ ) ;
17+ }
You can’t perform that action at this time.
0 commit comments