diff --git a/SurveyFrontend/package-lock.json b/SurveyFrontend/package-lock.json index 2129a70..38b21e5 100644 --- a/SurveyFrontend/package-lock.json +++ b/SurveyFrontend/package-lock.json @@ -8,6 +8,7 @@ "name": "survey-frontend", "version": "0.0.0", "dependencies": { + "@formkit/tempo": "^0.1.2", "react": "^19.0.0", "react-dom": "^19.0.0", "uuid": "^11.1.0" @@ -842,6 +843,12 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@formkit/tempo": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@formkit/tempo/-/tempo-0.1.2.tgz", + "integrity": "sha512-jNPPbjL8oj7hK3eHX++CwbR6X4GKQt+x00/q4yeXkwynXHGKL27dylYhpEgwrmediPP4y7s0XtN1if/M/JYujg==", + "license": "MIT" + }, "node_modules/@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", diff --git a/SurveyFrontend/package.json b/SurveyFrontend/package.json index 8865293..150e7f9 100644 --- a/SurveyFrontend/package.json +++ b/SurveyFrontend/package.json @@ -10,6 +10,7 @@ "preview": "vite preview" }, "dependencies": { + "@formkit/tempo": "^0.1.2", "react": "^19.0.0", "react-dom": "^19.0.0", "uuid": "^11.1.0" diff --git a/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.module.css b/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.module.css index 1ba1e33..40b5a44 100644 --- a/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.module.css +++ b/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.module.css @@ -3,4 +3,23 @@ .settingSurvey{ width: 65%; margin-left: 8.9%; +} + +.startEndTime{ + display: flex; + justify-content: space-between; + gap: 14px; +} + +.param{ + background-color: #FFFFFF; + padding-top: 15px; + padding-bottom: 97px; + padding-left: 19px; +} + +.param h2{ + font-size: 24px; + font-weight: 600; + border-radius: 4px; } \ No newline at end of file diff --git a/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.tsx b/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.tsx index f391dfb..e83f446 100644 --- a/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.tsx +++ b/SurveyFrontend/src/components/SettingSurvey/SettingSurvey.tsx @@ -1,12 +1,20 @@ import React from 'react'; import SurveyInfo from "../SurveyInfo/SurveyInfo.tsx"; import styles from "./SettingSurvey.module.css"; +import TimeEvent from "../TimeEvent/TimeEvent.tsx"; const SettingSurvey: React.FC = () => { return (