Anka commited on
Commit
294d3a2
·
1 Parent(s): e1e95a9

Add Feedback page and nav item

Browse files
Files changed (2) hide show
  1. app/feedback/page.tsx +92 -0
  2. components/navigation.tsx +5 -0
app/feedback/page.tsx ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Link from "next/link"
2
+ import { ArrowRight } from "lucide-react"
3
+
4
+ import { Navigation } from "@/components/navigation"
5
+
6
+ const FEEDBACK_FORM_URL = "https://airtable.com/app1zVQBQ4ao1u2eT/pagEMueYiXMJy2PT1/form"
7
+ const ROADMAP_URL = "https://changemap.co/evaleval/evalcards/"
8
+
9
+ export default function FeedbackPage() {
10
+ return (
11
+ <div className="min-h-screen bg-background">
12
+ <Navigation />
13
+
14
+ <main className="mx-auto w-full max-w-[64rem] px-4 pb-24 pt-12 sm:px-8">
15
+ {/* HEADER --------------------------------------------------------- */}
16
+ <div className="kicker">Feedback</div>
17
+ <h1
18
+ className="mt-2 mb-7"
19
+ style={{
20
+ fontSize: "clamp(40px, 5.2vw, 56px)",
21
+ fontWeight: 700,
22
+ letterSpacing: "-0.03em",
23
+ lineHeight: 1.05,
24
+ color: "var(--fg)",
25
+ }}
26
+ >
27
+ Help shape Evaluation Cards.
28
+ </h1>
29
+ <p className="mb-10 text-[19px] leading-[1.6] text-[color:var(--fg-muted)]">
30
+ Evaluation Cards is a living research artifact, and your input directly steers where
31
+ it goes next. There are two ways to get involved.
32
+ </p>
33
+
34
+ {/* TWO CHANNELS --------------------------------------------------- */}
35
+ <div className="grid gap-5 sm:grid-cols-2">
36
+ {/* ROADMAP */}
37
+ <section className="border border-[color:var(--border-soft)] bg-[color:var(--bg-warm)] p-[26px]">
38
+ <div className="kicker mb-2.5">Public roadmap</div>
39
+ <h2 className="m-0 mb-3 text-xl font-semibold tracking-[-0.01em] text-[color:var(--fg)]">
40
+ Suggest &amp; upvote features
41
+ </h2>
42
+ <p className="m-0 mb-6 text-[14.5px] leading-[1.7] text-[color:var(--fg-muted)]">
43
+ We keep a public roadmap where you can propose new features, upvote existing
44
+ suggestions, and see what we&apos;re planning. If there&apos;s something you want
45
+ to see prioritized, this is the place to make the case.
46
+ </p>
47
+ <a
48
+ href={ROADMAP_URL}
49
+ target="_blank"
50
+ rel="noreferrer"
51
+ className="btn-ec"
52
+ >
53
+ Open the roadmap
54
+ <ArrowRight className="h-3.5 w-3.5" aria-hidden />
55
+ </a>
56
+ </section>
57
+
58
+ {/* GOOGLE FORM */}
59
+ <section className="border border-[color:var(--border-soft)] bg-[color:var(--bg-warm)] p-[26px]">
60
+ <div className="kicker mb-2.5">Feedback form</div>
61
+ <h2 className="m-0 mb-3 text-xl font-semibold tracking-[-0.01em] text-[color:var(--fg)]">
62
+ Share feedback directly
63
+ </h2>
64
+ <p className="m-0 mb-6 text-[14.5px] leading-[1.7] text-[color:var(--fg-muted)]">
65
+ For feature requests, edits, bug reports, or any other comments, you can reach us
66
+ through our feedback form. It only takes a moment, and every submission is read.
67
+ </p>
68
+ <a
69
+ href={FEEDBACK_FORM_URL}
70
+ target="_blank"
71
+ rel="noreferrer"
72
+ className="btn-ec"
73
+ >
74
+ Open the feedback form
75
+ <ArrowRight className="h-3.5 w-3.5" aria-hidden />
76
+ </a>
77
+ </section>
78
+ </div>
79
+
80
+ {/* CTA ROW -------------------------------------------------------- */}
81
+ <section className="mt-12 flex flex-wrap gap-3 border-t border-[color:var(--border-soft)] pt-10">
82
+ <Link href="/" className="btn-ec outline">
83
+ Back to home
84
+ </Link>
85
+ <Link href="/about" className="btn-ec outline">
86
+ About Evaluation Cards
87
+ </Link>
88
+ </section>
89
+ </main>
90
+ </div>
91
+ )
92
+ }
components/navigation.tsx CHANGED
@@ -36,6 +36,11 @@ export function Navigation() {
36
  label: "About",
37
  isActive: pathname === "/about",
38
  },
 
 
 
 
 
39
  ]
40
 
41
  useEffect(() => {
 
36
  label: "About",
37
  isActive: pathname === "/about",
38
  },
39
+ {
40
+ href: "/feedback",
41
+ label: "Feedback",
42
+ isActive: pathname === "/feedback",
43
+ },
44
  ]
45
 
46
  useEffect(() => {