Spaces:
Build error
Build error
Minor UI Updates
Browse files- frontend/app/about/page.tsx +1 -1
- frontend/app/page.tsx +5 -4
frontend/app/about/page.tsx
CHANGED
@@ -8,7 +8,7 @@ export default function About() {
|
|
8 |
return (
|
9 |
<Main>
|
10 |
<Header />
|
11 |
-
<div className="rounded-xl shadow-xl p-4 mb-8
|
12 |
<div className="max-w-2xl mx-auto p-4">
|
13 |
<div className="bg-gradient-to-r from-blue-500 to-indigo-500 text-white p-8 rounded-lg shadow-lg">
|
14 |
<h1 className="text-2xl md:text-4xl font-bold mb-4">About Smart Retrieval</h1>
|
|
|
8 |
return (
|
9 |
<Main>
|
10 |
<Header />
|
11 |
+
<div className="rounded-xl shadow-xl p-4 mb-8 max-w-5xl w-full">
|
12 |
<div className="max-w-2xl mx-auto p-4">
|
13 |
<div className="bg-gradient-to-r from-blue-500 to-indigo-500 text-white p-8 rounded-lg shadow-lg">
|
14 |
<h1 className="text-2xl md:text-4xl font-bold mb-4">About Smart Retrieval</h1>
|
frontend/app/page.tsx
CHANGED
@@ -3,18 +3,18 @@
|
|
3 |
import Header from "@/app/components/header";
|
4 |
import Image from 'next/image';
|
5 |
import Link from 'next/link';
|
6 |
-
import
|
7 |
import { IconSpinner } from '@/app/components/ui/icons'
|
8 |
import logo from '../public/smart-retrieval-logo.webp'
|
9 |
import Main from "@/app/components/ui/main-container";
|
10 |
|
11 |
export default function Home() {
|
12 |
-
const [isLoading, setIsLoading] =
|
13 |
|
14 |
return (
|
15 |
<Main>
|
16 |
<Header />
|
17 |
-
<div className="rounded-xl shadow-xl p-4 mb-8
|
18 |
<div className="max-w-2xl mx-auto p-4 text-center">
|
19 |
<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">
|
20 |
<div className="flex flex-col md:flex-row items-center md:items-start">
|
@@ -23,6 +23,7 @@ export default function Home() {
|
|
23 |
alt="Smart Retrieval Logo"
|
24 |
width={150}
|
25 |
height={150}
|
|
|
26 |
className="rounded-lg mb-4 md:mb-0 md:mr-4"
|
27 |
/>
|
28 |
<div className='flex flex-col mt-4'>
|
@@ -38,7 +39,7 @@ export default function Home() {
|
|
38 |
Experience the power of Smart Retrieval today!
|
39 |
</p>
|
40 |
<Link href="/chat" onClick={() => { setIsLoading(true); }}>
|
41 |
-
<div className="flex text-center items-center text-xl bg-blue-500 text-white px-6 py-3 rounded-
|
42 |
{isLoading ? (
|
43 |
<IconSpinner className="mr-2 animate-spin" />
|
44 |
) : null}
|
|
|
3 |
import Header from "@/app/components/header";
|
4 |
import Image from 'next/image';
|
5 |
import Link from 'next/link';
|
6 |
+
import { useState } from 'react'
|
7 |
import { IconSpinner } from '@/app/components/ui/icons'
|
8 |
import logo from '../public/smart-retrieval-logo.webp'
|
9 |
import Main from "@/app/components/ui/main-container";
|
10 |
|
11 |
export default function Home() {
|
12 |
+
const [isLoading, setIsLoading] = useState(false);
|
13 |
|
14 |
return (
|
15 |
<Main>
|
16 |
<Header />
|
17 |
+
<div className="rounded-xl shadow-xl p-4 mb-8 max-w-5xl w-full">
|
18 |
<div className="max-w-2xl mx-auto p-4 text-center">
|
19 |
<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">
|
20 |
<div className="flex flex-col md:flex-row items-center md:items-start">
|
|
|
23 |
alt="Smart Retrieval Logo"
|
24 |
width={150}
|
25 |
height={150}
|
26 |
+
priority
|
27 |
className="rounded-lg mb-4 md:mb-0 md:mr-4"
|
28 |
/>
|
29 |
<div className='flex flex-col mt-4'>
|
|
|
39 |
Experience the power of Smart Retrieval today!
|
40 |
</p>
|
41 |
<Link href="/chat" onClick={() => { setIsLoading(true); }}>
|
42 |
+
<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">
|
43 |
{isLoading ? (
|
44 |
<IconSpinner className="mr-2 animate-spin" />
|
45 |
) : null}
|