feat: add FeedbackForm, FeedbackModal, and Give Feedback tab
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { PortableTextRenderer } from '@/components/PortableTextRenderer'
|
||||
import { RoadmapItem } from '@/components/RoadmapItem'
|
||||
import { FeedbackForm } from '@/components/FeedbackForm'
|
||||
import type { ChangelogEntry, RoadmapItemData, Tab, VoteState } from '@/types/changelog'
|
||||
import { useAuth } from '@/context/AuthContext'
|
||||
import Link from 'next/link'
|
||||
@@ -297,9 +298,17 @@ export function ChangelogTabs({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* ── Give Feedback — stub, filled in Task 6 ── */}
|
||||
{/* ── Give Feedback ── */}
|
||||
{activeTab === 'give-feedback' && (
|
||||
<p className="text-sm text-zinc-500">Feedback form coming soon.</p>
|
||||
<div>
|
||||
<div className="mb-8">
|
||||
<h2 className="text-xl font-bold text-white">Tell us what you think.</h2>
|
||||
<p className="mt-1.5 text-sm text-zinc-500">
|
||||
Bug, feature idea, or general thought — we read everything.
|
||||
</p>
|
||||
</div>
|
||||
<FeedbackForm />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user