Skip to content

Commit ba0c4e1

Browse files
authored
Merge pull request #194 from bettersg/stg
Stg
2 parents 2e0dca1 + 9ac9bff commit ba0c4e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1019
-1500
lines changed

frontend/package-lock.json

Lines changed: 22 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@nextui-org/system": "^2.2.6",
2121
"@nextui-org/theme": "^2.2.11",
2222
"autoprefixer": "^10.4.20",
23+
"clsx": "^2.1.1",
2324
"firebase": "^11.6.0",
2425
"framer-motion": "^11.9.0",
2526
"next": "^14.2.13",

frontend/src/app/about/about.module.css

Lines changed: 0 additions & 66 deletions
This file was deleted.

frontend/src/app/about/page.js

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"use client";
22
import { Chip } from "@nextui-org/chip";
33
import { Accordion, AccordionItem } from "@nextui-org/react";
4+
import clsx from "clsx";
45

56
export default function AboutPage() {
67
const accordionItems = [
@@ -239,23 +240,28 @@ export default function AboutPage() {
239240
</p>
240241
<p>
241242
Some resources used include{" "}
242-
<a href="https://sbert.net"
243+
<a
244+
href="https://sbert.net"
243245
target="_blank"
244-
className="text-blue-500 hover:text-blue-600">
246+
className="text-blue-500 hover:text-blue-600"
247+
>
245248
this
246-
</a>
247-
{" "} and {" "}
249+
</a>{" "}
250+
and{" "}
248251
<a
249252
href="https://www.kaggle.com/datasets/devendra45/movies-similarity"
250253
target="_blank"
251254
className="text-blue-500 hover:text-blue-600"
252255
>
253256
this
254-
</a> {" "}
257+
</a>{" "}
255258
. We are still improving the natural language feature, and if you
256259
have engineering expertise or insights to offer, reach out via the{" "}
257-
<a href="https://schemes.sg/feedback" target="_blank"
258-
className="text-blue-500 hover:text-blue-600">
260+
<a
261+
href="https://schemes.sg/feedback"
262+
target="_blank"
263+
className="text-blue-500 hover:text-blue-600"
264+
>
259265
&quot;Feedback&quot;
260266
</a>{" "}
261267
form.
@@ -285,21 +291,25 @@ export default function AboutPage() {
285291
),
286292
content: (
287293
<>
294+
<p className="mb-4">We are honored to be mentioned in local media:</p>
288295
<p className="mb-4">
289-
We are honored to be mentioned in local media:
290-
</p>
291-
<p className="mb-4">
292-
1. {" "}
293-
<a href="https://www.channelnewsasia.com/today/big-read/social-services-technology-burnout-challenges-4847736"
296+
1.{" "}
297+
<a
298+
href="https://www.channelnewsasia.com/today/big-read/social-services-technology-burnout-challenges-4847736"
294299
target="_blank"
295-
className="text-blue-500 hover:text-blue-600">
296-
Tech is easing the workload of burnt out social workers, but the challenges of emotional labour remain
300+
className="text-blue-500 hover:text-blue-600"
301+
>
302+
Tech is easing the workload of burnt out social workers, but the
303+
challenges of emotional labour remain
297304
</a>
298305
</p>
299306
<p>
300-
2. <a href="https://www.zaobao.com.sg/news/singapore/story20250112-5721639"
307+
2.{" "}
308+
<a
309+
href="https://www.zaobao.com.sg/news/singapore/story20250112-5721639"
301310
target="_blank"
302-
className="text-blue-500 hover:text-blue-600">
311+
className="text-blue-500 hover:text-blue-600"
312+
>
303313
公务员开发应用 助查询援助计划
304314
</a>
305315
</p>
@@ -309,10 +319,16 @@ export default function AboutPage() {
309319
];
310320

311321
return (
312-
<div className="w-full overflow-x-hidden min-h-[90vh]">
313-
<section className="w-full bg-[#171347]">
322+
<div className="w-full h-full overflow-x-hidden">
323+
<section className="w-full bg-schemes-darkblue">
314324
<div className="container mx-auto px-4 sm:px-6 lg:px-8">
315-
<h1 className="text-3xl md:text-4xl lg:text-5xl font-semibold font-nunito text-white pt-16 md:pt-24">
325+
<h1
326+
className={clsx(
327+
"text-3xl md:text-4xl lg:text-5xl",
328+
"font-semibold text-white",
329+
"pt-16 md:pt-24"
330+
)}
331+
>
316332
About
317333
</h1>
318334
<h2 className="text-base md:text-lg text-white font-light mt-4 mb-8">
@@ -336,7 +352,7 @@ export default function AboutPage() {
336352
Our vision
337353
</Chip>
338354

339-
<p className="text-lg md:text-xl text-[rgb(21,44,91)] leading-relaxed mb-8 font-semibold">
355+
<p className="text-lg md:text-xl text-schemes-darkblue leading-relaxed mb-8 font-semibold">
340356
Our vision is to empower social workers, volunteers, and in the long
341357
run self-help users, to obtain relevant information on social
342358
assistance in Singapore quickly, easily and accurately. We tap on the
@@ -351,9 +367,9 @@ export default function AboutPage() {
351367
aria-label={item.ariaLabel}
352368
title={item.title}
353369
startContent={item.startContent}
354-
className="text-[rgb(21,44,91)]"
370+
className="text-schemes-darkblue"
355371
>
356-
<div className="text-[rgb(113,128,150)]">{item.content}</div>
372+
<div>{item.content}</div>
357373
</AccordionItem>
358374
))}
359375
</Accordion>

0 commit comments

Comments
 (0)