wip: plumbing for building a web app
This commit is contained in:
@@ -5,6 +5,7 @@ import { Label } from "@/components/ui/label";
|
||||
import { H3, Muted } from "@/components/ui/typography";
|
||||
import { PRIVACY_URL, TERMS_URL } from "@/lib/constants";
|
||||
import { useAuthStore } from "@/stores/auth-store";
|
||||
import { platform } from "@/lib/platform";
|
||||
|
||||
interface EmailStepProps {
|
||||
onCodeSent: (email: string) => void;
|
||||
@@ -62,7 +63,7 @@ export function EmailStep({ onCodeSent }: EmailStepProps) {
|
||||
By continuing, you agree to our{" "}
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => window.electronLink.openExternal(TERMS_URL)}
|
||||
onClick={() => platform.link.openExternal(TERMS_URL)}
|
||||
className="underline underline-offset-2 hover:text-foreground"
|
||||
>
|
||||
Terms of Service
|
||||
@@ -70,7 +71,7 @@ export function EmailStep({ onCodeSent }: EmailStepProps) {
|
||||
and{" "}
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => window.electronLink.openExternal(PRIVACY_URL)}
|
||||
onClick={() => platform.link.openExternal(PRIVACY_URL)}
|
||||
className="underline underline-offset-2 hover:text-foreground"
|
||||
>
|
||||
Privacy Policy
|
||||
|
||||
Reference in New Issue
Block a user