Spaces:
Build error
Build error
V0.3.1.7 🪶 Feature Update (#36)
Browse files
frontend/app/components/profile-section.tsx
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
import { useState, useEffect } from 'react';
|
4 |
import { Skeleton } from "@nextui-org/react";
|
5 |
import Image from 'next/image';
|
6 |
-
import { User2, SlidersHorizontal, Info, Trash, RefreshCcw } from 'lucide-react';
|
7 |
import { HeaderNavLink } from '@/app/components/ui/navlink';
|
8 |
import Swal from 'sweetalert2';
|
9 |
import { useSession } from 'next-auth/react';
|
@@ -263,7 +263,10 @@ const ProfileSection: React.FC = () => {
|
|
263 |
<RefreshCcw className="mr-1 h-5 w-5" />
|
264 |
Reset
|
265 |
</button>
|
266 |
-
<button type="submit" disabled={!isProfileChanged()} className="flex flex-grow justify-center items-center text-l disabled:bg-transparent disabled:border disabled:border-gray-500 disabled:text-gray-500 bg-blue-500 text-white px-6 py-3 rounded-md font-bold transition duration-300 ease-in-out transform hover:scale-105 disabled:hover:scale-100">
|
|
|
|
|
|
|
267 |
</div>
|
268 |
</form>
|
269 |
</div>
|
|
|
3 |
import { useState, useEffect } from 'react';
|
4 |
import { Skeleton } from "@nextui-org/react";
|
5 |
import Image from 'next/image';
|
6 |
+
import { User2, SlidersHorizontal, Info, Trash, RefreshCcw, Save } from 'lucide-react';
|
7 |
import { HeaderNavLink } from '@/app/components/ui/navlink';
|
8 |
import Swal from 'sweetalert2';
|
9 |
import { useSession } from 'next-auth/react';
|
|
|
263 |
<RefreshCcw className="mr-1 h-5 w-5" />
|
264 |
Reset
|
265 |
</button>
|
266 |
+
<button type="submit" disabled={!isProfileChanged()} className="flex flex-grow justify-center items-center text-l disabled:bg-transparent disabled:border disabled:border-gray-500 disabled:text-gray-500 bg-blue-500 text-white px-6 py-3 rounded-md font-bold transition duration-300 ease-in-out transform hover:scale-105 disabled:hover:scale-100">
|
267 |
+
<Save className="mr-1 h-5 w-5" />
|
268 |
+
Save
|
269 |
+
</button>
|
270 |
</div>
|
271 |
</form>
|
272 |
</div>
|
frontend/app/components/ui/autofill-prompt/autofill-prompt.interface.tsx
CHANGED
@@ -14,7 +14,7 @@ export const psscocQuestionsBank: QuestionsBankProp[] = [
|
|
14 |
];
|
15 |
|
16 |
export const eirQuestionsBank: QuestionsBankProp[] = [
|
17 |
-
{ title: "I have confidential projects that cannot go on the Internet.
|
18 |
{ title: "My BIM files have speciality equipment such as ovens, microwaves and refrigerators. What should I categorise them as according to the model content requirements. What parameters are required?" },
|
19 |
{ title: "I use my own platforms such as BIM360 and Novade for safety observations. Do I need to use JTC’s OPTIMUS for such issues or can I use my own platforms?" },
|
20 |
{ title: "How many days do I have to submit the BIM Execution Plan and who should I submit it to?" },
|
|
|
14 |
];
|
15 |
|
16 |
export const eirQuestionsBank: QuestionsBankProp[] = [
|
17 |
+
{ title: "I have confidential projects that cannot go on the Internet. What do I need to take note of?" },
|
18 |
{ title: "My BIM files have speciality equipment such as ovens, microwaves and refrigerators. What should I categorise them as according to the model content requirements. What parameters are required?" },
|
19 |
{ title: "I use my own platforms such as BIM360 and Novade for safety observations. Do I need to use JTC’s OPTIMUS for such issues or can I use my own platforms?" },
|
20 |
{ title: "How many days do I have to submit the BIM Execution Plan and who should I submit it to?" },
|