Skip to content

Commit 551c1e2

Browse files
committed
auto-format code to pass frontend checks
1 parent 77e2501 commit 551c1e2

File tree

3 files changed

+89
-95
lines changed

3 files changed

+89
-95
lines changed

frontend/package-lock.json

Lines changed: 4 additions & 4 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"eslint-plugin-react-hooks": "^5.2.0",
2929
"eslint-plugin-react-refresh": "^0.4.19",
3030
"globals": "^16.0.0",
31-
"prettier": "^3.5.3",
31+
"prettier": "^3.6.2",
3232
"typescript": "~5.7.2",
3333
"typescript-eslint": "^8.26.1",
3434
"vite": "^6.3.1"

frontend/src/About.tsx

Lines changed: 84 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -6,96 +6,90 @@ export default function About() {
66
<div className="relative max-w-2xl m-auto p-8 bg-[#F4F4F2] rounded-none sm:rounded-lg shadow-md">
77
<BackLink />
88
<p className="my-6">
9-
<strong>Tenant First Aid</strong> is an AI-powered chatbot designed to
10-
help Oregon tenants navigate housing and eviction issues. It is a
11-
volunteer-built program by{" "}
12-
<a href="https://www.codepdx.org/" className="text-blue-600 underline">
13-
Code PDX
14-
</a>{" "}
15-
and{" "}
16-
<a
17-
href="https://www.qiu-qiulaw.com/"
18-
className="text-blue-600 underline"
19-
>
20-
Qiu Qiu Law
21-
</a>
22-
.
23-
</p>
24-
<p className="mb-6 text-gray-700">
25-
It&apos;s called "Tenant First Aid" because it&apos;s like emergency
26-
help for renters facing eviction—quick, clear, and focused on what to do
27-
right now. Just like medical first aid helps stabilize someone before
28-
they can see a doctor, Tenant First Aid gives Oregon tenants the
29-
essential legal info they need to understand an eviction notice, respond
30-
on time, and avoid mistakes that could cost them their home.
31-
</p>
32-
<h2 className="text-2xl font-semibold mt-6 mb-2">
33-
Contact:
34-
</h2>
35-
<p>Michael Zhang</p>
36-
<p>Attorney, licensed in Oregon and Washington</p>
37-
38-
<h2 className="text-2xl font-semibold mt-6 mb-2">
39-
Features
40-
</h2>
41-
<ul className="list-disc list-inside">
42-
<li>Instant answers to common rental questions</li>
43-
<li>Guidance on tenant rights and landlord obligations</li>
44-
<li>Easy-to-use chat interface</li>
45-
<li>Available 24/7</li>
46-
</ul>
47-
<h2 className="text-2xl font-semibold mt-6 mb-2">
48-
How It Works
49-
</h2>
50-
<p className="mb-6">
51-
Simply type your question or describe your situation, and Tenant First
52-
Aid will provide helpful information or direct you to relevant
53-
resources.
54-
</p>
55-
<h2 className="text-2xl font-semibold mt-6 mb-2">
56-
Quick Facts:
57-
</h2>
58-
<ul className="list-disc list-inside mb-6">
59-
<li>Uses openAI ChatGPT o3 model</li>
60-
<li>
61-
Reference library:
62-
<ul className="list-none pl-6 mt-1">
63-
<li>
64-
<a
65-
href="https://www.oregonlegislature.gov/bills_laws/ors/ors090.html"
66-
className="text-blue-600 underline"
67-
>
68-
ORS 90 (as amended 2023)
69-
</a>
70-
</li>
71-
<li>
72-
<a
73-
href="https://www.oregonlegislature.gov/bills_laws/ors/ors105.html"
74-
className="text-blue-600 underline"
75-
>
76-
ORS 105
77-
</a>
78-
</li>
79-
<li>
80-
<a
81-
href="https://eugene.municipal.codes/EC/8.425"
82-
className="text-blue-600 underline"
83-
>
84-
Eugene Code Section 8.425
85-
</a>
86-
</li>
87-
<li>
88-
<a
89-
href="https://www.portland.gov/code/30/all"
90-
className="text-blue-600 underline"
91-
>
92-
Portland City Code Title 30
93-
</a>
94-
</li>
95-
</ul>
96-
</li>
97-
</ul>
98-
9+
<strong>Tenant First Aid</strong> is an AI-powered chatbot designed to
10+
help Oregon tenants navigate housing and eviction issues. It is a
11+
volunteer-built program by{" "}
12+
<a
13+
href="https://www.codepdx.org/"
14+
className="text-blue-600 underline"
15+
>
16+
Code PDX
17+
</a>{" "}
18+
and{" "}
19+
<a
20+
href="https://www.qiu-qiulaw.com/"
21+
className="text-blue-600 underline"
22+
>
23+
Qiu Qiu Law
24+
</a>
25+
.
26+
</p>
27+
<p className="mb-6 text-gray-700">
28+
It&apos;s called "Tenant First Aid" because it&apos;s like emergency
29+
help for renters facing eviction—quick, clear, and focused on what to
30+
do right now. Just like medical first aid helps stabilize someone
31+
before they can see a doctor, Tenant First Aid gives Oregon tenants
32+
the essential legal info they need to understand an eviction notice,
33+
respond on time, and avoid mistakes that could cost them their home.
34+
</p>
35+
<h2 className="text-2xl font-semibold mt-6 mb-2">Contact:</h2>
36+
<p>Michael Zhang</p>
37+
<p>Attorney, licensed in Oregon and Washington</p>
38+
39+
<h2 className="text-2xl font-semibold mt-6 mb-2">Features</h2>
40+
<ul className="list-disc list-inside">
41+
<li>Instant answers to common rental questions</li>
42+
<li>Guidance on tenant rights and landlord obligations</li>
43+
<li>Easy-to-use chat interface</li>
44+
<li>Available 24/7</li>
45+
</ul>
46+
<h2 className="text-2xl font-semibold mt-6 mb-2">How It Works</h2>
47+
<p className="mb-6">
48+
Simply type your question or describe your situation, and Tenant First
49+
Aid will provide helpful information or direct you to relevant
50+
resources.
51+
</p>
52+
<h2 className="text-2xl font-semibold mt-6 mb-2">Quick Facts:</h2>
53+
<ul className="list-disc list-inside mb-6">
54+
<li>Uses openAI ChatGPT o3 model</li>
55+
<li>
56+
Reference library:
57+
<ul className="list-none pl-6 mt-1">
58+
<li>
59+
<a
60+
href="https://www.oregonlegislature.gov/bills_laws/ors/ors090.html"
61+
className="text-blue-600 underline"
62+
>
63+
ORS 90 (as amended 2023)
64+
</a>
65+
</li>
66+
<li>
67+
<a
68+
href="https://www.oregonlegislature.gov/bills_laws/ors/ors105.html"
69+
className="text-blue-600 underline"
70+
>
71+
ORS 105
72+
</a>
73+
</li>
74+
<li>
75+
<a
76+
href="https://eugene.municipal.codes/EC/8.425"
77+
className="text-blue-600 underline"
78+
>
79+
Eugene Code Section 8.425
80+
</a>
81+
</li>
82+
<li>
83+
<a
84+
href="https://www.portland.gov/code/30/all"
85+
className="text-blue-600 underline"
86+
>
87+
Portland City Code Title 30
88+
</a>
89+
</li>
90+
</ul>
91+
</li>
92+
</ul>
9993
</div>
10094
</div>
10195
);

0 commit comments

Comments
 (0)