Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaaaathy committed Feb 7, 2025
1 parent d3ded9d commit d611bf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,12 @@ <h2><h3>teaching</h3>
if (!project) {
return <NotFound />
}
window.scrollTo(0, 0);
return <section id="content">
<h3>{project.name}</h3>
<div dangerouslySetInnerHTML={{ __html: parseProjectContent(project.content, project.folder) }}></div>
</section >

}

function NotFound() {
Expand Down

0 comments on commit d611bf3

Please sign in to comment.