chore(about): remove distro logo

This commit is contained in:
Michael Aaron Murphy 2024-02-13 22:38:11 +01:00 committed by Michael Murphy
parent f27f030e2f
commit 87371069f7

View file

@ -33,7 +33,6 @@ impl page::Page<crate::pages::Message> for Page {
sections: &mut SlotMap<section::Entity, Section<crate::pages::Message>>,
) -> Option<page::Content> {
Some(vec![
sections.insert(distributor_logo()),
sections.insert(device()),
sections.insert(hardware()),
sections.insert(os()),
@ -75,21 +74,6 @@ fn device() -> Section<crate::pages::Message> {
})
}
fn distributor_logo() -> Section<crate::pages::Message> {
Section::default()
.search_ignore()
.view::<Page>(|_binder, _page, _section| {
row!(
horizontal_space(Length::Fill),
icon::from_name("distributor-logo").size(78).icon(),
horizontal_space(Length::Fill),
)
// Add extra padding to reach 40px from the first section.
.padding([0, 16, 0, 16])
.into()
})
}
fn hardware() -> Section<crate::pages::Message> {
Section::default()
.title(fl!("about-hardware"))