first commit
This commit is contained in:
parent
a3f5f5f701
commit
207c82578f
137 changed files with 4659 additions and 8605 deletions
20
src/components/Search.astro
Normal file
20
src/components/Search.astro
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
import Search from "astro-pagefind/components/Search";
|
||||
---
|
||||
|
||||
<div class="search-component">
|
||||
<Search id="search" className="pagefind-ui" />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
div.search-component {
|
||||
max-width: 50ch;
|
||||
margin: 0 auto;
|
||||
}
|
||||
@media screen and (max-width: 780px) {
|
||||
div.search-component {
|
||||
max-width: 90vw;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue