Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions app/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ export default function About() {
The world's knowledge at your fingertips
</p>

<div className="w-full max-w-xs pt-12 md:max-w-md md:pt-10 lg:max-w-xl">
<h2 className="text-2xl">About</h2>
<p className="mt-4 text-lg">
<span className="text-gradient">complexity</span> 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.
<div className="w-full max-w-xs pt-8 md:max-w-md md:pt-10 lg:max-w-xl">
<h2 className="text-2xl font-bold">About</h2>
<p className="mt-4 text-lg font-light">
<span className="text-gradient font-medium">complexity</span> 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.
</p>
<h3 className="mt-4 text-xl">Created by</h3>
<h3 className="mt-6 text-xl font-medium">Created by</h3>
<ul className="mt-4 list-inside list-disc marker:text-gray-400">
<li className="mt-2">
<a
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function RootLayout({
<ComplexityProvider>
<body className={ibm.className}>
<Suspense fallback={<div></div>}>
<div className="flex h-svh">
<div className="flex h-[calc(100vh-8px)]">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 100vh-8px?

<Sidebar />

{children}
Expand Down
2 changes: 1 addition & 1 deletion components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const Sidebar = () => {
<aside
ref={node}
className={cn(
"absolute z-10 flex h-screen w-64 flex-shrink-0 flex-grow-0 flex-col bg-[#202222] p-6 px-3 text-primary transition-all md:static",
"absolute z-10 flex h-screen w-64 flex-shrink-0 flex-grow-0 flex-col bg-[#202222] p-6 px-3 pb-2 text-primary transition-all md:static",
isOpen ? "translate-x-0" : "-translate-x-full",
"md:translate-x-0",
)}
Expand Down