diff --git a/src/app/branding-assets/page.tsx b/src/app/branding-assets/page.tsx new file mode 100644 index 0000000..2399c78 --- /dev/null +++ b/src/app/branding-assets/page.tsx @@ -0,0 +1,13 @@ +import { BrandingAssets } from "@/components/branding-assets"; +import Footer from "@/components/footer"; +import { Navigation } from "@/components/navigation"; + +export default function BrandingAssetsPage() { + return ( +
+ +
+ ); +} diff --git a/src/components/branding-assets.tsx b/src/components/branding-assets.tsx new file mode 100644 index 0000000..e091332 --- /dev/null +++ b/src/components/branding-assets.tsx @@ -0,0 +1,46 @@ +import { LOGO_COLORS } from "@/lib/logos"; + +export function BrandingAssets() { + return ( +
+
+

Branding Assets

+

Download Zen Browser branding assets for your website or project.

+
+
+ {LOGO_COLORS.map((color) => ( +
+ {`Zen +
+

{color} -

+ + Download + +
+
+ ))} +
+
+

License

+

+ All branding assets are licensed under the{" "} + + CC BY-SA 4.0 + + . Thanks to Donno (mr. Logos) for the assets. +
+ You are free to share and adapt the assets for any purpose, even commercially. +

+
+
+ ); +} diff --git a/src/components/logo.tsx b/src/components/logo.tsx index c2ec39e..8e52763 100644 --- a/src/components/logo.tsx +++ b/src/components/logo.tsx @@ -1,12 +1,9 @@ "use client"; +import { LOGO_COLORS } from "@/lib/logos"; import { ny } from "@/lib/utils"; import Image from "next/image"; import React from "react"; -export const LOGO_COLORS = [ - "black", "blue", "brown", "buff", "indigo", "mantis", "orchid", "pink", "tangerine", "turquise", "white", "yellow" -] - export default function Logo({ withText, ...props }: any) { const [randomColor, setRandomColor] = React.useState(LOGO_COLORS[Math.floor(Math.random() * LOGO_COLORS.length)]); React.useEffect(() => { diff --git a/src/components/navigation.tsx b/src/components/navigation.tsx index bc3c35d..50115e0 100644 --- a/src/components/navigation.tsx +++ b/src/components/navigation.tsx @@ -34,6 +34,11 @@ export const components: { title: string; href: string; description: string }[] href: "https://github.com/zen-browser", description: "Check out our source code on GitHub and leave a star!" }, + { + title: "Branding Assets", + href: "/branding-assets", + description: "Download Zen Browser branding assets for your website or project." + }, ] export function Navigation() { diff --git a/src/components/theme-page.tsx b/src/components/theme-page.tsx index 3596b5e..920d69b 100644 --- a/src/components/theme-page.tsx +++ b/src/components/theme-page.tsx @@ -14,7 +14,7 @@ export default function ThemePage({ theme }: { theme: ZenTheme }) { return (
- {theme.name} + {theme.name}

{theme.name}

{theme.description}

{theme.homepage && ( diff --git a/src/lib/logos.ts b/src/lib/logos.ts new file mode 100644 index 0000000..764b931 --- /dev/null +++ b/src/lib/logos.ts @@ -0,0 +1,4 @@ + +export const LOGO_COLORS = [ + "black", "blue", "brown", "buff", "indigo", "mantis", "orchid", "pink", "tangerine", "turquise", "white", "yellow" +]