chore: Update MobileNav component to use "Theme Store" instead of "Themes"

This commit is contained in:
Mauro Balades
2024-08-16 11:16:36 +02:00
parent 765e096d4f
commit 3fe12d8227
4 changed files with 22 additions and 8 deletions

View File

@@ -40,3 +40,7 @@ export function getThemeFromId(id: string): ZenTheme | undefined {
export function getThemeMarkdown(theme: ZenTheme): string {
return fetch(theme.readme, CACHE_OPTIONS).text();
}
export function getThemeAuthorLink(theme: ZenTheme): string {
return `https://github.com/${theme.author}`;
}