Skip to content

Commit

Permalink
fix/github-pages: fix urls inside docs
Browse files Browse the repository at this point in the history
  • Loading branch information
8coon committed Oct 16, 2024
1 parent ca7e19e commit b7cdaec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/layouts/shared/AsideMenu/AsideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function AsideMenu(props: AsideMenuProps) {
if (item.slug) {
return (
<div className="aside-menu-item" key={item.title}>
<Link to={`/articles/${item.slug}`}>{item.title}</Link>
<Link to={`/vkui-tokens/articles/${item.slug}`}>{item.title}</Link>
</div>
);
} else {
Expand All @@ -41,7 +41,7 @@ export function AsideMenu(props: AsideMenuProps) {
})}

<Spacing size={32}/>
<Link to="/">← К таблице токенов</Link>
<Link to="/vkui-tokens">← К таблице токенов</Link>
</Card>
</aside>
);
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/pages/Tokens/TokensHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const TokensHeader: FC = () => {
</div>
<div className="flex items-center" style={styles.linkContainer}>
<Icon16HelpOutline style={{ color: '#99A2AD', marginRight: 6 }}/>
<RouterLink to="/articles/new-theme" style={{textDecoration: 'none'}}>
<RouterLink to="/vkui-tokens/articles/new-theme" style={{textDecoration: 'none'}}>
<Link>
Документация
</Link>
Expand Down

0 comments on commit b7cdaec

Please sign in to comment.