feat(ui): enhance chat example prompts and improve layout

- Added a new backend URL import to the route file for better configuration.
- Updated the Composer component to use a relative positioning class for improved layout.
- Refactored the ChatExamplePrompts component to enhance the display of active categories and prompts, including a close button for better user interaction.
This commit is contained in:
Anish Sarkar 2026-06-09 12:09:49 +05:30
parent 1c3f4cc6ac
commit 32812b5f66
3 changed files with 36 additions and 21 deletions

View file

@ -1,6 +1,7 @@
import { mustGetQuery } from "@rocicorp/zero";
import { handleQueryRequest } from "@rocicorp/zero/server";
import { NextResponse } from "next/server";
import { BACKEND_URL } from "@/lib/env-config";
import type { Context } from "@/types/zero";
import { queries } from "@/zero/queries";
import { schema } from "@/zero/schema";