Skip to content

Commit

Permalink
Merge pull request #104 from bettersg/101_resolve_build_issues
Browse files Browse the repository at this point in the history
101 resolve build issues
  • Loading branch information
rurumeister authored Dec 15, 2024
2 parents ab45734 + a9d0d2d commit 3807df9
Show file tree
Hide file tree
Showing 13 changed files with 640 additions and 532 deletions.
1 change: 1 addition & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v4
- name: Use Node.js
Expand Down
22 changes: 14 additions & 8 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "cross-env APP_ENV=development next dev",
"build": "next build",
"start": "next start",
"dev": "cross-env NODE_ENV=development next dev",
"build": "npm run clean && npm install && next build",
"start": "cross-env NODE_ENV=production next start",
"start:staging": "cross-env NODE_ENV=staging next start",
"lint": "next lint",
"build:staging": "cross-env APP_ENV=staging next build",
"build:prod": "cross-env APP_ENV=production next build",
"test-build:staging": "npm run build:staging && npx serve@latest out",
"test-build:prod": "npm run build:prod && npx serve@latest out"
"test-build:prod": "npm run build:prod && npx serve@latest out",
"clean": "rm -rf node_modules .next out dist"
},
"dependencies": {
"@nextui-org/navbar": "^2.0.37",
Expand All @@ -25,7 +27,7 @@
"react-markdown": "^9.0.1"
},
"devDependencies": {
"@types/node": "^20",
"@types/node": "^20.17.10",
"@types/react": "^18",
"@types/react-dom": "^18",
"cross-env": "^7.0.3",
Expand Down
33 changes: 17 additions & 16 deletions frontend/src/app/about/page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";
import classes from "./about.module.css";
import { Chip } from "@nextui-org/chip";
import { Accordion, AccordionItem } from "@nextui-org/react";
import classes from "./about.module.css";

export default function AboutPage() {
const accordionItems = [
Expand Down Expand Up @@ -30,13 +30,14 @@ export default function AboutPage() {
<>
<p>
Schemes SG started as a side project by our product lead. A
long-time volunteer with various VWOs, he collated a "help-list" to
facilitate referral work and built a quick front-end to share these
resources with his friends. The resource gained unexpected traction
with social workers and volunteers. Sensing that a consolidated
directory could address care workers' pain point of having to
navigate the confusing social assistance landscape, he gathered
like-minded individuals from friends and the{" "}
long-time volunteer with various VWOs, he collated a
&quot;help-list&quot; to facilitate referral work and built a quick
front-end to share these resources with his friends. The resource
gained unexpected traction with social workers and volunteers.
Sensing that a consolidated directory could address care
workers&apos; pain point of having to navigate the confusing social
assistance landscape, he gathered like-minded individuals from
friends and the{" "}
<a
href="https://better.sg"
target="_blank"
Expand Down Expand Up @@ -97,15 +98,15 @@ export default function AboutPage() {
1. Social assistance listings were piecemeal and information was
fragmented across various sites. There were some compilations, but
they were often PDF files hidden within the repositories of
organisations' websites, so they might not be easy to find. Search
engines might also miss them.
organisations&apos; websites, so they might not be easy to find.
Search engines might also miss them.
</p>
<p>
{" "}
2. Even if one could get their hands on a compilation, it would take
a million "Ctrl + F"s and painstaking excavation to find schemes,
given how complex social assistance is. The volume of information
was simply mind-boggling.
a million &quot;Ctrl + F&quot;s and painstaking excavation to find
schemes, given how complex social assistance is. The volume of
information was simply mind-boggling.
</p>
<p>
{" "}
Expand Down Expand Up @@ -163,7 +164,7 @@ export default function AboutPage() {
1. All information is <strong>public-domain</strong>. Schemes SG
only agglomerates public info to help navigate complexity. Where
individual schemes are concerned, we use the descriptions from the
organisations' writeups wherever possible to let them speak for
organisations&apos; writeups wherever possible to let them speak for
their own good work :) If we make edits, it is to improve search
functionality, and we ensure that they are factually accurate.{" "}
</p>
Expand Down Expand Up @@ -221,7 +222,7 @@ export default function AboutPage() {
content: (
<>
<p>
Schemes Pal's natural language model involves the following
Schemes Pal&apos;s natural language model involves the following
transformation: Bag of Words (BoW) -{">"} TF-IDF -{">"} latent
semantic indexing (LSI). Some resources used include{" "}
<a
Expand All @@ -247,7 +248,7 @@ export default function AboutPage() {
. We are still improving the natural language feature, and if you
have engineering expertise or insights to offer, reach out via the{" "}
<a href="https://schemes.sg/feedback" target="_blank">
"Feedback"
&quot;Feedback&quot;
</a>{" "}
form.
</p>
Expand Down
Loading

0 comments on commit 3807df9

Please sign in to comment.