16 lines
327 B
Rust
16 lines
327 B
Rust
|
use super::Post;
|
||
|
use yew::html;
|
||
|
|
||
|
pub const POST: Post = Post {
|
||
|
title: "wowwee post 2! now a new post!",
|
||
|
timestamp: 1743710398,
|
||
|
content: || {
|
||
|
html! {
|
||
|
<div>
|
||
|
<p>{"hello world"}</p><br />
|
||
|
<p>{"this is an \"example11!!{}\""}</p>
|
||
|
</div>
|
||
|
}
|
||
|
},
|
||
|
};
|