-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from michaelcardoza/main
refactor: add mobile design
- Loading branch information
Showing
11 changed files
with
305 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use leptos::*; | ||
|
||
#[component] | ||
pub fn Footer() -> impl IntoView { | ||
view! { | ||
<footer class="w-full bg-orange-900 text-center py-6 text-white"> | ||
"Comunidad - Rust Lang en español" | ||
</footer> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
pub mod icons; | ||
pub mod hero; | ||
pub mod header; | ||
pub mod footer; | ||
pub mod button_link; | ||
pub mod our_communities; | ||
pub mod other_communities; | ||
pub mod community_projects; | ||
pub mod community_projects; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
use leptos::*; | ||
|
||
use crate::components::hero::Hero; | ||
use crate::components::footer::Footer; | ||
use crate::components::our_communities::OurCommunities; | ||
use crate::components::other_communities::OtherCommunities; | ||
use crate::components::community_projects::CommunityProjects; | ||
|
||
#[component] | ||
pub fn Index() -> impl IntoView { | ||
view!{ | ||
view!{ | ||
<div> | ||
<Hero /> | ||
<main> | ||
<OurCommunities /> | ||
<OtherCommunities /> | ||
<CommunityProjects /> | ||
</main> | ||
<Footer /> | ||
</div> | ||
} | ||
} |
Oops, something went wrong.