Skip to content

Commit d40d312

Browse files
Merge pull request #24 from kartikver15gr8/feat/rate-limit
minor fixes
2 parents 98dbbdf + e694060 commit d40d312

File tree

13 files changed

+92
-75
lines changed

13 files changed

+92
-75
lines changed

app/terms-of-use/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import Image from "next/image";
2-
import zenorizonlogo from "@/public/assets/icons/appIconTwo.svg";
3-
import Link from "next/link";
4-
51
export default function TermsConditions() {
62
return (
73
<div className="grid grid-cols-1 items-center justify-center pt-[70px] min-h-screen px-4 sm:px-6 md:px-10 lg:px-20 xl:px-28 ">

components/authPages/signup-page.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
"use client";
22

33
import Image from "next/image";
4-
import zenorizonlogo from "@/public/assets/icons/appIconTwo.svg";
54
import Link from "next/link";
6-
import { toast } from "sonner";
75
import React, { useEffect } from "react";
86
import { signIn, useSession } from "@/utils/auth";
97
import { useRouter } from "next/navigation";
@@ -40,7 +38,7 @@ export default function SignupPage() {
4038
<div className=" w-80 rounded flex flex-col items-center justify-center">
4139
<Image
4240
className="border border-white p-1 h-20 w-20 rounded-3xl mb-10"
43-
src={zenorizonlogo}
41+
src="appIconTwo.svg"
4442
alt="Logo"
4543
width={100}
4644
height={100}

components/landing/hero.tsx

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22

33
import axios from "axios";
44
import { useState } from "react";
5-
import { toast } from "sonner";
65
import { z } from "zod";
7-
86
import { BlurFade } from "../magicui/blur-fade";
97
import Image from "next/image";
108
import homebannerImg from "@/public/banner/homebannertwo.png";
11-
12-
import bg from "@/public/assets/bg/bg.svg";
139
import grid from "@/public/assets/bg/grid.svg";
1410
import spinner from "@/public/assets/loader/spinner.svg";
1511
import { customToast } from "@/lib/custom-toast";
12+
import { motion } from "framer-motion";
1613

1714
const emailSchema = z.string().email({ message: "Invalid email address" });
1815

@@ -77,31 +74,35 @@ export default function Hero() {
7774
<div className="relative h-[300px] sm:h-[400px] lg:h-[500px] flex px-4 sm:px-6 md:px-10 lg:px-14 xl:px-28 2xl:px-40 justify-center items-center">
7875
<Image className="absolute opacity-20 z-0" src={grid} alt="" />
7976
<div className=" flex flex-col items-center md:font-bold ">
80-
<BlurFade
81-
delay={0.5}
82-
inView
83-
className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-bold mb-1 md:mb-2"
77+
<motion.p
78+
initial={{ opacity: 0, y: 20 }}
79+
animate={{ opacity: 1, y: 0 }}
80+
transition={{ duration: 0.5, delay: 0.2 }}
81+
className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-bold md:mb-2"
8482
>
85-
Streamline your workflow,
86-
</BlurFade>
87-
<BlurFade
88-
delay={0.75}
89-
inView
83+
Streamline your workflow
84+
</motion.p>
85+
<motion.div
86+
initial={{ opacity: 0, y: 20 }}
87+
animate={{ opacity: 1, y: 0 }}
88+
transition={{ duration: 0.5, delay: 0.3 }}
9089
className="flex flex-wrap justify-center items-center gap-x-1 xl:gap-x-3 text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-bold"
9190
>
9291
Amplify your impact with
9392
<p className="text-transparent bg-gradient-to-b from-gray-600 via-gray-400 to-white bg-clip-text ml-2">
9493
Zenorizon
9594
</p>
96-
</BlurFade>
97-
<div className="mt-4 flex flex-col items-center font-extralight text-[#AEAEAE] text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl">
98-
<BlurFade delay={1} inView>
99-
Introducing the system for modern software development.
100-
</BlurFade>
101-
<BlurFade delay={1.2} inView>
102-
Organize issues, projects, and product roadmaps.
103-
</BlurFade>
104-
</div>
95+
</motion.div>
96+
97+
<motion.div
98+
initial={{ opacity: 0, y: 20 }}
99+
animate={{ opacity: 1, y: 0 }}
100+
transition={{ duration: 0.5, delay: 0.5 }}
101+
className="mt-4 flex flex-col items-center font-extralight text-[#AEAEAE] text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl"
102+
>
103+
<p>Introducing the system for modern software development.</p>
104+
<p>Organize issues, projects, and product roadmaps.</p>
105+
</motion.div>
105106

106107
<BlurFade inView delay={1} className=" mt-10 flex gap-x-2">
107108
<div className="border border-[#686464] h-10 md:h-12 w-fit bg-[#121212a6] flex items-center p-1 rounded-full shadow-2xl shadow-[#7b7a7f74]">

components/landing/navbar.tsx

Lines changed: 57 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import Image from "next/image";
44
import Link from "next/link";
5-
import appIcon from "@/public/assets/icons/appIconTwo.svg";
65
import { motion } from "framer-motion";
76
import { useEffect, useState } from "react";
87
import { useSession, signIn, signOut } from "@/utils/auth";
@@ -13,7 +12,7 @@ import {
1312
} from "../workflow/sidebar/bottom-options-tile";
1413
import { RAW_ICONS } from "@/lib/icons";
1514
import { customToast } from "@/lib/custom-toast";
16-
import classNames from "classnames";
15+
import SVGIcon from "@/lib/svg-icon";
1716

1817
const optionsArr: {
1918
title: string;
@@ -164,13 +163,13 @@ export default function Navbar() {
164163
<Link href="/">
165164
<Image
166165
className="w-8"
167-
src={appIcon}
166+
src="appIconTwo.svg"
168167
alt=""
169168
width={200}
170169
height={200}
171170
/>
172171
</Link>
173-
<div className="hidden md:flex gap-x-5 z-10">
172+
<div className="hidden md:flex gap-x-4 lg:gap-x-5 xl:gap-x-6 z-10">
174173
{navListArr.map((elem, key) => {
175174
return (
176175
<NavListElement
@@ -182,7 +181,19 @@ export default function Navbar() {
182181
);
183182
})}
184183
</div>
185-
<div className="hidden md:flex items-center md:relative ">
184+
<div className="hidden md:flex items-center md:relative gap-x-[5px]">
185+
<Link
186+
href={"https://github.com/kartikver15gr8/zenorizon"}
187+
target="_blank"
188+
className="border border-[#313032] flex items-center gap-x-1 h-9 px-2 rounded-lg bg-black text-[13px] lg:text-[14px] cursor-pointer hover:border-[#69696ec3] transition-all duration-200"
189+
>
190+
<SVGIcon
191+
className="flex w-3 lg:w-4"
192+
svgString={RAW_ICONS.GitHubIcon}
193+
/>
194+
<p>Star on GitHub</p>
195+
<SVGIcon className="flex w-3 lg:w-4" svgString={RAW_ICONS.Star} />
196+
</Link>
186197
{profileTabOpen && (
187198
<div
188199
className={`absolute top-13 -right-2 w-44 h-fit bg-[rgba(0,0,0,0.1)] backdrop-blur-lg border border-[#414141] rounded-xl shadow-lg p-1 transition-all duration-300 ${
@@ -210,7 +221,7 @@ export default function Navbar() {
210221
pathname !== "/signup" && (
211222
<Link
212223
href={"/signup"}
213-
className="border-2 flex items-center px-4 h-9 rounded-md text-black bg-white cursor-pointer border-[#625c5c] hover:bg-[#343638] hover:text-white transition-all duration-300"
224+
className="border-2 flex items-center px-4 h-9 rounded-lg text-black bg-white cursor-pointer border-[#313032] hover:bg-[#1e1e1f] hover:border-[1px] hover:text-white transition-all duration-300"
214225
>
215226
Sign in
216227
</Link>
@@ -247,41 +258,55 @@ export default function Navbar() {
247258
</div>
248259

249260
{/* Phone Screen Nav Hamburger Tab */}
250-
<button
251-
aria-label="Toggle menu"
252-
aria-expanded={profileTabOpen}
253-
onClick={() => {
254-
setIsOpen(!isOpen);
255-
}}
256-
className="md:hidden flex flex-col justify-center items-center w-9 h-9 focus:outline-none group border border-[#959292] rounded-lg bg-[#38373771] cursor-pointer"
257-
type="button"
258-
>
259-
<span
260-
className={`
261+
<div className="md:hidden flex gap-x-[5px]">
262+
<Link
263+
href={"https://github.com/kartikver15gr8/zenorizon"}
264+
target="_blank"
265+
className="border border-[#313032] flex items-center gap-x-1 h-9 px-2 rounded-lg bg-black text-[13px] lg:text-[14px] cursor-pointer"
266+
>
267+
<SVGIcon
268+
className="flex w-3 lg:w-4"
269+
svgString={RAW_ICONS.GitHubIcon}
270+
/>
271+
<p>Star on GitHub</p>
272+
<SVGIcon className="flex w-3 lg:w-4" svgString={RAW_ICONS.Star} />
273+
</Link>
274+
<button
275+
aria-label="Toggle menu"
276+
aria-expanded={profileTabOpen}
277+
onClick={() => {
278+
setIsOpen(!isOpen);
279+
}}
280+
className="flex flex-col justify-center items-center w-9 h-9 focus:outline-none group border border-[#313032] rounded-lg bg-[#38373771] cursor-pointer"
281+
type="button"
282+
>
283+
<span
284+
className={`
261285
block h-0.5 w-6 bg-[#959292] rounded transition-all duration-300
262286
${isOpen ? "rotate-45 translate-y-2" : ""}
263287
`}
264-
/>
265-
<span
266-
className={`
288+
/>
289+
<span
290+
className={`
267291
block h-0.5 w-6 bg-[#959292] rounded transition-all duration-300 my-1
268292
${isOpen ? "opacity-0" : ""}
269293
`}
270-
/>
271-
<span
272-
className={`
294+
/>
295+
<span
296+
className={`
273297
block h-0.5 w-6 bg-[#959292] rounded transition-all duration-300
274298
${isOpen ? "-rotate-45 -translate-y-2" : ""}
275299
`}
276-
/>
277-
</button>
300+
/>
301+
</button>
302+
</div>
278303
</div>
279304
</div>
280305

281306
{isOpen && (
282307
<div className="fixed mt-[70px] rounded px-4 w-full z-50">
283308
<motion.div
284-
className=" z-50 relative w-full border border-[#565555] bg-[#121212] shadow-lg rounded-lg"
309+
className=" z-50 relative w-full border border-[#313032] bg-[#121212] shadow-lg rounded-lg"
285310
initial="closed"
286311
animate={isOpen ? "open" : "closed"}
287312
variants={wrapperVariants}
@@ -302,7 +327,7 @@ export default function Navbar() {
302327
<motion.div variants={itemVariants}>
303328
{session?.user.email ? (
304329
<div
305-
className="h-16 flex items-center hover:bg-[#3e3d3d] transition-all duration-500 px-5 py-2 hover:rounded-md border-b border-[#565555]"
330+
className="h-16 flex items-center hover:bg-[#3d3d3e80] transition-all duration-500 px-5 py-2 hover:rounded-md "
306331
onClick={() => {
307332
handleSignout();
308333
setIsOpen(!isOpen);
@@ -313,7 +338,7 @@ export default function Navbar() {
313338
) : (
314339
<Link
315340
href={session?.user.email ? "" : "/signup"}
316-
className="h-16 flex items-center hover:bg-[#3e3d3d] transition-all duration-500 px-5 py-2 hover:rounded-md border-b border-[#565555]"
341+
className="h-16 flex items-center hover:bg-[#3d3d3e80] transition-all duration-500 px-5 py-2 hover:rounded-md "
317342
onClick={() => {
318343
setIsOpen(!isOpen);
319344
}}
@@ -344,14 +369,14 @@ const NavListElement = ({
344369
return onClickHandler ? (
345370
<p
346371
onClick={onClickHandler}
347-
className={`${className} px-2 rounded hover:text-[#a8a8a8] transition-all duration-300 cursor-pointer`}
372+
className={`${className} text-[14px] lg:text-[16px] rounded hover:text-[#a8a8a8] transition-all duration-300 cursor-pointer`}
348373
>
349374
{title}
350375
</p>
351376
) : (
352377
<Link
353378
href={redirectHref}
354-
className={`${className} px-2 rounded hover:text-[#a8a8a8] transition-all duration-300 cursor-pointer`}
379+
className={`${className} text-[14px] lg:text-[16px] rounded hover:text-[#a8a8a8] transition-all duration-300 cursor-pointer`}
355380
>
356381
{title}
357382
</Link>
@@ -374,7 +399,7 @@ const NavLink = ({
374399
<motion.div variants={itemVariants}>
375400
{onClickHandler ? (
376401
<div
377-
className="h-16 flex items-center hover:bg-[#3e3d3d] transition-all duration-500 px-5 py-2 hover:rounded-md border-b border-[#565555]"
402+
className="h-16 flex items-center hover:bg-[#3d3d3e80] transition-all duration-500 px-5 py-2 hover:rounded-md border-b border-[#313032]"
378403
onClick={() => {
379404
onClickHandler();
380405
setIsOpen(!isOpen);
@@ -385,7 +410,7 @@ const NavLink = ({
385410
) : (
386411
<Link
387412
href={href}
388-
className="h-16 flex items-center hover:bg-[#3e3d3d] transition-all duration-500 px-5 py-2 hover:rounded-md border-b border-[#565555]"
413+
className="h-16 flex items-center hover:bg-[#3d3d3e80] transition-all duration-500 px-5 py-2 hover:rounded-md border-b border-[#313032]"
389414
onClick={() => {
390415
setIsOpen(!isOpen);
391416
}}

components/landing/pricing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function Pricing() {
1010
return (
1111
<div
1212
id="pricing"
13-
className="px-4 sm:px-6 md:px-10 lg:px-20 xl:px-28 2xl:px-40 xl:pb-20"
13+
className="px-4 sm:px-6 md:px-10 lg:px-20 xl:px-28 2xl:px-40 xl:py-10"
1414
>
1515
<div>
1616
<p className="text-xl md:text-3xl lg:text-4xl xl:text-6xl font-medium pb-3">

components/workflow/sidebar/bottom-options-tile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export const LogoutBtn = () => {
133133
return (
134134
<div
135135
onClick={handleSignout}
136-
className="rounded-lg flex items-center h-9 px-2 gap-x-2 hover:bg-[#a52f0b28] transition-all duration-300 border border-[#421C13] hover:border-[#A5300B] cursor-pointer"
136+
className="rounded-lg flex items-center h-9 px-2 gap-x-2 hover:bg-[#a52f0b28] transition-all duration-300 border border-[#5a2418] bg-[#9c44302b] hover:border-[#A5300B] cursor-pointer"
137137
>
138138
<SVGIcon className="flex w-4" svgString={RAW_ICONS.Logout} />
139139
<p>Log out</p>

components/workflow/sidebar/workflow-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { RAW_ICONS } from "@/lib/icons";
33
import SVGIcon from "@/lib/svg-icon";
44
import Image from "next/image";
5-
import applogotwo from "@/public/assets/icons/appIconTwo.svg";
5+
import applogotwo from "@/public/appIconTwo.svg";
66
import OptionLabel from "./option-label";
77
import { BottomOptionsTile } from "./bottom-options-tile";
88
import { WorkflowTab } from "./workflow-tab";

components/workflow/sidebar/workflow-tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Image from "next/image";
22
import { RAW_ICONS } from "@/lib/icons";
33
import SVGIcon from "@/lib/svg-icon";
4-
import applogotwo from "@/public/assets/icons/appIconTwo.svg";
4+
import applogotwo from "@/public/appIconTwo.svg";
55
import Link from "next/link";
66

77
export const WorkflowTab = () => {

0 commit comments

Comments
 (0)