-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
771bb9a
commit 935fd0a
Showing
31 changed files
with
3,933 additions
and
1,830 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 |
---|---|---|
|
@@ -35,3 +35,4 @@ yarn-error.log* | |
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
firebaseAdmin.json |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { BookingForm } from "@/components/bookingForm"; | ||
import React from "react"; | ||
|
||
const Booking = () => { | ||
return ( | ||
<div> | ||
<BookingForm /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Booking; |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { Nav } from "@/components/nav"; | ||
import Sidebar from "@/components/sidebar"; | ||
import type { Metadata } from "next"; | ||
import { MantineProvider } from "@mantine/core"; | ||
import { Suspense } from "react"; | ||
import { SkeletonCard } from "@/components/loading"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Chat with Loca", | ||
description: "Instantly connect with Local Expert", | ||
}; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
}>) { | ||
return ( | ||
<html lang="en"> | ||
<body suppressHydrationWarning> | ||
<Suspense fallback={<SkeletonCard />}> | ||
<MantineProvider> | ||
<div className="flex h-[100vh]"> | ||
<div className="hidden lg:block "> | ||
<Sidebar /> | ||
</div> | ||
|
||
<div className="flex-1 bg-black overflow-hidden"> | ||
<Nav /> | ||
<div className="mt-8">{children}</div> | ||
</div> | ||
</div> | ||
</MantineProvider> | ||
</Suspense> | ||
</body> | ||
</html> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
export const faqs = [ | ||
{ | ||
emoji: "❓", | ||
question: "What is Loca?", | ||
answer: "Loca is a Localized Service Finder that helps you discover and book local services based on your needs. It uses natural language processing to provide relevant information quickly.", | ||
}, | ||
{ | ||
emoji: "🔍", | ||
question: "How do I search for a service?", | ||
answer: "Simply type your query in the search bar, and Loca will provide you with a list of available local services matching your criteria.", | ||
}, | ||
{ | ||
emoji: "📞", | ||
question: "Can I contact the service providers directly?", | ||
answer: "Yes, you can! Loca provides the contact number for each service provider, allowing you to call them directly for more information or to book a service.", | ||
}, | ||
{ | ||
emoji: "🖥️", | ||
question: "Can I visit the service provider's website?", | ||
answer: "Yes, Loca includes links to the service providers' websites, where available, so you can learn more about their offerings and services.", | ||
}, | ||
{ | ||
emoji: "📅", | ||
question: "Can I book a service through Loca?", | ||
answer: "Absolutely! Loca allows you to book services directly through the platform, making it easy and convenient to arrange appointments.", | ||
}, | ||
{ | ||
emoji: "🔄", | ||
question: "How frequently is the service information updated?", | ||
answer: "Loca updates service information regularly to ensure accuracy and relevance, providing you with the latest details available.", | ||
}, | ||
{ | ||
emoji: "🌐", | ||
question: "Is Loca available in multiple languages?", | ||
answer: "Currently, Loca primarily supports English, but we are working on adding more language options to serve a wider audience.", | ||
}, | ||
{ | ||
emoji: "🛠️", | ||
question: "What types of services can I find on Loca?", | ||
answer: "Loca offers a wide range of services, including healthcare, beauty, home maintenance, and more. Whatever you need, Loca can help you find it.", | ||
}, | ||
{ | ||
emoji: "💸", | ||
question: "Are there any costs associated with using Loca?", | ||
answer: "Loca is free to use for finding and booking services. However, the cost of the services themselves depends on the provider.", | ||
}, | ||
{ | ||
emoji: "📧", | ||
question: "How can I provide feedback or suggest improvements?", | ||
answer: "We welcome your feedback! You can contact us through our support page or email us directly with your suggestions and comments.", | ||
}, | ||
{ | ||
emoji: "👥", | ||
question: "Can businesses register their services on Loca?", | ||
answer: "Yes, businesses can register to offer their services on Loca. Please visit our 'For Business' section to learn more and get started.", | ||
}, | ||
{ | ||
emoji: "📈", | ||
question: "How does Loca prioritize the services shown?", | ||
answer: "Loca uses a combination of user ratings, relevance, and proximity to prioritize services, ensuring you get the best options available.", | ||
}, | ||
{ | ||
emoji: "🔐", | ||
question: "Is my data safe with Loca?", | ||
answer: "We take your privacy seriously. Loca uses advanced security measures to protect your data and ensure it is used only for service-related purposes.", | ||
}, | ||
{ | ||
emoji: "🚀", | ||
question: "How quickly can I expect to find and book a service?", | ||
answer: "Loca is designed for speed and convenience. You can typically find and book a service within minutes, depending on availability and your specific needs.", | ||
}, | ||
{ | ||
emoji: "🏆", | ||
question: "What makes Loca different from other service finders?", | ||
answer: "Loca stands out with its localized approach, natural language processing, and easy-to-use interface, making it simple to find and book the best local services.", | ||
}, | ||
]; |
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,19 +1,28 @@ | ||
"use client" | ||
import React, { useState } from 'react' | ||
|
||
"use client"; | ||
import Navbar from "@/components/navbar"; | ||
import React, { useState } from "react"; | ||
import { Accordion } from "@mantine/core"; | ||
import { faqs } from "./data"; | ||
const FAQ = () => { | ||
const [open, setOpen] = useState(false) | ||
const [open, setOpen] = useState(false); | ||
const items = faqs.map((item) => ( | ||
<Accordion.Item key={item.question} value={item.question} style={{backgroundColor: "#222327", color: "#e3e3e3", borderBottomStyle: "none", marginTop: "6px"}}> | ||
<Accordion.Control icon={item.emoji} style={{backgroundColor: "#222327", color: "#e3e3e3",padding: "5px" }}>{item.question}</Accordion.Control> | ||
<Accordion.Panel>{item.answer}</Accordion.Panel> | ||
</Accordion.Item> | ||
)); | ||
return ( | ||
<main> | ||
<div className=''> | ||
<h1>LOCA AI FAQ</h1> | ||
<div> | ||
<h2>What&s LOCA?</h2> | ||
|
||
<main className="min-h-screen h-screen overflow-hidden flex flex-col"> | ||
<div className="text-white flex-1 overflow-scroll p-2 lg:p-5 bg-[#131314]"> | ||
<Navbar /> | ||
<div className=" w-full max-w-6xl mx-auto h-screen max-h-96 mt-10 px-3"> | ||
<h1 className="text-center text-3xl text-[#e3e3e3]">What is Loca AI?</h1> | ||
<Accordion defaultValue="Apples" transitionDuration={1000}>{items}</Accordion> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default FAQ; | ||
|
||
export default FAQ |
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
Oops, something went wrong.