Skip to content

Commit f1e7f07

Browse files
committed
1 parent 91bb0aa commit f1e7f07

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

src/components/PokeFooter.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
import type { Props } from '@astrojs/starlight/props'
32
import Pagination from '@astrojs/starlight/components/Pagination.astro'
43
---
54

65
<nav class="py-12">
7-
<Pagination {...Astro.props}></Pagination>
6+
<Pagination></Pagination>
87
</nav>
98
<footer
109
class="

src/components/PokeHeader.astro

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
---
2-
import starlight from '@astrojs/starlight'
3-
import type { Props } from '@astrojs/starlight/props'
4-
52
import LanguageSelect from '@astrojs/starlight/components/LanguageSelect.astro'
63
import Search from '@astrojs/starlight/components/Search.astro'
74
import SiteTitle from '@astrojs/starlight/components/SiteTitle.astro'
@@ -18,21 +15,21 @@ import PokeNav from './PokeNav.astro'
1815

1916
<div class="header sl-flex">
2017
<div class="title-wrapper sl-flex">
21-
<SiteTitle {...Astro.props} />
18+
<SiteTitle />
2219
</div>
2320
<div class="sl-flex print:hidden">
24-
<!-- {shouldRenderSearch && <Search {...Astro.props} />} -->
25-
<Search {...Astro.props} />
21+
<!-- {shouldRenderSearch && <Search />} -->
22+
<Search />
2623
</div>
2724
<div class="sl-hidden md:sl-flex print:hidden right-group">
2825
<div class="sl-flex poke-navigation">
2926
<PokeNav />
3027
</div>
3128
<div class="sl-flex social-icons">
32-
<SocialIcons {...Astro.props} />
29+
<SocialIcons />
3330
</div>
34-
<ThemeSelect {...Astro.props} />
35-
<LanguageSelect {...Astro.props} />
31+
<ThemeSelect />
32+
<LanguageSelect />
3633
</div>
3734
</div>
3835

0 commit comments

Comments
 (0)