Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

feat: update login page styles and enhance layout metadata with dual favicon strategy

CristianOlivera1564b4031c76f
diff --git a/app/[locale]/(auth)/login/page.tsx b/app/[locale]/(auth)/login/page.tsx
index b1fba8d..da1e1d4 100644
--- a/app/[locale]/(auth)/login/page.tsx
+++ b/app/[locale]/(auth)/login/page.tsx
@@ -203,20 +203,27 @@ export default function Login() {
}}
/>
<div
- className="absolute inset-0 w-full h-full mix-blend-soft-light blur-[100px] xl:blur-[140px] opacity-80"
+ className="absolute inset-0 w-full h-full mix-blend-multiply blur-[100px] xl:blur-[140px] opacity-90"
style={{
background:
- "linear-gradient(rgba(242, 228, 228, 0) 0%, rgba(252, 247, 247, 0.15) 35%, rgb(249, 241, 241) 70%, rgb(247, 243, 243) 85%, rgb(255,255,255) 100%)",
+ "linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(10, 10, 12, 0.2) 35%, rgb(15, 15, 18) 70%, rgb(8, 8, 10) 85%, rgb(0, 0, 0) 100%)",
}}
/>
+ <div
+ className="absolute top-12 left-[-10%] w-[50%] h-[50%] rounded-full bg-radial from-white/50 via-white/15 to-transparent blur-[80px] xl:blur-[120px] mix-blend-screen opacity-60 pointer-events-none"
+ />
+ <div
+ className="absolute top-1/2 -translate-y-1/2 left-[-20%] w-[60%] h-[60%] rounded-full bg-radial from-white/10 via-transparent to-transparent blur-[100px] xl:blur-[150px] mix-blend-plus-lighter opacity-50 pointer-events-none"
+ />
</div>
+
<div className="absolute inset-0 bg-[radial-gradient(#ffffff11_1px,transparent_1px)] bg-[size:24px_24px] opacity-40 pointer-events-none"></div>
<div className="absolute top-1/2 -translate-y-1/2 left-6 lg:left-10 w-[130%] xl:w-[140%] max-w-none aspect-[16/9.5] z-10 animate-fade-in-up">
<div
aria-hidden="true"
className="absolute -inset-6 blur-3xl -z-10 bg-linear-to-b from-white/10 via-white/5 to-transparent"
/>
- <div className="relative w-full h-full p-1 squircle-element-2xl border border-white/10 bg-white/5 backdrop-blur-md shadow-[0_0_0_1px_rgba(255,255,255,0.05),0_30px_100px_rgba(0,0,0,0.5)] transition-transform duration-700 hover:-translate-x-2">
+ <div className="relative w-full h-full p-1 squircle-element-2xl border border-white/10 bg-white/5 backdrop-blur-md shadow-[0_0_0_1px_rgba(255,255,255,0.05),0_30px_100px_rgba(0,0,0,0.5)] transition-transform duration-700 hover:-translate-x-2 mask-r-from-40% mask-r-to-70%">
<div className="relative w-full h-full overflow-hidden squircle-element-2xl border border-black/50 bg-[#0a0a0c]">
<div className="absolute inset-x-0 top-0 h-px bg-linear-to-r from-transparent via-white/50 to-transparent z-20" />
<div className="absolute inset-x-0 top-0 h-40 bg-linear-to-b from-white/10 to-transparent z-10 pointer-events-none" />
@@ -225,13 +232,12 @@ export default function Login() {
alt="OpenVid Editor Preview"
fill
priority
- className="object-cover opacity-95 transition-opacity duration-700 hover:opacity-100"
+ className="object-cover"
sizes="(max-width: 1024px) 100vw, 80vw"
/>
</div>
</div>
</div>
-
</div>
</div>
);
diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx
index 3d48756..539f811 100644
--- a/app/[locale]/layout.tsx
+++ b/app/[locale]/layout.tsx
@@ -11,6 +11,7 @@ import {
getOgLocales,
getRouteAlternates,
SEO_BASE_URL,
+ SEO_ICONS,
SEO_OG_IMAGE,
} from "@/lib/seo";
import "../globals.css";
@@ -82,11 +83,20 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
creator: "Cristian Olivera",
publisher: "Openvid",
icons: {
+ // Dual favicon strategy:
+ // 1) First entry = browser tab → transparent SVG (no background)
+ // 2) Second entry = solid mark → Google SERP / crawlers prefer a solid mark
+ // When you add PNGs, insert favicon-48.png (solid) right after the tab SVG:
+ // { url: SEO_ICONS.favicon48, sizes: "48x48", type: "image/png" },
+ // { url: SEO_ICONS.favicon32, sizes: "32x32", type: "image/png" },
icon: [
- { url: "/images/metadata/favicon.svg", type: "image/svg+xml" },
+ { url: SEO_ICONS.tab, type: "image/svg+xml", sizes: "any" },
+ { url: SEO_ICONS.solid, type: "image/svg+xml", sizes: "any" },
],
- shortcut: "/images/metadata/shortcut.svg",
- apple: "/images/metadata/apple.svg",
+ shortcut: [{ url: SEO_ICONS.tab, type: "image/svg+xml" }],
+ // iOS home screen needs a solid background (no transparency).
+ // Swap to SEO_ICONS.appleTouch (PNG 180×180) once you export it.
+ apple: [{ url: SEO_ICONS.apple, sizes: "180x180", type: "image/svg+xml" }],
},
appleWebApp: {
title: "Openvid",