diff --git a/apps/web/package.json b/apps/web/package.json index c11d6d6e..b8b98f58 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,5 +1,6 @@ { - "name": "@opencanvas/web", + "name": "legalease-africa", + "description": "Localized subscription-based legal services for African startups and SMEs", "author": "Brace Sproul", "homepage": "https://opencanvas.langchain.com", "repository": "https://github.com/langchain-ai/open-canvas", diff --git a/apps/web/public/LegalEase_favicon.ico b/apps/web/public/LegalEase_favicon.ico new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/lc_logo.jpg b/apps/web/public/lc_logo.jpg deleted file mode 100644 index deda5068..00000000 Binary files a/apps/web/public/lc_logo.jpg and /dev/null differ diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index 16d270ee..eff66073 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -9,8 +9,8 @@ const inter = Inter({ }); export const metadata: Metadata = { - title: "Open Canvas", - description: "Open Canvas Chat UX by LangChain", + title: "LegalEase Africa – Smart Legal Support for Startups", + description: "Affordable legal services for African startups and SMEs. Templates, compliance tools, and local legal experts—on subscription.", }; export default function RootLayout({ diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index c4d2bc05..9f953fe4 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -1,24 +1,100 @@ "use client"; -import { Canvas } from "@/components/canvas"; -import { AssistantProvider } from "@/contexts/AssistantContext"; -import { GraphProvider } from "@/contexts/GraphContext"; -import { ThreadProvider } from "@/contexts/ThreadProvider"; -import { UserProvider } from "@/contexts/UserContext"; -import { Suspense } from "react"; +import { Button } from "@/components/ui/button"; // Assuming this path is correct export default function Home() { return ( - - - - - - - - - - - +
+ + +
+

LegalEase Africa

+

+ Affordable, localized legal help for startups and SMEs across Africa. +

+ +
+ +
{/* Placeholder background */} +
+

Key Features

+
{/* Changed text-center to text-left for card content */} +
+

Legal Document Templates

+

Access a library of lawyer-vetted legal documents tailored for African startups.

+
+
+

Compliance Checklists

+

Navigate regulatory requirements with country-specific compliance guides.

+
+
+

Monthly Legal Access

+

Get dedicated time with legal experts for advice and document review.

+
+
+

Real-Time Alerts

+

Stay updated on new laws and regulations affecting your business.

+
+
+

Legal Q&A by Country

+

Find answers to common legal questions for your specific jurisdiction.

+
+
+
+
+ +
+
+

Subscription Tiers

+
+
+

Basic Tier

+

Templates + Alerts

+ {/* */} +
+
+

Growth Tier

+

Consultations + Vetting

+ {/* */} +
+
+

Premium Tier

+

Concierge + Representation

+ {/* */} +
+
+
+
+ +
{/* Placeholder background */} +
+

Supported Countries

+
+
Kenya
+
Nigeria
+
South Africa
+
Uganda
+
Ghana
+
+
+
+ + +
); } diff --git a/apps/web/src/components/auth/login/Login.tsx b/apps/web/src/components/auth/login/Login.tsx index 1edb2239..374bfd7d 100644 --- a/apps/web/src/components/auth/login/Login.tsx +++ b/apps/web/src/components/auth/login/Login.tsx @@ -68,14 +68,7 @@ export function Login() {
- - Open Canvas + LegalEase Africa
diff --git a/apps/web/src/components/auth/signup/Signup.tsx b/apps/web/src/components/auth/signup/Signup.tsx index 608dbc7a..89fdccc4 100644 --- a/apps/web/src/components/auth/signup/Signup.tsx +++ b/apps/web/src/components/auth/signup/Signup.tsx @@ -68,14 +68,7 @@ export function Signup() {
- - Open Canvas + LegalEase Africa
diff --git a/apps/web/src/components/chat-interface/welcome.tsx b/apps/web/src/components/chat-interface/welcome.tsx index f4b2f316..7750a2d1 100644 --- a/apps/web/src/components/chat-interface/welcome.tsx +++ b/apps/web/src/components/chat-interface/welcome.tsx @@ -8,33 +8,29 @@ import { ProgrammingLanguagesDropdown } from "../ui/programming-lang-dropdown"; import { Button } from "../ui/button"; const QUICK_START_PROMPTS_SEARCH = [ - "Write a market analysis of AI chip manufacturers in 2025", - "Create a blog post about the latest climate change policies and their impact", - "Draft an investor update on renewable energy trends this quarter", - "Write a report on current cybersecurity threats in cloud computing", - "Analyze the latest developments in quantum computing for a tech newsletter", - "Create a summary of emerging medical breakthroughs in cancer treatment", - "Write about the impact of current interest rates on the housing market", - "Draft an article about breakthroughs in battery technology this year", - "Analyze current supply chain disruptions in semiconductor manufacturing", - "Write about how recent AI regulations affect business innovation", + "Recent updates to intellectual property law in Africa.", + "Compare business registration processes: Kenya vs. Nigeria.", + "Data privacy regulations for online businesses in Uganda.", + "Guidance on cross-border service agreements in East Africa.", + "Standard clauses for a SaaS (Software as a Service) agreement.", + "Legal requirements for foreign investment in Ghana.", + "Employee share option schemes for startups in South Africa.", + "Dispute resolution mechanisms for SMEs in Africa.", + "Key considerations for online content licensing.", + "Understanding tax obligations for digital services in Africa." ]; const QUICK_START_PROMPTS = [ - "Write a bedtime story about a brave little robot", - "Create a function to calculate Fibonacci numbers in TypeScript", - "Draft a resignation letter for a position I've had for 2 years", - "Build a simple weather dashboard using React and Tailwind", - "Write a poem about artificial intelligence", - "Create a basic Express.js REST API with two endpoints", - "Draft a congratulatory speech for my sister's graduation", - "Build a command-line calculator in Python", - "Write instructions for making perfect scrambled eggs", - "Create a simple snake game using HTML canvas", - "Write me a TODO app in React", - "Explain why the sky is blue in a short essay", - "Help me draft an email to my professor Craig", - "Write a web scraping program in Python", + "Draft a Non-Disclosure Agreement for a consultant.", + "What are the requirements for company registration in Kenya?", + "Generate a basic employment contract template for Nigeria.", + "Outline key terms for a website's Terms of Service.", + "Help me understand the process of trademark registration in South Africa.", + "Draft a simple loan agreement for a startup.", + "What are common legal pitfalls for new e-commerce businesses in Ghana?", + "Find a template for a Founder's Agreement.", + "Explain the difference between a shareholder and a director.", + "Draft a cease and desist letter for copyright infringement." ]; function getRandomPrompts(prompts: string[], count: number = 4): string[] { @@ -99,18 +95,18 @@ const QuickStartButtons = (props: QuickStartButtonsProps) => { return (
-
-

Start with a blank canvas

+
{/* Added items-center for the button */} +

Start a new legal document or query

- + {/* */}
@@ -139,11 +135,10 @@ export const ThreadWelcome: FC = (
- - LC + LegalEase Africa - What would you like to write today? + How can we help with your legal needs today?