| 1 | import * as layout from "../tags/question-layout.marko"; |
| 2 | export const theme = { |
| 3 | ...layout.theme, |
| 4 | primary: "#58ffee", |
| 5 | }; |
| 6 | export const meta = { title: "oh no" }; |
| 7 | |
| 8 | <const/{ error, content }=input> |
| 9 | |
| 10 | <question-layout> |
| 11 | <h2 style="color: red">:(</h2> |
| 12 | <p style="color: red">${error}</p> |
| 13 | <if=content> |
| 14 | <br><br> |
| 15 | <p>here is a copy of what you wrote, if you want to try again:</p> |
| 16 | <pre style="white-space: pre-wrap"><code>${content}</code></pre> |
| 17 | </if> |
| 18 | <br><br> |
| 19 | <p><a href="/q+a">return to the questions list</a></p> |
| 20 | </question-layout> |