| 1 | import "./questions-embed.css"; |
| 2 | |
| 3 | export interface Input { |
| 4 | value: string; |
| 5 | } |
| 6 | |
| 7 | <div.questions-embed.qa> |
| 8 | <a href="/q+a">ask your own question / view all questions</a><br> |
| 9 | <for|question| of=Question.search(input.value)> |
| 10 | <QuestionRender ...{ question }/> |
| 11 | </for> |
| 12 | </div> |
| 13 | |
| 14 | import QuestionRender from "#src/q+a/tags/question.marko"; |
| 15 | import { Question } from "#src/q+a/models/Question.ts"; |