Open source CapCut alternative.
TypeScript
Replace top nav smile icon with site mark
David Lee3e887e3fbb7
diff --git a/site/public/donkey-site-mark.webp b/site/public/donkey-site-mark.webpnew file mode 100644index 00000000..28772c63Binary files /dev/null and b/site/public/donkey-site-mark.webp differdiff --git a/site/src/app/_components/landing/TopNav.tsx b/site/src/app/_components/landing/TopNav.tsxindex e04d3085..b25615df 100644--- a/site/src/app/_components/landing/TopNav.tsx+++ b/site/src/app/_components/landing/TopNav.tsx@@ -1,6 +1,7 @@"use client";-import { ArrowRight, Smile } from "lucide-react";+import Image from "next/image";+import { ArrowRight } from "lucide-react";import { PillButton } from "@/app/_components/landing/LandingPrimitives";import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";@@ -37,7 +38,7 @@ export function TopNav({style={{display: "flex",alignItems: "center",- gap: 8,+ gap: 0,color: BLACK,textDecoration: "none",}}@@ -47,13 +48,25 @@ export function TopNav({width: 36,height: 36,borderRadius: 8,- background: BLACK,display: "flex",alignItems: "center",justifyContent: "center",+ overflow: "hidden",}}>- <Smile color="#fff" size={20} />+ <Image+ src="/donkey-site-mark.webp"+ alt=""+ width={36}+ height={36}+ sizes="36px"+ style={{+ display: "block",+ width: "100%",+ height: "100%",+ objectFit: "cover",+ }}+ /></div><span style={{ fontWeight: 900, fontSize: 24 }}>donkey</span></a>