@@ -2,11 +2,10 @@ use leptos::*;
2
2
use leptos_meta:: * ;
3
3
use leptos_router:: * ;
4
4
5
- use crate :: components:: Header ;
6
- use crate :: components:: Footer ;
7
- use crate :: pages:: Index ;
8
- use crate :: pages:: Communidad ;
9
- use crate :: pages:: Contributors ;
5
+ use crate :: {
6
+ components:: { Footer , Header } ,
7
+ pages:: { Communidad , Contributors , Index } ,
8
+ } ;
10
9
11
10
#[ component]
12
11
pub fn App ( ) -> impl IntoView {
@@ -18,25 +17,37 @@ pub fn App() -> impl IntoView {
18
17
<Meta name="viewport" content="width=device-width, initial-scale=1" />
19
18
<Stylesheet id="leptos" href="/pkg/leptos_start.css" />
20
19
<Title text="Rust Lang en Español" />
21
- <Meta property="description" content="Somos una comunidad de Rust hispana, buscamos la promoción del lenguaje de programación Rust." />
22
-
20
+ <Meta
21
+ property="description"
22
+ content="Somos una comunidad de Rust hispana, buscamos la promoción del lenguaje de programación Rust."
23
+ />
24
+
23
25
<Meta property="og:site_name" content="Rust Lang en Español" />
24
26
<Meta property="og:title" content="Bienvenidos a Rust Lang en Español" />
25
- <Meta property="og:description" content="Somos una comunidad de Rust hispana, buscamos la promoción del lenguaje de programación Rust." />
26
- <Meta property="og:url" content="https://rustlanges.github.io" />
27
- <Meta property="og:image" content="https://rustlanges.github.io/preview_concept.png" />
28
- <Meta property="twitter:image" content="https://rustlanges.github.io/preview_concept.png" />
29
- <Meta name="twitter:card" content="summary_large_image" />
30
- <Meta name="twitter:site" content="@rustlang" />
31
- <Meta name="google-site-verification" content="OntIe2SKuQalaapGvxdded9tU4G2p57h0A6e0Rkoni0" />
27
+ <Meta
28
+ property="og:description"
29
+ content="Somos una comunidad de Rust hispana, buscamos la promoción del lenguaje de programación Rust."
30
+ />
31
+ <Meta property="og:url" content="https://rustlanges.github.io" />
32
+ <Meta property="og:image" content="https://rustlanges.github.io/preview_concept.png" />
33
+ <Meta property="twitter:image" content="https://rustlanges.github.io/preview_concept.png" />
34
+ <Meta name="twitter:card" content="summary_large_image" />
35
+ <Meta name="twitter:site" content="@rustlang" />
36
+ <Meta
37
+ name="google-site-verification"
38
+ content="OntIe2SKuQalaapGvxdded9tU4G2p57h0A6e0Rkoni0"
39
+ />
32
40
33
- <Link rel="preconnect" href="https://fonts.googleapis.com" />
34
- <Link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
35
- <Link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Work+Sans:wght@300;400;500;600&display=swap" />
41
+ <Link rel="preconnect" href="https://fonts.googleapis.com" />
42
+ <Link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
43
+ <Link
44
+ rel="stylesheet"
45
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Work+Sans:wght@300;400;500;600&display=swap"
46
+ />
36
47
37
48
<Body class="bg-orange-200" />
38
49
<Router >
39
- <Header />
50
+ <Header />
40
51
<main>
41
52
<Routes >
42
53
<StaticRoute
@@ -61,7 +72,7 @@ pub fn App() -> impl IntoView {
61
72
/>
62
73
</Routes >
63
74
</main>
64
- <Footer />
75
+ <Footer />
65
76
</Router >
66
77
}
67
78
}
0 commit comments