Skip to content

Commit aba13d2

Browse files
committed
add terms and condition and support email
1 parent 798688e commit aba13d2

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

packages/app/src/pages/index.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,17 @@ export default function IndexPage() {
221221
</CardContent>
222222
</Card>
223223
</div>
224+
<div className="text-center text-sm text-muted-foreground">
225+
Need some help? Email us at:
226+
<Link to="mailto:[email protected]?subject=Help with nanoapi dashboard">
227+
<Button
228+
variant="link"
229+
size="sm"
230+
>
231+
232+
</Button>
233+
</Link>
234+
</div>
224235
</div>
225236
);
226237
}

packages/app/src/pages/login.tsx

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
} from "../components/shadcn/InputOTP.tsx";
1616
import { toast } from "sonner";
1717
import { ArrowRight, ChevronLeft, Loader, Mail, Shield } from "lucide-react";
18-
import { useNavigate, useSearchParams } from "react-router";
18+
import { Link, useNavigate, useSearchParams } from "react-router";
1919
import { useCoreApi } from "../contexts/CoreApi.tsx";
2020
import z from "zod";
2121
import { zodResolver } from "@hookform/resolvers/zod";
@@ -335,6 +335,43 @@ export default function LoginPage() {
335335
</p>
336336
)}
337337
</div>
338+
<div className="flex flex-col items-center gap-1">
339+
<div className="flex gap-2">
340+
<Link
341+
to="https://docs.nanoapi.io/default-guide/legal/terms-of-service"
342+
target="_blank"
343+
>
344+
<Button
345+
variant="link"
346+
size="sm"
347+
>
348+
Terms of Service
349+
</Button>
350+
</Link>
351+
<Link
352+
to="https://docs.nanoapi.io/default-guide/legal/privacy-policy"
353+
target="_blank"
354+
>
355+
<Button
356+
variant="link"
357+
size="sm"
358+
>
359+
Privacy Policy
360+
</Button>
361+
</Link>
362+
</div>
363+
<p className="text-sm text-muted-foreground">
364+
Need some help? Email us at:
365+
<Link to="mailto:[email protected]?subject=Help with login/signup">
366+
<Button
367+
variant="link"
368+
size="sm"
369+
>
370+
371+
</Button>
372+
</Link>
373+
</p>
374+
</div>
338375
</div>
339376
</div>
340377
);

0 commit comments

Comments
 (0)