diff --git a/public/themes.webp b/public/themes.webp new file mode 100644 index 0000000..af1d3b4 Binary files /dev/null and b/public/themes.webp differ diff --git a/src/app/globals.css b/src/app/globals.css index fd93773..28eb341 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -41,7 +41,7 @@ --color-two: #fe8bbb; --color-three: #9e7aff; - --surface: rgb(235, 235, 235); + --surface: rgb(245, 245, 245); /* --color-one: #37ecba; diff --git a/src/components/features.tsx b/src/components/features.tsx index f6129d7..960c6a5 100644 --- a/src/components/features.tsx +++ b/src/components/features.tsx @@ -9,6 +9,7 @@ import { EyeOffIcon, Github, HeartHandshake, + HeartPulseIcon, HomeIcon, RabbitIcon, ShieldAlertIcon, @@ -44,6 +45,8 @@ import { } from './ui/table'; import React, { useState } from 'react'; import { ny } from '@/lib/utils'; +import ThemeCard from './theme-card'; +import { getAllThemes, ZenTheme } from '@/lib/themes'; function Checkmark() { return ( @@ -70,10 +73,10 @@ export default function Features() { setFeature((feature) => (feature + 1) % 3); }, 3000); return () => clearInterval(interval); - }); + }, []); return (
-
+

Built for simplicity

Zen Browser is designed to be simple and easy to use. It's built with the user in mind, so you can focus on what matters most.

@@ -94,7 +97,7 @@ export default function Features() {
Zen Browser
-
+
Zen Browser

Split Views

@@ -104,7 +107,7 @@ export default function Features() {
-
+

Sidebar

Zen Browser has a built-in sidebar that lets you quickly access your favorite websites, bookmarks, and more. It's the perfect way to stay organized.

@@ -125,7 +128,7 @@ export default function Features() {
Zen Browser
-
+
Zen Browser

Introducing Compact Mode

@@ -135,7 +138,52 @@ export default function Features() {
-
+
+
+

Better tab management

+

Better tab management helps you stay organized and focused, reducing clutter and enhancing productivity

+
+
+ +

Workspaces

+
+
+ +

Fast profile switcher

+
+
+ +

Container Tabs

+
+
+ +

Tab Groups (Comming Soon)

+
+
+
+
+
+

Security And Privacy is important to us

+

+ Zen is based on Firefox, ensuring that your browsing experience prioritizes security and privacy. With advanced tracking protection and minimal data collection, Zen keeps your online activity safe and secure, giving you peace of mind as you explore the web. +

+
+ + +
+
+
+
+
+

Your Browser, your way

+

With Zen's Theme Store, you can customize your browsing experience to reflect your unique style and preferences. Choose from a wide array of themes, colors, and layouts to make Zen truly your own, transforming your browser into a personalized digital space.

+
+ +
+
+ Zen Browser +
+

Convinced?

Download Zen Browser now and experience the future of browsing.

diff --git a/src/components/header.tsx b/src/components/header.tsx index 69507b2..6973c57 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -42,17 +42,17 @@ export default function Header() {
We care about your experience, not your data.

-
+
- diff --git a/src/components/theme-card.tsx b/src/components/theme-card.tsx index 66ab418..f4f5a7b 100644 --- a/src/components/theme-card.tsx +++ b/src/components/theme-card.tsx @@ -2,14 +2,17 @@ import Image from "next/image"; import { getThemeAuthorLink, ZenTheme } from "@/lib/themes"; import styled from "styled-components"; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "./ui/dialog";import { Button } from "./ui/button"; +import { ny } from "@/lib/utils"; const ThemeCardWrapper = styled.div` `; export default function ThemeCard({ - theme + theme, + className }: { theme: ZenTheme; + className?: string; }) { const maxNameLen = 50; @@ -19,7 +22,7 @@ export default function ThemeCard({ { if (event.target instanceof HTMLAnchorElement) return; window.open(`/themes/${theme.id}`, "_self"); - }} className="flex flex-col justify-start p-5 rounded-lg shadow-sm bg-muted dark:bg-muted/50 border border-grey-900 dark:border-muted w-full hover:shadow-lg transition duration-300 ease-in-out hover:bg-muted/100 hover:border-blue-500 cursor-pointer select-none "> + }} className={ny("flex flex-col justify-start p-5 rounded-lg shadow-sm bg-muted dark:bg-muted/50 border border-grey-900 dark:border-muted w-full hover:shadow-lg transition duration-300 ease-in-out hover:bg-muted/100 hover:border-blue-500 cursor-pointer select-none ", className)}> {theme.name}

{theme.name.substring(0, maxNameLen).trim() + (theme.name.length > maxNameLen ? "..." : "")}