From 37ea609f6b7c8ab5fca8c9e77663c3879b21bbc2 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Thu, 4 Apr 2024 16:53:44 +0200 Subject: [PATCH 01/11] Modify text-gradient shades --- app/globals.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index d306ba8..43e0a1b 100644 --- a/app/globals.css +++ b/app/globals.css @@ -87,8 +87,8 @@ background: linear-gradient( to right bottom, /* rgb(253, 197, 176) 45%, */ /* rgba(255, 175, 125, 0.515) */ - rgba(249, 150, 94, 0.9) 20%, - rgba(239, 92, 10, 0.9) 45% + rgba(249, 150, 94, 0.9) 25%, + rgba(239, 92, 10, 0.9) 65% ); background-clip: text; color: transparent; From 966a4305fcc8b92ac62b683e615b848c72cf0ce9 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Thu, 4 Apr 2024 16:53:44 +0200 Subject: [PATCH 02/11] Modify text-gradient shades --- app/globals.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index d306ba8..43e0a1b 100644 --- a/app/globals.css +++ b/app/globals.css @@ -87,8 +87,8 @@ background: linear-gradient( to right bottom, /* rgb(253, 197, 176) 45%, */ /* rgba(255, 175, 125, 0.515) */ - rgba(249, 150, 94, 0.9) 20%, - rgba(239, 92, 10, 0.9) 45% + rgba(249, 150, 94, 0.9) 25%, + rgba(239, 92, 10, 0.9) 65% ); background-clip: text; color: transparent; From de4fa6691ea364f0649798cb205258f8c6f10da8 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Thu, 4 Apr 2024 16:53:44 +0200 Subject: [PATCH 03/11] Modify text-gradient shades --- app/globals.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index d306ba8..43e0a1b 100644 --- a/app/globals.css +++ b/app/globals.css @@ -87,8 +87,8 @@ background: linear-gradient( to right bottom, /* rgb(253, 197, 176) 45%, */ /* rgba(255, 175, 125, 0.515) */ - rgba(249, 150, 94, 0.9) 20%, - rgba(239, 92, 10, 0.9) 45% + rgba(249, 150, 94, 0.9) 25%, + rgba(239, 92, 10, 0.9) 65% ); background-clip: text; color: transparent; From 175887d3a9533d1502e5607f77b540ca84786467 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Thu, 4 Apr 2024 23:03:57 +0200 Subject: [PATCH 04/11] Linting --- app/globals.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index 43e0a1b..0babc2c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -86,8 +86,7 @@ .text-gradient { background: linear-gradient( to right bottom, - /* rgb(253, 197, 176) 45%, */ /* rgba(255, 175, 125, 0.515) */ - rgba(249, 150, 94, 0.9) 25%, + rgba(249, 150, 94, 0.9) 25%, rgba(239, 92, 10, 0.9) 65% ); background-clip: text; From 23ebb582db935117491f39d8659822fdfed1ce9c Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Thu, 4 Apr 2024 23:13:33 +0200 Subject: [PATCH 05/11] Move link to About from Start to Sidebar due to mobile issues --- components/Sidebar.tsx | 15 ++++++++++++--- components/Start.tsx | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 45ffb81..b25766f 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -8,6 +8,7 @@ import { useEffect, useRef, useState } from "react"; import { cn } from "@/lib/utils"; import { useParams } from "next/navigation"; import { TrackedLink } from "./TrackedLink"; +import { ArrowRight } from "lucide-react"; const useClickOutside = () => { const node = useRef(); @@ -73,7 +74,7 @@ export const Sidebar = () => {

- + complexity @@ -115,7 +116,15 @@ export const Sidebar = () => { )}

diff --git a/components/Start.tsx b/components/Start.tsx index ecb39e1..36f807b 100644 --- a/components/Start.tsx +++ b/components/Start.tsx @@ -92,7 +92,7 @@ export const Start = () => { -
+ {/*
-
+
*/} ); }; From 87dd6004aefc8a80d5eb436f127e14aaa70ee3f6 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Thu, 4 Apr 2024 23:14:14 +0200 Subject: [PATCH 06/11] Linting + small font updates to make the title bolder --- app/about/page.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/about/page.tsx b/app/about/page.tsx index 51ba88c..eae1242 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -4,7 +4,7 @@ export default function About() { return (
-
+

@@ -15,15 +15,15 @@ export default function About() { The world's knowledge at your fingertips

-
-

About

-

- complexity is a search engine - that uses AI to answer questions. It is built on top of the Cohere AI - platform and is designed to provide a fast and efficient way to find - answers to your questions. +

+

About

+

+ complexity is a + search engine that uses AI to answer questions. It is built on top of + the Cohere AI platform and is designed to provide a fast and efficient + way to find answers to your questions.

-

Created by

+

Created by

}> -
+ From a4e1b4d2f735df90669290cc79172540c0cf31c6 Mon Sep 17 00:00:00 2001 From: Hamed Mohammadpour Date: Fri, 5 Apr 2024 16:22:04 +0200 Subject: [PATCH 10/11] Move ask a question up and hide it instead of making opacity 0 --- components/Sidebar.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 6735f13..02c0d03 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -87,6 +87,21 @@ export const Sidebar = () => {
Sessions
+
+ +
{sessions.length > 0 && (
{sessions.map(([item]) => ( @@ -113,21 +128,6 @@ export const Sidebar = () => { ))}
)} -
- -
From 7e7e8c4f1223ecfdba2121ece9bf918e07c66a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Ahlb=C3=A4ck?= Date: Sat, 6 Apr 2024 00:14:13 +0200 Subject: [PATCH 11/11] Update Sidebar.tsx --- components/Sidebar.tsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index f3d44f3..428ca31 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -87,21 +87,6 @@ export const Sidebar = () => {
Sessions
-
- -
{sessions.length > 0 && (
{sessions.map(([item]) => (