Skip to content

Commit 9e0a086

Browse files
author
pengyu
committed
adjust jounery content and toast position after log in
1 parent 98f7ba8 commit 9e0a086

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

frontend/src/components/root/nav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ const FloatingNavbar = forwardRef<NavbarRef, FloatingNavbarProps>(
173173
e.preventDefault();
174174
alert('Coming Soon');
175175
} else if (label === 'Codefox Journey') {
176-
e.preventDefault();
177-
window.open('https://github.com/Sma1lboy/codefox', '_blank');
176+
e.preventDefault();
177+
alert('Coming Soon');
178178
} else {
179179
handleTabChange(index);
180180
}

frontend/src/components/sign-in-modal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ export function SignInModal({ isOpen, onClose }: SignInModalProps) {
4343
if (data?.login) {
4444
// Store tokens where desired (session storage for access, local for refresh)
4545
login(data.login.accessToken, data.login.refreshToken);
46-
toast.success('Login successful!');
46+
toast.success('Login successful!',{
47+
position: 'bottom-right'
48+
});
4749
setErrorMessage(null);
4850
onClose(); // Close the modal
4951

0 commit comments

Comments
 (0)