Merge pull request 'fix: feat: conversion funnel verification — landing → swap → stake (#1100)' (#1143) from fix/issue-1100 into master
This commit is contained in:
commit
46998ac1bf
2 changed files with 347 additions and 1 deletions
|
|
@ -101,7 +101,13 @@ const router = useRouter();
|
|||
|
||||
const navigateCta = (path: string, label: string) => {
|
||||
trackCtaClick(label);
|
||||
router.push(path);
|
||||
// Paths under /app/ are served by a separate Vue app (webapp) behind Caddy,
|
||||
// so we must do a full browser navigation instead of a client-side router push.
|
||||
if (path.startsWith('/app')) {
|
||||
window.location.href = path;
|
||||
} else {
|
||||
router.push(path);
|
||||
}
|
||||
};
|
||||
|
||||
const openExternal = (url: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue