Skip to content

Commit

Permalink
fix: поправил ссылку и поправил vite.config
Browse files Browse the repository at this point in the history
  • Loading branch information
Wycctrujjla109121 committed Jul 11, 2024
1 parent 2d7080a commit 9a18feb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/ProfileLayout/ProfileLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function ProfileLayout(children: string) {
return (
`
<div class=${s.layout}>
<a href='/chat' class=${s.layout__link}>
<a href='/chatSelect' class=${s.layout__link}>
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="14" cy="14" r="14" fill="#3369F3"/>
<rect x="8" y="13.2" width="11" height="1.6" fill="white"/>
Expand Down
5 changes: 4 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ export default defineConfig({
serverError: resolve(root, 'serverError.html'),
notFound: resolve(root, 'notFound.html'),
chatSelect: resolve(root, 'chatSelect.html'),
chat: resolve(root, 'chat.html')
chat: resolve(root, 'chat.html'),
profile: resolve(root, 'profile.html'),
changeProfile: resolve(root, 'changeProfile.html'),
changePassword: resolve(root, 'changePassword.html'),
}
}
}
Expand Down

0 comments on commit 9a18feb

Please sign in to comment.