Skip to content

Commit 5a8a921

Browse files
committed
Fixed build errors
- Fixed linting errors - Modified how it works section under about us
1 parent 690e4a4 commit 5a8a921

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

frontend/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { FilterObjType } from "./interfaces/filter";
1313
import clsx from "clsx";
1414
import QueryPrompts from "@/components/query-prompts";
1515
import dynamic from "next/dynamic";
16-
import Partners from "@/components/partners";
16+
// import Partners from "@/components/partners";
1717

1818
// lazy load about section
1919
const AboutSection = dynamic(() => import("@/components/about/about-section"), {

frontend/src/components/about/about-section.jsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import { ClockIcon } from "@/assets/icons/clock-icon";
22
import { SearchIcon } from "@/assets/icons/search-icon";
33
import { StackIcon } from "@/assets/icons/stack-icon";
4-
import { Button } from "@heroui/react";
5-
import { useRouter } from "next/navigation";
6-
import StatsCard from "./stats-card";
7-
import Carousel from "./carousel";
8-
import AboutContent from "./about-content";
9-
import InfoCard from "./info-card";
104
import { DataIcon } from "@/assets/icons/data-icon";
115
import { CheckIcon } from "@/assets/icons/check-icon";
126
import { AIFileIcon } from "@/assets/icons/ai-file-icon";
137
import { PeopleIcon } from "@/assets/icons/people-icon";
148
import { ChatIcon } from "@/assets/icons/chat-icon";
159
import { RepeatIcon } from "@/assets/icons/repeat-icon";
10+
import { Button } from "@heroui/react";
11+
import { useRouter } from "next/navigation";
12+
import StatsCard from "./stats-card";
13+
import Carousel from "./carousel";
14+
import AboutContent from "./about-content";
15+
import InfoCard from "./info-card";
1616
import aboutusImg1 from '@/assets/about-section/about-us1.svg'
1717
import aboutusImg2 from '@/assets/about-section/about-us2.svg'
1818
import clsx from "clsx";
@@ -33,7 +33,7 @@ function AboutSection() {
3333
Built for the community, with the community
3434
</h2>
3535
<p className="text-base md:text-xl text-center">
36-
Making Singapore's social assistance schemes{" "}
36+
Making Singapore&apos;s social assistance schemes{" "}
3737
<span className="text-schemes-blue">easy to find</span> and{" "}
3838
<span className="text-schemes-blue">access</span>
3939
</p>
@@ -106,13 +106,13 @@ function AboutSection() {
106106
</InfoCard>
107107
<InfoCard
108108
title="Check for accuracy"
109-
text="Entries are reviewed against primary documents to make sure the information you see is correct."
109+
text="Entries are reviewed by volunteer team against source materials"
110110
>
111111
<CheckIcon className="fill-white" size={50} />
112112
</InfoCard>
113113
<InfoCard
114114
title="Enrich with AI"
115-
text="We use web scraping and AI to fill in missing details and make scheme descriptions more complete over time."
115+
text="We use AI to organise schemes details and make schemes easier to find."
116116
>
117117
<AIFileIcon className="fill-white" size={50} />
118118
</InfoCard>

frontend/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"@/*": ["./src/*"]
2222
}
2323
},
24-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "src/**/*"],
24+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
2525
"exclude": ["node_modules"]
2626
}

0 commit comments

Comments
 (0)