Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: ensure Navbar is always above on SeoPageTemplate pages and update background gradient on SelfHostingPage (#736)

Adarsh Mamgain4bfe8b7fa6bc
diff --git a/apps/web/app/(site)/Navbar.tsx b/apps/web/app/(site)/Navbar.tsx
index 613053e91..ca4a00bf5 100644
--- a/apps/web/app/(site)/Navbar.tsx
+++ b/apps/web/app/(site)/Navbar.tsx
@@ -102,7 +102,7 @@ export const Navbar = () => {
return (
<>
- <header className="sticky inset-0 top-4 z-[51] md:top-10 animate-in fade-in slide-in-from-top-4 duration-500">
+ <header className="fixed inset-0 top-4 z-[51] md:top-10 animate-in fade-in slide-in-from-top-4 duration-500">
<nav className="p-2 mx-auto w-full max-w-[calc(100%-20px)] bg-white rounded-full border backdrop-blur-md md:max-w-fit border-zinc-200 h-fit">
<div className="flex gap-12 justify-between items-center mx-auto max-w-4xl h-full transition-all">
<div className="flex items-center">
diff --git a/apps/web/components/CommercialGetStarted.tsx b/apps/web/components/CommercialGetStarted.tsx
index 9b43b787e..e16d52e87 100644
--- a/apps/web/components/CommercialGetStarted.tsx
+++ b/apps/web/components/CommercialGetStarted.tsx
@@ -20,7 +20,11 @@ export function CommercialGetStarted() {
return (
<div
className="custom-bg max-w-[1000px] mx-auto rounded-[20px] overflow-hidden relative flex flex-col justify-center p-8"
- style={{ minHeight: "264px" }}
+ style={{
+ minHeight: "264px",
+ background:
+ "linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #0ea5e9 100%)",
+ }}
>
<div
id="cloud-4"