fix(gatekeeper): fix missing mintel logos on login page
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 3s
Monorepo Pipeline / 🧹 Lint (push) Failing after 54s
Monorepo Pipeline / 🧪 Test (push) Failing after 57s
Monorepo Pipeline / 🏗️ Build (push) Failing after 49s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Image Processor (push) Has been skipped
Monorepo Pipeline / 🐳 Build Directus (Base) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 3s
Monorepo Pipeline / 🧹 Lint (push) Failing after 54s
Monorepo Pipeline / 🧪 Test (push) Failing after 57s
Monorepo Pipeline / 🏗️ Build (push) Failing after 49s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Image Processor (push) Has been skipped
Monorepo Pipeline / 🐳 Build Directus (Base) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
- explicitly use /gatekeeper/ prefix for basePath routing - make image unoptimized so it bypasses _next/image which can fail under traefik
This commit is contained in:
@@ -161,11 +161,12 @@ export default async function LoginPage({ searchParams }: LoginPageProps) {
|
|||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<div className="w-16 h-16 bg-black rounded-xl flex items-center justify-center shadow-xl shadow-slate-100 hover:scale-105 transition-all duration-500 ease-[cubic-bezier(0.23,1,0.32,1)] rotate-2 hover:rotate-0">
|
<div className="w-16 h-16 bg-black rounded-xl flex items-center justify-center shadow-xl shadow-slate-100 hover:scale-105 transition-all duration-500 ease-[cubic-bezier(0.23,1,0.32,1)] rotate-2 hover:rotate-0">
|
||||||
<Image
|
<Image
|
||||||
src="/icon-white.svg"
|
src="/gatekeeper/icon-white.svg"
|
||||||
alt="Mintel"
|
alt="Mintel"
|
||||||
width={32}
|
width={32}
|
||||||
height={32}
|
height={32}
|
||||||
className="w-8 h-8"
|
className="w-8 h-8"
|
||||||
|
unoptimized
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -229,11 +230,12 @@ export default async function LoginPage({ searchParams }: LoginPageProps) {
|
|||||||
<div className="h-px w-8 bg-slate-100" />
|
<div className="h-px w-8 bg-slate-100" />
|
||||||
<div className="opacity-80 transition-opacity hover:opacity-100">
|
<div className="opacity-80 transition-opacity hover:opacity-100">
|
||||||
<Image
|
<Image
|
||||||
src="/logo-black.svg"
|
src="/gatekeeper/logo-black.svg"
|
||||||
alt={projectName}
|
alt={projectName}
|
||||||
width={140}
|
width={140}
|
||||||
height={40}
|
height={40}
|
||||||
className="h-7 sm:h-auto grayscale contrast-125 w-auto"
|
className="h-7 sm:h-auto grayscale contrast-125 w-auto"
|
||||||
|
unoptimized
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<p className="text-[8px] font-sans font-bold text-slate-300 uppercase tracking-[0.4em] sm:tracking-[0.5em] text-center">
|
<p className="text-[8px] font-sans font-bold text-slate-300 uppercase tracking-[0.4em] sm:tracking-[0.5em] text-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user