pageTitle prop as var
This commit is contained in:
pare
df50407904
commit
cc0e98f94a
S'han modificat 1 arxius amb 2 adicions i 1 eliminacions
|
@ -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>
|
||||
|
|
Loading…
Referencia en una nova incidència