Add milligram CSS

This commit is contained in:
Yash Karandikar 2021-10-23 13:00:25 -05:00
parent caf86adca5
commit 1ceca74824
Signed by: karx
GPG key ID: A794DA2529474BA5
2 changed files with 5 additions and 3 deletions

View file

@ -4,6 +4,9 @@
<meta charset="utf-8" />
<title>NoteRS</title>
<link rel="inline" data-trunk type="js" href="utils.js" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.css">
</head>
<body></body>
</html>

View file

@ -9,7 +9,7 @@ macro_rules! log {
}
fn main() {
#[allow(unused_variables)] // Allow because localStorage might be empty
let keys = {
let mut new_vec: Vec<String> = Vec::new();
@ -28,7 +28,6 @@ fn main() {
};
sycamore::render(|| template! {
p { (format!("{:#?}", keys)) }
p { (local_storage::get_item("state")) }
h1(style="text-align: center") { "NoteRS" }
});
}