Update query property for layouts and components
This commit is contained in:
parent
d2072b47f2
commit
ad25845ba9
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
// Properties
|
// Properties
|
||||||
const {Title, Query} = Astro.props
|
const {Title, Query, QueryText} = Astro.props
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import Head from "@components/global/Head.astro";
|
import Head from "@components/global/Head.astro";
|
||||||
|
@ -13,6 +13,6 @@ import '@styles/mobile.scss'
|
||||||
---
|
---
|
||||||
|
|
||||||
<Head/>
|
<Head/>
|
||||||
<Header Query={Query}/>
|
<Header QueryText={QueryText}/>
|
||||||
<slot/>
|
<slot/>
|
||||||
<Footer/>
|
<Footer/>
|
|
@ -3,13 +3,13 @@
|
||||||
import Base from "./Base.astro"
|
import Base from "./Base.astro"
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
const {Type, Title, Query} = Astro.props
|
const {Type, Title, Query, QueryText} = Astro.props
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import SearchMenu from "@components/global/SearchMenu.astro"
|
import SearchMenu from "@components/global/SearchMenu.astro"
|
||||||
---
|
---
|
||||||
|
|
||||||
<Base Title={Title} Query={Query}>
|
<Base Title={Title} QueryText={QueryText}>
|
||||||
<SearchMenu Type={Type}/>
|
<SearchMenu Type={Type}/>
|
||||||
<div class="search-results">
|
<div class="search-results">
|
||||||
<div class="search-results-start">
|
<div class="search-results-start">
|
||||||
|
|
Loading…
Reference in a new issue