Skip to content

Commit

Permalink
Fix custom header
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiarods committed Jan 12, 2025
1 parent 8775211 commit bfe7cdf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions apps/docs/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/components/Header.astro
11 changes: 6 additions & 5 deletions apps/docs/src/components/Header.astro
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
import config from 'virtual:starlight/user-config';
import type { Props } from '@astrojs/starlight/props';
import LanguageSelect from 'virtual:starlight/components/LanguageSelect';
import Search from 'virtual:starlight/components/Search';
import SiteTitle from 'virtual:starlight/components/SiteTitle';
import SocialIcons from 'virtual:starlight/components/SocialIcons';
import ThemeSelect from 'virtual:starlight/components/ThemeSelect';
import LanguageSelect from '@astrojs/starlight/components/LanguageSelect.astro';
import Search from '@astrojs/starlight/components/Search.astro';
import SiteTitle from '@astrojs/starlight/components/SiteTitle.astro';
import SocialIcons from '@astrojs/starlight/components/SocialIcons.astro';
import ThemeSelect from '@astrojs/starlight/components/ThemeSelect.astro';
/**
Expand Down
5 changes: 5 additions & 0 deletions apps/docs/starlight.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare module 'virtual:starlight/user-config' {
const Config: import('@astrojs/starlight/types').StarlightConfig

export default Config
}

0 comments on commit bfe7cdf

Please sign in to comment.