holy moly thats a lotta damage

This commit is contained in:
2026-05-25 22:10:19 -04:00
parent c01c1a5636
commit b62ab77fbe
47 changed files with 1444 additions and 129 deletions

View File

@@ -11,13 +11,13 @@ interface Testimonial {
const testimonials: Testimonial[] = [
{
quote:
"ShieldAI caught a credential leak before it became a disaster. Essential tool for anyone concerned about their digital identity.",
"Kordant caught a credential leak before it became a disaster. Essential tool for anyone concerned about their digital identity.",
author: "Sarah Chen",
role: "Security Engineer",
},
{
quote:
"I sleep better knowing ShieldAI is monitoring my personal information 24/7.",
"I sleep better knowing Kordant is monitoring my personal information 24/7.",
author: "Marcus Johnson",
role: "Freelance Developer",
},
@@ -52,7 +52,7 @@ export default function AuthLayout(props: AuthLayoutProps) {
<div class="hidden md:flex flex-col justify-center gap-6 flex-1 p-8 lg:p-12">
<div>
<h1 class="text-3xl lg:text-4xl font-bold text-gradient-primary">
ShieldAI
Kordant
</h1>
<p class="text-lg text-[var(--color-text-secondary)] mt-2">
AI-Powered Identity Protection

View File

@@ -9,20 +9,32 @@ export default function SocialAuthButtons(props: SocialAuthButtonsProps) {
<button
type="button"
onClick={props.onGoogleSignIn}
class="flex items-center justify-center gap-3 w-full px-4 py-2.5 border border-[var(--color-border)] rounded-lg text-sm font-medium text-[var(--color-text-primary)] bg-white hover:bg-[var(--color-bg-secondary)] transition-colors cursor-pointer"
class="flex items-center justify-center gap-3 w-full px-4 py-2.5 border border-(--color-border) rounded-lg text-sm font-medium text-black dark:text-white bg-white hover:bg-bg-secondary transition-colors cursor-pointer dark:bg-black"
>
<svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor">
<path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z" fill="#4285F4" />
<path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853" />
<path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05" />
<path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335" />
<path
d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z"
fill="#4285F4"
/>
<path
d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
fill="#34A853"
/>
<path
d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
fill="#FBBC05"
/>
<path
d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
fill="#EA4335"
/>
</svg>
Continue with Google
</button>
<button
type="button"
onClick={props.onAppleSignIn}
class="flex items-center justify-center gap-3 w-full px-4 py-2.5 border border-[var(--color-border)] rounded-lg text-sm font-medium text-white bg-black hover:bg-gray-900 transition-colors cursor-pointer"
class="flex items-center justify-center gap-3 w-full px-4 py-2.5 border border-(--color-border) rounded-lg text-sm font-medium text-white bg-black hover:bg-gray-900 transition-colors cursor-pointer"
>
<svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor">
<path d="M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.6 5.98.52 7.13-.62 1.28-1.4 2.55-2.57 3.08Zm-3.12-15.2c.03-1.14.44-2.23 1.07-3.03.82-.98 2.11-1.63 3.32-1.59.06 1.24-.4 2.45-1.12 3.3-.77.9-1.98 1.52-3.27 1.32Z" />

View File

@@ -119,13 +119,13 @@ describe("AuthLayout", () => {
expect(document.body.textContent).toContain("Form content");
});
it("renders ShieldAI branding", () => {
it("renders Kordant branding", () => {
mount(() => (
<AuthLayout>
<p>Content</p>
</AuthLayout>
));
expect(document.body.textContent).toContain("ShieldAI");
expect(document.body.textContent).toContain("Kordant");
});
it("renders gradient-card wrapper", () => {
@@ -143,7 +143,7 @@ describe("AuthLayout", () => {
<p>Content</p>
</AuthLayout>
));
expect(document.body.textContent).toContain("ShieldAI");
expect(document.body.textContent).toContain("Kordant");
expect(document.body.textContent).toContain("AI-Powered Identity Protection");
});
});