forked from RustLangES/RustLangES.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathour_communities.rs
60 lines (58 loc) · 2.33 KB
/
our_communities.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
use leptos::{component, view, IntoView};
use crate::components::{
button_link::ButtonLink,
icons::{DiscordIcon, GithubIcon, LinkedinIcon, TelegramIcon},
};
#[component]
pub fn OurCommunities() -> impl IntoView {
view! {
<section class=" bg-orange-300/30 dark:bg-transparent">
<div class="container mx-auto px-4">
<div class="flex flex-col items-center py-20 gap-y-6">
<h2 class="text-4xl text-center mb-4">
<span class="font-work-sans font-light">"Unete a nuestra "</span>
<span class="font-alfa-slab text-orange-500">"Comunidad"</span>
</h2>
<div class="flex items-center gap-x-12 gap-y-6 flex-col *:w-full sm:flex-row">
<ButtonLink
href="https://discord.gg/4ng5HgmaMg"
shadow="box"
color="white"
size="big"
>
<DiscordIcon size=30/>
"Discord"
</ButtonLink>
<ButtonLink
href="https://github.com/RustLangES"
shadow="box"
color="white"
size="big"
>
<GithubIcon size=30/>
"Github"
</ButtonLink>
<ButtonLink
href="https://www.linkedin.com/company/rustlanges"
color="white"
size="big"
shadow="box"
>
<LinkedinIcon size=30/>
"Linkedin"
</ButtonLink>
<ButtonLink
href="https://t.me/rust_es"
shadow="box"
color="white"
size="big"
>
<TelegramIcon size=30/>
"Telegram"
</ButtonLink>
</div>
</div>
</div>
</section>
}
}