pageTitle prop as var

This commit is contained in:
Pau Figueras 2023-03-16 21:12:41 +01:00
pare df50407904
commit cc0e98f94a

Veure arxiu

@ -4,7 +4,8 @@
import Navbar from "../lib/navbar.svelte";
import './styles.css';
let pageTitle: string = "pswsm meteo"
let navbarElements: NavbarObject[] = [new NavbarObject('/', 'Home'), new NavbarObject('/abtme', 'Sobre mi'), new NavbarObject('/temps', 'Temps'), new NavbarObject('/xema', 'Estacions'), new NavbarObject('/openmeteo', 'Dades Open Meteo')]
</script>
<Navbar navobjs={navbarElements} pageTitle="pswsm meteo" />
<Navbar navobjs={navbarElements} pageTitle={pageTitle} />
<slot></slot>