use favicon
This commit is contained in:
parent
4f04a8597d
commit
6fb105ca82
|
|
@ -15,7 +15,7 @@ pub mod storage;
|
||||||
use codee::string::JsonSerdeCodec;
|
use codee::string::JsonSerdeCodec;
|
||||||
use gloo::storage::Storage;
|
use gloo::storage::Storage;
|
||||||
use leptos::prelude::*;
|
use leptos::prelude::*;
|
||||||
use leptos_meta::{MetaTags, Stylesheet, Title, provide_meta_context};
|
use leptos_meta::{Link, MetaTags, Stylesheet, Title, provide_meta_context};
|
||||||
use leptos_router::{
|
use leptos_router::{
|
||||||
components::{ProtectedRoute, Route, Router, Routes},
|
components::{ProtectedRoute, Route, Router, Routes},
|
||||||
path,
|
path,
|
||||||
|
|
@ -43,6 +43,7 @@ pub fn shell(options: LeptosOptions) -> impl IntoView {
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<Link rel="icon" href="/favicon.svg" type_="text/xml+svg" />
|
||||||
<AutoReload options=options.clone() />
|
<AutoReload options=options.clone() />
|
||||||
<HydrationScripts options />
|
<HydrationScripts options />
|
||||||
<MetaTags />
|
<MetaTags />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue