Got working preact SSR

This commit is contained in:
2022-11-07 02:02:23 +01:00
parent 5142d4c551
commit ddad7fe746
16 changed files with 229 additions and 200 deletions
+1 -4
View File
@@ -1,4 +1,3 @@
import { Link } from '../Router.jsx'
import { Markdown } from './Markdown.jsx'
export const Problem = ({ id, content }) => {
@@ -6,9 +5,7 @@ export const Problem = ({ id, content }) => {
<div class="problem">
<div class="problem-header">
<div class="problem-title">
<Link page={`/problem/:id`} params={{ id }}>
Problema {id}
</Link>
<a href={`/problem/${id}`}>Problema {id}</a>
</div>
</div>
<div class="problem-content">