Skip to content

Commit a58269d

Browse files
committed
Add umami analytics
1 parent 2948fe7 commit a58269d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.html

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
}
3232
})(window.location);
3333
</script>
34+
<script defer src="https://cloud.umami.is/script.js"
35+
data-website-id="4ea18895-1c63-4382-b58f-094c0ba1e8e8"></script>
3436
</head>
3537

3638
<body></body>

src/shell.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub fn Route(route: ReadSignal<Routes>) -> View {
3131
#[component]
3232
fn Header() -> View {
3333
view! {
34-
header(class="p-2 border-b-2 border-slate-500 text-sm font-mono sm:px-5") {
34+
header(class="p-2 border-b-2 border-slate-700 text-sm font-mono sm:px-5") {
3535
nav(class="flex flex-row justify-between items-center") {
3636
div(class="self-start") {
3737
a(class="hover:underline font-bold", href="/") { "$ cd /home/lukechu" }
@@ -48,7 +48,7 @@ fn Header() -> View {
4848
#[component]
4949
fn Footer() -> View {
5050
view! {
51-
footer(class="p-2 border-t-2 border-slate-500 text-xs font-mono") {
51+
footer(class="p-2 border-t-2 border-slate-700 text-xs font-mono") {
5252
div(class="flex flex-row justify-between") {
5353
div { "© 2024 Luke Chu" }
5454
div {

0 commit comments

Comments
 (0)