Compare commits
2 Commits
55c7ad6d6a
...
ccc1be0d07
| Author | SHA1 | Date | |
|---|---|---|---|
| ccc1be0d07 | |||
|
851f73f639
|
@@ -17,6 +17,7 @@ pub const MAP_PIN: &str = include_str!("map-pin.svg");
|
||||
pub const PEN: &str = include_str!("pen.svg");
|
||||
pub const PLUS: &str = include_str!("plus.svg");
|
||||
pub const QUOTE: &str = include_str!("quote.svg");
|
||||
pub const REFRESH_CW: &str = include_str!("refresh-cw.svg");
|
||||
pub const SCROLL_TEXT: &str = include_str!("scroll-text.svg");
|
||||
pub const SERVER: &str = include_str!("server.svg");
|
||||
pub const SHIELD_USER: &str = include_str!("shield-user.svg");
|
||||
|
||||
1
src/web/icons/refresh-cw.svg
Normal file
1
src/web/icons/refresh-cw.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-refresh-cw-icon lucide-refresh-cw"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M8 16H3v5"/></svg>
|
||||
|
After Width: | Height: | Size: 412 B |
@@ -68,7 +68,10 @@ pub async fn page(
|
||||
}
|
||||
@if let Some(q) = random_quote {
|
||||
div class="flex flex-col" {
|
||||
div class="flex gap-1" {
|
||||
p {"Random Quote"}
|
||||
a href="/dashboard" class="text-neutral-500 scale-[.65] hover:text-neutral-200 focus:text-neutral-200" {(PreEscaped(icons::REFRESH_CW))}
|
||||
}
|
||||
p class="text-neutral-500 font-light mb-4" {
|
||||
"This quote was added "
|
||||
(format_time_ago(q.get_creation_timestamp())) " ago."
|
||||
|
||||
Reference in New Issue
Block a user