You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{id: '1',text: "Hi! What can I help you with today?",isUser: false}
31
+
]);
32
+
33
+
// Mapping? Similar to how freerooms was done for search
34
+
constFaqItems: FaqItem[]=[
35
+
{
36
+
id: "1",
37
+
question: "What is CSESoc?",
38
+
answer: "We're one of the largest computing societies in the southern hemisphere! Whether you're looking to improve your tech skills, network with like-minded peers, or explore career opportunities, CSESoc offers valuable resources and experiences for computer science and engineering students.",
39
+
},
40
+
{
41
+
id: "2",
42
+
question: "How can I join CSESoc?",
43
+
answer: "Check our discord and website for updates! Spots open up every year :)",
44
+
},
45
+
{
46
+
id: "3",
47
+
question: "What events do CSESoc run?",
48
+
answer: "We run events that range from fun social meetups to hackathons and training workshops. You can check out our full event listing at our facebook page and on discord announcements!",
49
+
},
50
+
{
51
+
id: "4",
52
+
question: "Who's Ollie?",
53
+
answer: "That would be me! Wait, I'm actually a bot. Anyways, Ollie is CSESoc's ottersome little mascot!",
54
+
},
55
+
];
56
+
57
+
constaddMessage=(text: string,isUser: boolean)=>{
58
+
constnewMessage: Message={
59
+
id: Date.now().toString(),
60
+
text,
61
+
isUser,
62
+
};
63
+
{/*Update array, append new message atop previous*/}
0 commit comments