|
|
@@ -473,7 +473,10 @@ const goToHazardDetection = () => {
|
|
|
}
|
|
|
|
|
|
const goToSafetyTraining = () => {
|
|
|
- router.push('/safety-hazard')
|
|
|
+ router.push({
|
|
|
+ path: '/chat',
|
|
|
+ query: { mode: 'safety-training' }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const goToAIChat = () => {
|
|
|
@@ -481,11 +484,17 @@ const goToAIChat = () => {
|
|
|
}
|
|
|
|
|
|
const goToExamWorkshop = () => {
|
|
|
- router.push('/exam-workshop')
|
|
|
+ router.push({
|
|
|
+ path: '/chat',
|
|
|
+ query: { mode: 'exam-workshop' }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const goToAIWriting = () => {
|
|
|
- router.push('/ai-writing')
|
|
|
+ router.push({
|
|
|
+ path: '/chat',
|
|
|
+ query: { mode: 'ai-writing' }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const goToPolicyDocument = () => {
|