Skip to content

Commit

Permalink
chore: add tos timestamp to connect screen (#331)
Browse files Browse the repository at this point in the history
* chore: add tos timestamp to connect screen

* fix: change to italic
  • Loading branch information
johann-crabnebula authored Jul 15, 2024
1 parent b914cc7 commit a15c2bd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clients/web/src/components/tos-timestamp.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function TosTimestamp() {
return <p class="italic">Last modified: 11.07.2024</p>;
}
17 changes: 17 additions & 0 deletions clients/web/src/views/connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { ConnectionFailedDialog } from "~/components/dialogs/connection-failed-d
import { createStore } from "solid-js/store";
import { createSignal, DEV, Show } from "solid-js";
import { SafariNotSupportedDialog } from "~/components/dialogs/safari-not-supported-dialog";
import { TosTimestamp } from "~/components/tos-timestamp";

export default function Connect() {
const navigate = useNavigate();
Expand Down Expand Up @@ -123,6 +124,22 @@ export default function Connect() {
Your data is yours. No private information collected from you or your
app.
</p>
<div>
Check CrabNebula's{" "}
<a class="underline" href="https://crabnebula.dev/terms-of-service/">
terms of service
</a>
,{" "}
<a class="underline" href="https://crabnebula.dev/privacy-policy/">
privacy policy
</a>
, and{" "}
<a class="underline" href="https://crabnebula.dev/cookie-policy/">
cookie policy
</a>
.
<TosTimestamp />
</div>
</footer>

<div class="surf-container">
Expand Down

0 comments on commit a15c2bd

Please sign in to comment.