fix(gatekeeper): bypass image optimizer for branding assets to fix missing assets in subpath deployments
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 3s
Monorepo Pipeline / 🧪 Test (push) Successful in 1m13s
Monorepo Pipeline / 🏗️ Build (push) Successful in 3m13s
Monorepo Pipeline / 🧹 Lint (push) Successful in 3m30s
Monorepo Pipeline / 🚀 Release (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been cancelled
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 3s
Monorepo Pipeline / 🧪 Test (push) Successful in 1m13s
Monorepo Pipeline / 🏗️ Build (push) Successful in 3m13s
Monorepo Pipeline / 🧹 Lint (push) Successful in 3m30s
Monorepo Pipeline / 🚀 Release (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been cancelled
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import { cookies } from "next/headers";
|
import { cookies } from "next/headers";
|
||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
import { ShieldCheck } from "lucide-react";
|
import { ShieldCheck } from "lucide-react";
|
||||||
import Image from "next/image";
|
|
||||||
import { GateScene } from "../../components/gate-scene";
|
import { GateScene } from "../../components/gate-scene";
|
||||||
import { AnimatedLoginForm } from "../../components/animated-login-form";
|
import { AnimatedLoginForm } from "../../components/animated-login-form";
|
||||||
|
|
||||||
@@ -165,14 +164,13 @@ export default async function LoginPage({ searchParams }: LoginPageProps) {
|
|||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="w-14 h-14 bg-white rounded-2xl flex items-center justify-center shadow-lg shadow-black/[0.06] hover:scale-105 hover:shadow-black/10 transition-all duration-500 ease-[cubic-bezier(0.23,1,0.32,1)] border border-black/[0.06] hover:border-black/10"
|
className="w-14 h-14 bg-white rounded-2xl flex items-center justify-center shadow-lg shadow-black/[0.06] hover:scale-105 hover:shadow-black/10 transition-all duration-500 ease-[cubic-bezier(0.23,1,0.32,1)] border border-black/[0.06] hover:border-black/10"
|
||||||
>
|
>
|
||||||
<Image
|
<img
|
||||||
src="/gatekeeper/icon-white.svg"
|
src="/gatekeeper/icon-white.svg"
|
||||||
alt="Mintel"
|
alt="Mintel"
|
||||||
style={{ filter: "invert(1)" }}
|
style={{ filter: "invert(1)" }}
|
||||||
width={28}
|
width={28}
|
||||||
height={28}
|
height={28}
|
||||||
className="w-7 h-7 opacity-80"
|
className="w-7 h-7 opacity-80"
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -214,14 +212,13 @@ export default async function LoginPage({ searchParams }: LoginPageProps) {
|
|||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="opacity-30 transition-opacity hover:opacity-60"
|
className="opacity-30 transition-opacity hover:opacity-60"
|
||||||
>
|
>
|
||||||
<Image
|
<img
|
||||||
src="/gatekeeper/logo-white.svg"
|
src="/gatekeeper/logo-white.svg"
|
||||||
alt={projectName}
|
alt={projectName}
|
||||||
width={120}
|
width={120}
|
||||||
height={36}
|
height={36}
|
||||||
className="h-5 sm:h-6 w-auto"
|
className="h-5 sm:h-6 w-auto"
|
||||||
style={{ filter: "invert(1)" }}
|
style={{ filter: "invert(1)" }}
|
||||||
unoptimized
|
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
<p className="text-[7px] font-sans font-semibold text-black/25 uppercase tracking-[0.5em] text-center">
|
<p className="text-[7px] font-sans font-semibold text-black/25 uppercase tracking-[0.5em] text-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user