개선관리 요구사항과 Google 로그인을 완료

This commit is contained in:
Yun Chan 2026-08-28 16:07:09 +09:00
parent cc0a15b7c6
commit 2a39636163
112 changed files with 10166 additions and 527 deletions

View file

@ -1,8 +1,8 @@
import { Icon } from "../../components/ui/Icon";
interface LoginBrandProps {
allowedDomains: string[];
oauthChecking: boolean;
oauthReady: boolean;
}
function VignetteMark() {
@ -22,7 +22,7 @@ function VignetteMark() {
);
}
export function LoginBrand({ allowedDomains, oauthChecking }: LoginBrandProps) {
export function LoginBrand({ oauthChecking, oauthReady }: LoginBrandProps) {
return (
<section className="lg-brand" aria-label="Vignette">
<div className="lg-wordmark">
@ -48,13 +48,9 @@ export function LoginBrand({ allowedDomains, oauthChecking }: LoginBrandProps) {
<div className="lg-policy">
<span>
<Icon name="shield" size={17} />
Google
</span>
{allowedDomains.length ? (
allowedDomains.map((domain) => <b key={domain}>{domain}</b>)
) : (
<b>{oauthChecking ? "확인 중" : "설정 필요"}</b>
)}
<b>{oauthChecking ? "확인 중" : oauthReady ? "모든 Google 계정" : "설정 필요"}</b>
</div>
</section>
);