diff --git a/src/components/Login.tsx b/src/components/Login.tsx index 868e0ba..d59402a 100644 --- a/src/components/Login.tsx +++ b/src/components/Login.tsx @@ -1,8 +1,10 @@ // src/components/Login.tsx import AtpAgent, { Agent } from "@atproto/api"; +import { useAtom } from "jotai"; import React, { useEffect, useRef, useState } from "react"; import { useAuth } from "~/providers/UnifiedAuthProvider"; +import { imgCDNAtom } from "~/utils/atoms"; import { useQueryIdentity, useQueryProfile } from "~/utils/useQuery"; // --- 1. The Main Component (Orchestrator with `compact` prop) --- @@ -190,19 +192,30 @@ const OAuthForm = () => {

Sign in with AT. Your password is never shared.

- setHandle(e.target.value)} className="px-3 py-2 rounded border border-gray-300 dark:border-gray-700 bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 text-sm focus:outline-none focus:ring-2 focus:ring-gray-500" - /> - + /> */} +
+
+ setHandle(e.target.value)} + /> + +
+ +
); }; @@ -235,7 +248,7 @@ const PasswordForm = () => {

Warning: Less secure. Use an App Password.

- { value={serviceURL} onChange={(e) => setServiceURL(e.target.value)} className="px-3 py-2 rounded border border-gray-300 dark:border-gray-700 bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 text-sm focus:outline-none focus:ring-2 focus:ring-gray-500" - /> + /> */} +
+ setUser(e.target.value)} + /> + +
+
+ setPassword(e.target.value)} + /> + +
+
+ setServiceURL(e.target.value)} + /> + +
{error &&

{error}

}