update survey references to be called search
This commit is contained in:
@ -34,12 +34,12 @@ const Resources = () => {
|
||||
<h1 className="text-3xl font-bold">All Resources</h1>
|
||||
<div className="">
|
||||
<p className="inline">Fill out the </p>
|
||||
<Link href="/resources/survey"
|
||||
<Link href="/resources/search"
|
||||
className="hover:bg-neutral-900 hover:text-white inline rounded-lg bg-neutral-200 border border-neutral-800 px-2 py-[4px]">
|
||||
survey
|
||||
search form
|
||||
<LinkIcon className="w-4 inline" />
|
||||
</Link>
|
||||
<p className="inline"> for specific resource recommendations.</p>
|
||||
<p className="inline"> for a list of auditory training resource recommendations.</p>
|
||||
</div>
|
||||
</div>
|
||||
<ResourceTable resourcesPerPage={queryData.perPage} resources={resourceQuery.data.resources} totalPages={totalPages} query={router.query} currentPage={currentPage} />
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { GuidedSurvey, type Question, type QuestionTypes } from "~/components/Survey";
|
||||
import { GuidedSearch, type Question, type QuestionTypes } from "~/components/Search";
|
||||
|
||||
const questions: Question<QuestionTypes>[] = [
|
||||
{
|
||||
@ -103,7 +103,7 @@ const questions: Question<QuestionTypes>[] = [
|
||||
const SearchPage = () => {
|
||||
return (
|
||||
<div className="w-full max-w-xl mx-auto mt-4 mb-4 rounded-xl overflow-hidden border border-neutral-400 bg-neutral-200 drop-shadow-md">
|
||||
<GuidedSurvey questions={questions} />
|
||||
<GuidedSearch questions={questions} />
|
||||
</div>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user