🚧 Añade constante PAGETOP_VERSION

This commit is contained in:
Manuel Cillero 2025-11-29 13:55:35 +01:00
parent 4ac7caddd4
commit 0849d23e3f
6 changed files with 72 additions and 18 deletions

View file

@ -105,7 +105,7 @@ impl Component for Intro {
fn setup_before_prepare(&mut self, cx: &mut Context) {
cx.alter_assets(ContextOp::AddStyleSheet(
StyleSheet::from("/css/intro.css").with_version(env!("CARGO_PKG_VERSION")),
StyleSheet::from("/css/intro.css").with_version(PAGETOP_VERSION),
));
}