Compare commits
2 Commits
eb6f7e7a1c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
ac2fafeb91
|
|||
|
30fdeae3b2
|
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 12 KiB |
@@ -1,5 +1,4 @@
|
||||
use crate::internationalization::get_language_identifier;
|
||||
|
||||
use crate::route::Route;
|
||||
use dioxus::core_macro::rsx;
|
||||
use dioxus::dioxus_core::Element;
|
||||
@@ -8,6 +7,13 @@ use dioxus_i18n::prelude::*;
|
||||
use dioxus_i18n::unic_langid::langid;
|
||||
|
||||
const FAVICON: Asset = asset!("/assets/favicon.ico");
|
||||
/* Once https://github.com/DioxusLabs/dioxus/issues/4490 is resolved, hopefully it will be
|
||||
sufficient to just include the single icon.png. */
|
||||
#[used]
|
||||
static IMAGES_DIRECTORY: Asset = asset!(
|
||||
"/assets/images",
|
||||
AssetOptions::builder().with_hash_suffix(false)
|
||||
);
|
||||
#[used]
|
||||
static FONTS_DIRECTORY: Asset = asset!(
|
||||
"/assets/fonts",
|
||||
|
||||
Reference in New Issue
Block a user