diff --git a/src/components/GeneralRenderer.vue b/src/components/GeneralRenderer.vue index a0a8549..7036224 100644 --- a/src/components/GeneralRenderer.vue +++ b/src/components/GeneralRenderer.vue @@ -10,7 +10,8 @@ import { marked } from "marked"; const props = defineProps({ contentInput: { type: String, - default: '' + default: '', + required: true } }); diff --git a/src/pages/accountPages/Account_admin_userManage.vue b/src/pages/accountPages/Account_admin_userManage.vue index 3296c92..1c8f313 100644 --- a/src/pages/accountPages/Account_admin_userManage.vue +++ b/src/pages/accountPages/Account_admin_userManage.vue @@ -206,6 +206,7 @@ onMounted(() => { left: 50%; font-size: 70px; text-wrap: none; + word-break: keep-all; opacity: 0.08; z-index: 0; } diff --git a/src/pages/demoPages/podExercise/QuestionText.vue b/src/pages/demoPages/podExercise/QuestionText.vue new file mode 100644 index 0000000..ce82607 --- /dev/null +++ b/src/pages/demoPages/podExercise/QuestionText.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file diff --git a/src/pages/demoPages/podExercise/Quiz.vue b/src/pages/demoPages/podExercise/Quiz.vue new file mode 100644 index 0000000..6bc5bcd --- /dev/null +++ b/src/pages/demoPages/podExercise/Quiz.vue @@ -0,0 +1,374 @@ + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index fc2210d..9db93e9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -15,6 +15,7 @@ import Account_admin_userManage from "../pages/accountPages/Account_admin_userMa import Projects from "../pages/Projects_home.vue"; import Demos_home from "../pages/Demos_home.vue"; import Board_page from "../pages/demoPages/messageBoard/Board_page.vue"; +import Pod_page from "../pages/demoPages/podExercise/Quiz.vue"; import Tools_home from "../pages/Tools_home.vue"; import GpaCalculator_page from "../pages/toolPages/gpaCalculator/gpaCalculator_page.vue"; import About from "../pages/About.vue"; @@ -44,6 +45,7 @@ const routes = [ children: [ {path: "1", component: Board_page}, {path: "board", component: Board_page}, + {path: "pod", component: Pod_page} ] }, { path: '/tools',