Temporary fix for examples check (#7550)
This commit is contained in:
parent
94a1529587
commit
0f0c31fba5
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import Icon, { Props as IconProps } from './Icon.astro';
|
import Icon from './Icon.astro';
|
||||||
import ThemeToggle from './ThemeToggle.astro';
|
import ThemeToggle from './ThemeToggle.astro';
|
||||||
|
import type { iconPaths } from './IconPaths';
|
||||||
|
|
||||||
/** Main menu items */
|
/** Main menu items */
|
||||||
const textLinks: { label: string; href: string }[] = [
|
const textLinks: { label: string; href: string }[] = [
|
||||||
|
@ -10,7 +11,7 @@ const textLinks: { label: string; href: string }[] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
/** Icon links to social media — edit these with links to your profiles! */
|
/** Icon links to social media — edit these with links to your profiles! */
|
||||||
const iconLinks: { label: string; href: string; icon: IconProps['icon'] }[] = [
|
const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[] = [
|
||||||
{ label: 'Twitter', href: 'https://twitter.com/me', icon: 'twitter-logo' },
|
{ label: 'Twitter', href: 'https://twitter.com/me', icon: 'twitter-logo' },
|
||||||
{ label: 'Twitch', href: 'https://twitch.tv/me', icon: 'twitch-logo' },
|
{ label: 'Twitch', href: 'https://twitch.tv/me', icon: 'twitch-logo' },
|
||||||
{ label: 'GitHub', href: 'https://github.com/me', icon: 'github-logo' },
|
{ label: 'GitHub', href: 'https://github.com/me', icon: 'github-logo' },
|
||||||
|
|
Loading…
Add table
Reference in a new issue