Skip to content

Commit bee2287

Browse files
authored
Revert "Added new october art for the background"
1 parent 3671d85 commit bee2287

15 files changed

+10
-152
lines changed

assets/ferris-hero.avif

-8.44 KB
Binary file not shown.

assets/rustlangeshalloween.webp

-34 KB
Binary file not shown.

src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn App() -> impl IntoView {
2121
<Router>
2222
<HeadInformation/>
2323
<Body class=format!(
24-
"bg-orange-200 dark:bg-[#131313]/90 bg-center bg-fixed {} dark:backdrop-brightness-[.25] overflow-x-hidden dark:text-[#e2cea9] bg-repeat bg-small",
24+
"bg-orange-200 dark:bg-[#131313]/90 bg-center bg-fixed {} dark:bri dark:bg-cover dark:bg-blend-darken dark:backdrop-blur-xl overflow-x-hidden dark:text-[#e2cea9]",
2525
bg_in_dark_mode,
2626
)/>
2727
<Header/>

src/components/button_large_link.rs

-46
This file was deleted.

src/components/button_link.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn ButtonLink(
1515
"primary",
1616
"bg-orange-200 dark:bg-transparent hover:bg-black hover:text-white",
1717
),
18-
("white", "bg-orange-100 dark:bg-transparent hover:bg-black hover:text-white"),
18+
("white", "bg-orange-100 dark:bg-transparent hover:bg-black"),
1919
]);
2020
let shadows = HashMap::from([
2121
("drop", "drop-shadow-[4px_4px_0_rgba(0,0,0)] hover:drop-shadow-[0_0_0_rgba(0,0,0)]"),

src/components/hacktoberfest.rs

-61
This file was deleted.

src/components/icons/calendar_icon.rs

-21
This file was deleted.

src/components/icons/discord_icon.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use leptos::{component, view, IntoView};
33
#[component]
44
pub fn DiscordIcon(
55
#[prop(default = 40)] size: u32,
6-
#[prop(default = "fill-current dark:fill-[#bf8821]")] class: &'static str,
6+
#[prop(default = "fill-black dark:fill-[#bf8821]")] class: &'static str,
77
) -> impl IntoView {
88
view! {
99
<svg
@@ -17,4 +17,3 @@ pub fn DiscordIcon(
1717
</svg>
1818
}
1919
}
20-

src/components/icons/github_icon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use leptos::{component, view, IntoView};
33
#[component]
44
pub fn GithubIcon(
55
#[prop(default = 40)] size: u32,
6-
#[prop(default = "fill-current dark:fill-[#bf8821]")] class: &'static str,
6+
#[prop(default = "fill-black dark:fill-[#bf8821]")] class: &'static str,
77
) -> impl IntoView {
88
view! {
99
<svg

src/components/icons/linkedin_icon.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use leptos::*;
33
#[component]
44
pub fn LinkedinIcon(
55
#[prop(default = 40)] size: u32,
6-
#[prop(default = "fill-current dark:fill-[#bf8821]")] class: &'static str,
6+
#[prop(default = "fill-black dark:fill-[#bf8821]")] class: &'static str,
77
) -> impl IntoView {
88
view! {
99
<svg
@@ -17,4 +17,3 @@ pub fn LinkedinIcon(
1717
</svg>
1818
}
1919
}
20-

src/components/icons/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
mod cloudflare;
2-
mod calendar_icon;
32
mod discord_icon;
43
mod github_icon;
54
mod linkedin_icon;
@@ -10,7 +9,6 @@ mod telegram_icon;
109
mod twitter_icon;
1110
mod web_icon;
1211

13-
pub use calendar_icon::*;
1412
pub use cloudflare::*;
1513
pub use discord_icon::*;
1614
pub use github_icon::*;

src/components/icons/telegram_icon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use leptos::{component, view, IntoView};
33
#[component]
44
pub fn TelegramIcon(
55
#[prop(default = 40)] size: u32,
6-
#[prop(default = "fill-current dark:fill-[#bf8821]")] class: &'static str,
6+
#[prop(default = "fill-black dark:fill-[#bf8821]")] class: &'static str,
77
) -> impl IntoView {
88
view! {
99
<svg

src/components/mod.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
mod aprende;
22
mod button_link;
3-
mod button_large_link;
43
mod cards;
54
mod community_projects;
65
mod footer;
@@ -9,15 +8,13 @@ mod header;
98
mod hero;
109
mod icons;
1110
mod other_communities;
12-
mod hacktoberfest;
1311
mod our_communities;
1412
pub mod separator;
1513
mod slogan_button;
1614
mod sponsors;
1715

1816
pub use aprende::{Books, HeaderAprende, Roadmap, Youtube};
1917
pub use button_link::ButtonLink;
20-
pub use button_large_link::ButtonLargeLink;
2118
pub use cards::{CardTitle, CommunityCard, ContributorCard, ProjectCard};
2219
pub use community_projects::CommunityProjects;
2320
pub use footer::Footer;
@@ -28,8 +25,6 @@ pub use icons::{
2825
CloudflareIcon, DiscordIcon, GithubIcon, LinkedinIcon, LocationIcon, NextIcon, TelegramIcon,
2926
TwitterIcon,
3027
};
31-
32-
pub use hacktoberfest::Hacktoberfest;
3328
pub use other_communities::OtherCommunities;
3429
pub use our_communities::OurCommunities;
3530
pub use separator::Separator;

src/pages/index.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
use leptos::{component, view, IntoView};
22

3-
use crate::components::{CommunityProjects, Hero, OtherCommunities, OurCommunities, Hacktoberfest, Sponsors};
3+
use crate::components::{CommunityProjects, Hero, OtherCommunities, OurCommunities, Sponsors};
44

55
#[component]
66
pub fn Index() -> impl IntoView {
77
view! {
88
<div>
99
<Hero/>
1010
<OurCommunities/>
11-
<Hacktoberfest/>
1211
<CommunityProjects show_more=true/>
1312
<OtherCommunities show_more=true/>
1413
<Sponsors/>

tailwind.config.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@ module.exports = {
1414
...theme.screens,
1515
}),
1616
backgroundImage: (theme) => ({
17-
"kaku-dev": "url('/assets/rustlangeshalloween.webp')",
18-
"kaku": "url('/rustlangeshalloween.webp')",
19-
}),
20-
backgroundSize: (theme) => ({
21-
'small': '12rem',
22-
...theme.backgroundSize,
17+
"kaku-dev": "url('/assets/kaku.avif')",
18+
"kaku": "url('/kaku.avif')",
2319
}),
2420
gridTemplateColumns: (theme) => ({
2521
"divided": "2.5fr 1fr",
@@ -89,4 +85,4 @@ module.exports = {
8985
},
9086
},
9187
plugins: [],
92-
};
88+
};

0 commit comments

Comments
 (0)