// Copyright 2023 System76 // SPDX-License-Identifier: GPL-3.0-only use slotmap::SlotMap; use crate::page::{self, section, Content, Section}; pub struct Page; impl page::Page for Page { type Model = super::Model; fn page() -> page::Meta { page::Meta::new("notifications", "preferences-system-notifications-symbolic") .title(fl!("notifications")) .description(fl!("notifications", "desc")) } fn content(sections: &mut SlotMap) -> Option { Some(vec![sections.insert(Section::new())]) } }