-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved 'Header' & 'Main' component to layout
- Loading branch information
Showing
9 changed files
with
110 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,26 @@ | ||
"use client"; | ||
|
||
import Header from "@/app/components/header"; | ||
import Main from "@/app/components/ui/main-container"; | ||
|
||
export default function About() { | ||
|
||
return ( | ||
<Main> | ||
<Header /> | ||
<div className="rounded-xl shadow-xl p-4 mb-8 max-w-5xl w-full"> | ||
<div className="max-w-2xl mx-auto p-4"> | ||
<div className="bg-gradient-to-r from-blue-500 to-indigo-500 text-white p-8 rounded-lg shadow-lg"> | ||
<h1 className="text-2xl md:text-4xl font-bold mb-4">About Smart Retrieval</h1> | ||
<p className="text-l mb-4"> | ||
Welcome to Smart Retrieval, your go-to platform for efficient and streamlined information retrieval, | ||
especially in the realm of legal and compliance documents. | ||
</p> | ||
<p className="text-l mb-4"> | ||
Our mission is to enhance user experiences at JTC by addressing key challenges such as manual search | ||
inefficiencies and rigid file naming conventions. | ||
</p> | ||
<p className="text-l mb-4"> | ||
With cutting-edge technology, including Large Language Models (LLM) like GPT, BERT, and advanced chatbot | ||
integration, we aim to revolutionize the way JTC employees access and comprehend crucial documents. | ||
</p> | ||
</div> | ||
<div className="rounded-xl shadow-xl p-4 mb-8 max-w-5xl w-full"> | ||
<div className="max-w-2xl mx-auto p-4"> | ||
<div className="bg-gradient-to-r from-blue-500 to-indigo-500 text-white p-8 rounded-lg shadow-lg"> | ||
<h1 className="text-2xl md:text-4xl font-bold mb-4">About Smart Retrieval</h1> | ||
<p className="text-l mb-4"> | ||
Welcome to Smart Retrieval, your go-to platform for efficient and streamlined information retrieval, | ||
especially in the realm of legal and compliance documents. | ||
</p> | ||
<p className="text-l mb-4"> | ||
Our mission is to enhance user experiences at JTC by addressing key challenges such as manual search | ||
inefficiencies and rigid file naming conventions. | ||
</p> | ||
<p className="text-l mb-4"> | ||
With cutting-edge technology, including Large Language Models (LLM) like GPT, BERT, and advanced chatbot | ||
integration, we aim to revolutionize the way JTC employees access and comprehend crucial documents. | ||
</p> | ||
</div> | ||
</div> | ||
</Main> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
"use client"; | ||
|
||
import Header from "@/app/components/header"; | ||
import Main from "@/app/components/ui/main-container"; | ||
import ChatSection from "@/app/components/chat-section"; | ||
|
||
export default function Chat() { | ||
|
||
return ( | ||
<Main> | ||
<Header /> | ||
<ChatSection /> | ||
</Main> | ||
<ChatSection /> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,49 @@ | ||
"use client"; | ||
|
||
import Header from "@/app/components/header"; | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import { useState } from 'react' | ||
import { IconSpinner } from '@/app/components/ui/icons' | ||
import logo from '../public/smart-retrieval-logo.webp' | ||
import Main from "@/app/components/ui/main-container"; | ||
import { useState } from 'react'; | ||
import { IconSpinner } from '@/app/components/ui/icons'; | ||
import logo from '../public/smart-retrieval-logo.webp'; | ||
|
||
export default function Home() { | ||
const [isLoading, setIsLoading] = useState(false); | ||
|
||
return ( | ||
<Main> | ||
<Header /> | ||
<div className="rounded-xl shadow-xl p-4 mb-8 max-w-5xl w-full"> | ||
<div className="max-w-2xl mx-auto p-4 text-center"> | ||
<div className="flex flex-col items-center mb-4 bg-gradient-to-r from-blue-500 to-indigo-500 text-white p-8 rounded-lg shadow-lg"> | ||
<div className="flex flex-col md:flex-row items-center md:items-start"> | ||
<Image | ||
src={logo} | ||
alt="Smart Retrieval Logo" | ||
width={150} | ||
height={150} | ||
priority | ||
className="rounded-lg mb-4 md:mb-0 md:mr-4" | ||
/> | ||
<div className='flex flex-col mt-4'> | ||
<h1 className="text-4xl font-bold mb-2 md:text-5xl">Smart Retrieval</h1> | ||
<p className="text-lg md:text-xl text-gray-200"> | ||
Your intelligent solution for quick and accurate information retrieval. | ||
</p> | ||
</div> | ||
<div className="rounded-xl shadow-xl p-4 mb-8 max-w-5xl w-full"> | ||
<div className="max-w-2xl mx-auto p-4 text-center"> | ||
<div className="flex flex-col items-center mb-4 bg-gradient-to-r from-blue-500 to-indigo-500 text-white p-8 rounded-lg shadow-lg"> | ||
<div className="flex flex-col md:flex-row items-center md:items-start"> | ||
<Image | ||
src={logo} | ||
alt="Smart Retrieval Logo" | ||
width={150} | ||
height={150} | ||
priority | ||
className="rounded-lg mb-4 md:mb-0 md:mr-4" | ||
/> | ||
<div className='flex flex-col mt-4'> | ||
<h1 className="text-4xl font-bold mb-2 md:text-5xl">Smart Retrieval</h1> | ||
<p className="text-lg md:text-xl text-gray-200"> | ||
Your intelligent solution for quick and accurate information retrieval. | ||
</p> | ||
</div> | ||
</div> | ||
<div className="flex flex-col mt-8 text-center items-center max-w-full"> | ||
<p id='get-started-paragraph' className="text-xl text-gray-700 dark:text-gray-200 mb-4"> | ||
Experience the power of Smart Retrieval today! | ||
</p> | ||
<Link href="/chat" onClick={() => { setIsLoading(true); }}> | ||
<div className="flex text-center items-center text-xl bg-blue-500 text-white px-6 py-3 rounded-md font-bold transition duration-300 ease-in-out transform hover:scale-125"> | ||
{isLoading ? ( | ||
<IconSpinner className="mr-2 animate-spin" /> | ||
) : null} | ||
Get Started | ||
</div> | ||
</Link> | ||
</div> | ||
</div> | ||
<div className="flex flex-col mt-8 text-center items-center max-w-full"> | ||
<p id='get-started-paragraph' className="text-xl text-gray-700 dark:text-gray-200 mb-4"> | ||
Experience the power of Smart Retrieval today! | ||
</p> | ||
<Link href="/chat" onClick={() => { setIsLoading(true); }}> | ||
<div className="flex text-center items-center text-xl bg-blue-500 text-white px-6 py-3 rounded-md font-bold transition duration-300 ease-in-out transform hover:scale-125"> | ||
{isLoading ? ( | ||
<IconSpinner className="mr-2 animate-spin" /> | ||
) : null} | ||
Get Started | ||
</div> | ||
</Link> | ||
</div> | ||
</div> | ||
</Main> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
"use client"; | ||
|
||
import Header from "@/app/components/header"; | ||
import Main from "@/app/components/ui/main-container"; | ||
import QuerySection from "@/app/components/query-section"; | ||
|
||
export default function Query() { | ||
|
||
return ( | ||
<Main> | ||
<Header /> | ||
<QuerySection /> | ||
</Main> | ||
<QuerySection /> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
"use client"; | ||
|
||
import Header from "@/app/components/header"; | ||
import Main from "@/app/components/ui/main-container"; | ||
import SearchSection from "@/app/components/search-section"; | ||
|
||
export default function Search() { | ||
|
||
return ( | ||
<Main> | ||
<Header /> | ||
<SearchSection /> | ||
</Main> | ||
<SearchSection /> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters