Skip to content

Revert "Added new october art for the background" #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/ferris-hero.avif
Binary file not shown.
Binary file removed assets/rustlangeshalloween.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn App() -> impl IntoView {
<Router>
<HeadInformation/>
<Body class=format!(
"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",
"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]",
bg_in_dark_mode,
)/>
<Header/>
Expand Down
46 changes: 0 additions & 46 deletions src/components/button_large_link.rs

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/button_link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn ButtonLink(
"primary",
"bg-orange-200 dark:bg-transparent hover:bg-black hover:text-white",
),
("white", "bg-orange-100 dark:bg-transparent hover:bg-black hover:text-white"),
("white", "bg-orange-100 dark:bg-transparent hover:bg-black"),
]);
let shadows = HashMap::from([
("drop", "drop-shadow-[4px_4px_0_rgba(0,0,0)] hover:drop-shadow-[0_0_0_rgba(0,0,0)]"),
Expand Down
61 changes: 0 additions & 61 deletions src/components/hacktoberfest.rs

This file was deleted.

21 changes: 0 additions & 21 deletions src/components/icons/calendar_icon.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/components/icons/discord_icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ pub fn DiscordIcon(
</svg>
}
}

1 change: 0 additions & 1 deletion src/components/icons/linkedin_icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ pub fn LinkedinIcon(
</svg>
}
}

2 changes: 0 additions & 2 deletions src/components/icons/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
mod cloudflare;
mod calendar_icon;
mod discord_icon;
mod github_icon;
mod linkedin_icon;
Expand All @@ -10,7 +9,6 @@ mod telegram_icon;
mod twitter_icon;
mod web_icon;

pub use calendar_icon::*;
pub use cloudflare::*;
pub use discord_icon::*;
pub use github_icon::*;
Expand Down
5 changes: 0 additions & 5 deletions src/components/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
mod aprende;
mod button_link;
mod button_large_link;
mod cards;
mod community_projects;
mod footer;
Expand All @@ -9,15 +8,13 @@ mod header;
mod hero;
mod icons;
mod other_communities;
mod hacktoberfest;
mod our_communities;
pub mod separator;
mod slogan_button;
mod sponsors;

pub use aprende::{Books, HeaderAprende, Roadmap, Youtube};
pub use button_link::ButtonLink;
pub use button_large_link::ButtonLargeLink;
pub use cards::{CardTitle, CommunityCard, ContributorCard, ProjectCard};
pub use community_projects::CommunityProjects;
pub use footer::Footer;
Expand All @@ -28,8 +25,6 @@ pub use icons::{
CloudflareIcon, DiscordIcon, GithubIcon, LinkedinIcon, LocationIcon, NextIcon, TelegramIcon,
TwitterIcon,
};

pub use hacktoberfest::Hacktoberfest;
pub use other_communities::OtherCommunities;
pub use our_communities::OurCommunities;
pub use separator::Separator;
Expand Down
3 changes: 1 addition & 2 deletions src/pages/index.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
use leptos::{component, view, IntoView};

use crate::components::{CommunityProjects, Hero, OtherCommunities, OurCommunities, Hacktoberfest, Sponsors};
use crate::components::{CommunityProjects, Hero, OtherCommunities, OurCommunities, Sponsors};

#[component]
pub fn Index() -> impl IntoView {
view! {
<div>
<Hero/>
<OurCommunities/>
<Hacktoberfest/>
<CommunityProjects show_more=true/>
<OtherCommunities show_more=true/>
<Sponsors/>
Expand Down
10 changes: 3 additions & 7 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ module.exports = {
...theme.screens,
}),
backgroundImage: (theme) => ({
"kaku-dev": "url('/assets/rustlangeshalloween.webp')",
"kaku": "url('/rustlangeshalloween.webp')",
}),
backgroundSize: (theme) => ({
'small': '12rem',
...theme.backgroundSize,
"kaku-dev": "url('/assets/kaku.avif')",
"kaku": "url('/kaku.avif')",
}),
gridTemplateColumns: (theme) => ({
"divided": "2.5fr 1fr",
Expand Down Expand Up @@ -89,4 +85,4 @@ module.exports = {
},
},
plugins: [],
};
};
Loading